Guest User

Untitled

a guest
Jun 20th, 2016
68
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import net.minecraft.block.BlockTrapDoor;
  2. import net.minecraft.block.material.Material;
  3. import net.minecraft.util.IIcon;
  4. import net.minecraft.world.IBlockAccess;
  5.  
  6. public class Trap extends BlockTrapDoor {
  7.  
  8. public Trap(Material material) {
  9. super(material);
  10. // TODO Auto-generated constructor stub
  11. }
  12. public IIcon getIcon(IBlockAccess world,int x, int y, int z, int side)
  13. {
  14. return world.getBlock(x - 1, y, z).getIcon(world, x - 1, y, z, side);
  15.  
  16. }
  17.  
  18. }
RAW Paste Data