Advertisement
Guest User

like

a guest
Aug 1st, 2016
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @Override
  2. public ActionResult<ItemStack> onItemRightClick(ItemStack itemStackIn, World worldIn, EntityPlayer playerIn, EnumHand hand)
  3. {
  4. worldIn.playSound(playerIn, null, testmod.phoneNoise, SoundCategory.RECORDS, 20.0f, 20.0f);
  5. return new ActionResult(EnumActionResult.PASS, itemStackIn);
  6. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement