mirror of
https://github.com/HbmMods/Hbm-s-Nuclear-Tech-GIT.git
synced 2026-01-25 10:32:49 +00:00
yeag
This commit is contained in:
parent
71cdc4c788
commit
5fd71bdca4
@ -28,8 +28,5 @@ public class FoundrySlagtap extends FoundryOutlet {
|
||||
public TileEntity createNewTileEntity(World world, int meta) {
|
||||
return new TileEntityFoundrySlagtap();
|
||||
}
|
||||
|
||||
@Override public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer player, int side, float hitX, float hitY, float hitZ) { return false; }
|
||||
@Override public boolean onScrew(World world, EntityPlayer player, int x, int y, int z, int side, float fX, float fY, float fZ, ToolType tool) { return false; }
|
||||
@Override public void printHook(Pre event, World world, int x, int y, int z) { }
|
||||
|
||||
}
|
||||
|
||||
@ -17,10 +17,13 @@ import net.minecraft.util.Vec3;
|
||||
import net.minecraft.world.World;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
|
||||
public class TileEntityFoundrySlagtap extends TileEntity implements ICrucibleAcceptor {
|
||||
public class TileEntityFoundrySlagtap extends TileEntityFoundryOutlet implements ICrucibleAcceptor {
|
||||
|
||||
@Override
|
||||
public boolean canAcceptPartialFlow(World world, int x, int y, int z, ForgeDirection side, MaterialStack stack) {
|
||||
if(filter != null && (filter != stack.material ^ invertFilter)) return false;
|
||||
if(isClosed()) return false;
|
||||
if(side != ForgeDirection.getOrientation(this.getBlockMetadata()).getOpposite()) return false;
|
||||
|
||||
Vec3 start = Vec3.createVectorHelper(x + 0.5, y - 0.125, z + 0.5);
|
||||
Vec3 end = Vec3.createVectorHelper(x + 0.5, y + 0.125 - 15, z + 0.5);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user