public interface IStripesHandlerItem
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. |
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)
ItemStack
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)
world
- pos
- direction
- stack
- The ItemStack
being usedplayer
- activator
-