public static class TurtleBlockEvent.Place extends TurtleBlockEvent
TurtleAction.PLACETurtleBlockEvent.Dig, TurtleBlockEvent.Inspect, TurtleBlockEvent.Move, TurtleBlockEvent.Place| Constructor and Description |
|---|
Place(ITurtleAccess turtle,
net.minecraftforge.common.util.FakePlayer player,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos,
net.minecraft.item.ItemStack stack) |
| Modifier and Type | Method and Description |
|---|---|
net.minecraft.item.ItemStack |
getStack()
Get the item stack that will be placed.
|
getPos, getWorldgetPlayergetAction, getFailureMessage, setCanceled, setCanceledgetTurtlepublic Place(@Nonnull
ITurtleAccess turtle,
@Nonnull
net.minecraftforge.common.util.FakePlayer player,
@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.util.math.BlockPos pos,
@Nonnull
net.minecraft.item.ItemStack stack)