Interface IWorld
public interface IWorld
-
Method Summary
Modifier and TypeMethodDescriptionbooleanblocksMovement(net.minecraft.core.BlockPos pos) booleancanBreak(net.minecraft.core.BlockPos pos) booleancanMine(net.minecraft.core.BlockPos pos) booleancanPlaceAt(net.minecraft.core.BlockPos pos) net.minecraft.core.BlockPosfindDoubleHole(net.minecraft.core.BlockPos pos) net.minecraft.core.BlockPosfindSafeDoubleHole(net.minecraft.core.BlockPos pos) net.minecraft.core.BlockPosfindUnsafeDoubleHole(net.minecraft.core.BlockPos pos) net.minecraft.world.phys.Vec3findVisiblePointOnBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.phys.Vec3 eyePos) doublegetBlastResistance(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.BlockgetBlock(net.minecraft.core.BlockPos pos) Iterable<net.minecraft.world.level.block.entity.BlockEntity> net.minecraft.world.level.block.entity.BlockEntitygetBlockEntity(net.minecraft.core.BlockPos pos) net.minecraft.world.level.block.state.BlockStategetBlockState(net.minecraft.core.BlockPos pos) floatgetHardness(net.minecraft.core.BlockPos pos) intbooleanhasBlockEntity(net.minecraft.core.BlockPos pos) booleanisAir(net.minecraft.core.BlockPos pos) booleanisBeingMined(net.minecraft.core.BlockPos pos, boolean predicted) booleanisClear(net.minecraft.core.BlockPos pos, int height) booleanisHole(net.minecraft.core.BlockPos pos, boolean doubles) booleanisInRenderDistance(net.minecraft.core.BlockPos pos) booleanisInWorldBounds(net.minecraft.core.BlockPos pos) booleanisRegionLoaded(net.minecraft.core.BlockPos pos) booleanisReplaceable(net.minecraft.core.BlockPos pos) booleanisSafeHole(net.minecraft.core.BlockPos pos, boolean doubles) booleanisSolidBlock(net.minecraft.core.BlockPos pos) booleanisUnbreakable(net.minecraft.core.BlockPos pos) booleanisUnsafeHole(net.minecraft.core.BlockPos pos, boolean doubles) booleanisValidPlacement(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block)
-
Method Details
-
isHole
boolean isHole(net.minecraft.core.BlockPos pos, boolean doubles) -
isSafeHole
boolean isSafeHole(net.minecraft.core.BlockPos pos, boolean doubles) -
isUnsafeHole
boolean isUnsafeHole(net.minecraft.core.BlockPos pos, boolean doubles) -
findDoubleHole
net.minecraft.core.BlockPos findDoubleHole(net.minecraft.core.BlockPos pos) -
findSafeDoubleHole
net.minecraft.core.BlockPos findSafeDoubleHole(net.minecraft.core.BlockPos pos) -
findUnsafeDoubleHole
net.minecraft.core.BlockPos findUnsafeDoubleHole(net.minecraft.core.BlockPos pos) -
isAir
boolean isAir(net.minecraft.core.BlockPos pos) -
isClear
boolean isClear(net.minecraft.core.BlockPos pos, int height) -
isReplaceable
boolean isReplaceable(net.minecraft.core.BlockPos pos) -
blocksMovement
boolean blocksMovement(net.minecraft.core.BlockPos pos) -
isSolidBlock
boolean isSolidBlock(net.minecraft.core.BlockPos pos) -
getBlockState
net.minecraft.world.level.block.state.BlockState getBlockState(net.minecraft.core.BlockPos pos) -
getBlock
net.minecraft.world.level.block.Block getBlock(net.minecraft.core.BlockPos pos) -
getBlastResistance
double getBlastResistance(net.minecraft.core.BlockPos pos) -
isUnbreakable
boolean isUnbreakable(net.minecraft.core.BlockPos pos) -
canBreak
boolean canBreak(net.minecraft.core.BlockPos pos) -
canPlaceAt
boolean canPlaceAt(net.minecraft.core.BlockPos pos) -
isValidPlacement
boolean isValidPlacement(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.Block block) -
isInWorldBounds
boolean isInWorldBounds(net.minecraft.core.BlockPos pos) -
isRegionLoaded
boolean isRegionLoaded(net.minecraft.core.BlockPos pos) -
getRenderDistance
int getRenderDistance() -
isInRenderDistance
boolean isInRenderDistance(net.minecraft.core.BlockPos pos) -
canMine
boolean canMine(net.minecraft.core.BlockPos pos) -
getHardness
float getHardness(net.minecraft.core.BlockPos pos) -
isBeingMined
boolean isBeingMined(net.minecraft.core.BlockPos pos, boolean predicted) -
hasBlockEntity
boolean hasBlockEntity(net.minecraft.core.BlockPos pos) -
getBlockEntity
net.minecraft.world.level.block.entity.BlockEntity getBlockEntity(net.minecraft.core.BlockPos pos) -
getBlockEntities
Iterable<net.minecraft.world.level.block.entity.BlockEntity> getBlockEntities() -
findVisiblePointOnBlock
net.minecraft.world.phys.Vec3 findVisiblePointOnBlock(net.minecraft.core.BlockPos pos, net.minecraft.world.phys.Vec3 eyePos)
-