Guest User

Untitled

a guest
May 3rd, 2015
276
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.52 KB | None | 0 0
  1. package net.nukacraft.src;
  2.  
  3. import net.minecraft.entity.player.EntityPlayer;
  4. import net.minecraft.item.ItemStack;
  5.  
  6. public class ActionPrimaryKey2 {
  7.  
  8. public static void actionButton_leftClient(EntityPlayer player, boolean buttonstate) {
  9. ItemStack current = player.getCurrentEquippedItem();
  10. if (current != null && current.getItem() instanceof IActionPrimaryKey2)
  11. ((IActionPrimaryKey2)current.getItem()).onButton_leftClient(current, player.worldObj, player, buttonstate);
  12. }
  13.  
  14. }
Advertisement
Add Comment
Please, Sign In to add comment