public static class TurtleInventoryEvent.Drop extends TurtleInventoryEvent
TurtleAction.DROPTurtleInventoryEvent.Drop, TurtleInventoryEvent.SuckTurtleBlockEvent.Dig, TurtleBlockEvent.Inspect, TurtleBlockEvent.Move, TurtleBlockEvent.Place| Constructor and Description |
|---|
Drop(ITurtleAccess turtle,
net.minecraftforge.common.util.FakePlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraftforge.items.IItemHandler handler,
net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getStack()
The item which will be inserted into the inventory/dropped on the ground.
|
getItemHandlergetPos, getWorldgetPlayergetAction, getFailureMessage, setCanceled, setCanceledgetTurtlepublic Drop(@Nonnull
ITurtleAccess turtle,
@Nonnull
net.minecraftforge.common.util.FakePlayer player,
@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.util.math.BlockPos pos,
@Nullable
net.minecraftforge.items.IItemHandler handler,
@Nonnull
net.minecraft.item.ItemStack stack)