mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-20 04:09:40 +00:00
Redstone connection rules for Drawbridge
This commit is contained in:
1 parent
ef40140d2f
commit
1ec866f98d
2 files changed
+21
-7
No files matched your search
@@ -12,6 +12,7 @@ import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.nbt.NBTTagCompound;
|
||||
import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.Direction;
|
||||
import net.minecraft.util.Icon;
|
||||
import net.minecraft.world.IBlockAccess;
|
||||
import net.minecraft.world.World;
|
||||
@@ -238,12 +239,6 @@ public class RedstoneMachine extends InventoryBlock
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canConnectRedstone (IBlockAccess world, int x, int y, int z, int side)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
/* Keep inventory */
|
||||
@Override
|
||||
@@ -338,4 +333,11 @@ public class RedstoneMachine extends InventoryBlock
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* Redstone connections */
|
||||
|
||||
public boolean canConnectRedstone (IBlockAccess world, int x, int y, int z, int side)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user