public interface ITurtlePermissionProvider
| Modifier and Type | Method and Description |
|---|---|
boolean |
isBlockEditable(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Determine whether a block can be modified by a turtle.
|
boolean |
isBlockEnterable(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
Determine whether a block can be entered by a turtle.
|
boolean isBlockEnterable(@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.util.math.BlockPos pos)
world - The world the block exists inpos - The location of the block.boolean isBlockEditable(@Nonnull
net.minecraft.world.World world,
@Nonnull
net.minecraft.util.math.BlockPos pos)
world - The world the block exists inpos - The location of the block.