Package net.minecraft.world
Class Region
java.lang.Object
net.minecraft.world.Region
- All Implemented Interfaces:
IBlockReader,ICollisionReader
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos p_175625_1_) getBlockState(BlockPos p_180495_1_) private IChunkgetChunk(int p_226702_1_, int p_226702_2_) private IChunkgetChunkForCollisions(int p_225522_1_, int p_225522_2_) getCollisions(Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) getEntityCollisions(Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) getFluidState(BlockPos p_204610_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.IBlockReader
clip, clipWithInteractionOverride, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxBuildHeight, getMaxLightLevelMethods inherited from interface net.minecraft.world.ICollisionReader
getBlockCollisions, getBlockCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollision, noCollision
-
Field Details
-
centerX
protected final int centerX -
centerZ
protected final int centerZ -
chunks
-
allEmpty
protected boolean allEmpty -
level
-
-
Constructor Details
-
Region
-
-
Method Details
-
getChunk
-
getChunk
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceICollisionReader
-
getChunkForCollisions
- Specified by:
getChunkForCollisionsin interfaceICollisionReader
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceIBlockReader
-
getBlockState
- Specified by:
getBlockStatein interfaceIBlockReader
-
getEntityCollisions
public Stream<VoxelShape> getEntityCollisions(@Nullable Entity p_230318_1_, AxisAlignedBB p_230318_2_, Predicate<Entity> p_230318_3_) - Specified by:
getEntityCollisionsin interfaceICollisionReader
-
getCollisions
public Stream<VoxelShape> getCollisions(@Nullable Entity p_234867_1_, AxisAlignedBB p_234867_2_, Predicate<Entity> p_234867_3_) - Specified by:
getCollisionsin interfaceICollisionReader
-
getFluidState
- Specified by:
getFluidStatein interfaceIBlockReader
-