Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import net.minecraft.block.BlockTrapDoor;
- import net.minecraft.block.material.Material;
- import net.minecraft.util.IIcon;
- import net.minecraft.world.IBlockAccess;
- public class Trap extends BlockTrapDoor {
- public Trap(Material material) {
- super(material);
- // TODO Auto-generated constructor stub
- }
- public IIcon getIcon(IBlockAccess world,int x, int y, int z, int side)
- {
- return world.getBlock(x - 1, y, z).getIcon(world, x - 1, y, z, side);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement