public interface IHiveGen
| Modifier and Type | Method and Description |
|---|---|
boolean |
canReplace(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
returns true if the hive can safely replace the block at this location.
|
net.minecraft.util.math.BlockPos |
getPosForHive(net.minecraft.world.World world,
int x,
int z)
return a position that the hive should try to generate at.
|
boolean |
isValidLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
returns true if the hive can be generated at this location.
|
@Nullable
net.minecraft.util.math.BlockPos getPosForHive(net.minecraft.world.World world,
int x,
int z)
boolean isValidLocation(net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)
boolean canReplace(net.minecraft.block.state.IBlockState blockState,
net.minecraft.world.World world,
net.minecraft.util.math.BlockPos pos)