Advertisement
Guest User

Untitled

a guest
Nov 2nd, 2016
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. @Override
  2. public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand)
  3. {
  4. FMLNetworkHandler.openGui(playerIn, YugiohMod.instance, GuiHandler.DECK_GUI, worldIn, playerIn.getPosition().getX(), playerIn.getPosition().getY(), playerIn.getPosition().getZ());
  5. return new ActionResult(EnumActionResult.SUCCESS, itemStackIn);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement