public class StripesHandlerPipeWires extends java.lang.Object implements IStripesHandlerItem
| Constructor and Description |
|---|
StripesHandlerPipeWires() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handle(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator)
Called to handle the given
ItemStack within the world. |
public boolean handle(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.util.EnumFacing direction,
net.minecraft.item.ItemStack stack,
net.minecraft.entity.player.EntityPlayer player,
IStripesActivator activator)
IStripesHandlerItemItemStack within the world. Note that the player's inventory will be empty,
except that the target stack will be set into its EnumHand.MAIN_HAND. Any items left in the players
inventory will be returned back through the activator with
IStripesActivator.sendItem(ItemStack, EnumFacing)handle in interface IStripesHandlerItemstack - The ItemStack being used