Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @Override
- public ActionResult<ItemStack> onItemRightClick(World worldIn, EntityPlayer playerIn, EnumHand handIn)
- {
- if(playerIn.onSneak)
- {
- playerIn.addChatMessage("bonjour " + playerIn.getName());
- }
- return new ActionResult(EnumActionResult.PASS, playerIn.getHeldItem(handIn));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement