Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public boolean onBlockActivated(World world, int x, int y, int z, EntityPlayer entityPlayer, int side, float hitX, float hitY, float hitZ)
- {
- if (entityPlayer.getCurrentEquippedItem() == new ItemStack(Pyromancy.blaziumLampSlab))
- {
- world.setBlock(x,y,z, Pyromancy.blaziumLamp);
- }
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement