Advertisement
Guest User

Untitled

a guest
Feb 17th, 2016
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.36 KB | None | 0 0
  1. @Override
  2.     public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer entityPlayer, int side, float hitX, float hitY, float hitZ)
  3.     {
  4.         if (entityPlayer.getCurrentEquippedItem() == new ItemStack(Pyromancy.blaziumLampSlab))
  5.         {
  6.             world.setBlock(x,y,z, Pyromancy.blaziumLamp);
  7.         }
  8.         return true;
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement