Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public boolean onBlockActivated(World worldIn, BlockPos pos, IBlockState state, EntityPlayer playerIn, EnumHand hand, @Nullable ItemStack heldItem, EnumFacing side, float hitX, float hitY, float hitZ) {
- if(worldIn.isRemote)
- return true;
- playerIn.openGui(ElementalMeeps.instance,0, worldIn, pos.getX(), pos.getY(), pos.getZ());
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement