public final class WorldUtils
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static net.minecraft.block.entity.BlockEntity |
getBlockEntityThreadsafe(net.minecraft.world.BlockView world,
net.minecraft.util.math.BlockPos pos) |
static boolean |
isBlockLoaded(net.minecraft.world.WorldAccess iWorld,
net.minecraft.util.math.BlockPos pos)
Check whether a block is within a loaded chunk.
|
@Nullable
public static net.minecraft.block.entity.BlockEntity getBlockEntityThreadsafe(net.minecraft.world.BlockView world,
net.minecraft.util.math.BlockPos pos)
public static boolean isBlockLoaded(net.minecraft.world.WorldAccess iWorld,
net.minecraft.util.math.BlockPos pos)
iWorld - the world to check in.pos - the block position to check at.