Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package net.nukacraft.src;
- import net.minecraft.entity.player.EntityPlayer;
- import net.minecraft.item.ItemStack;
- public class ActionPrimaryKey2 {
- public static void actionButton_leftClient(EntityPlayer player, boolean buttonstate) {
- ItemStack current = player.getCurrentEquippedItem();
- if (current != null && current.getItem() instanceof IActionPrimaryKey2)
- ((IActionPrimaryKey2)current.getItem()).onButton_leftClient(current, player.worldObj, player, buttonstate);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment