Class PathNavigationRegion
java.lang.Object
net.minecraft.world.level.PathNavigationRegion
- All Implemented Interfaces:
BlockGetter, CollisionGetter, LevelHeightAccessor, IBlockGetterExtension
-
Nested Class Summary
Nested classes/interfaces inherited from interface BlockGetter
BlockGetter.BlockStepVisitor -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@Nullable BlockEntitygetBlockEntity(BlockPos pos) getBlockState(BlockPos pos) private ChunkAccessgetChunk(int chunkX, int chunkZ) private ChunkAccessgetChunkForCollisions(int chunkX, int chunkZ) getEntityCollisions(@Nullable Entity source, AABB testArea) getFluidState(BlockPos pos) intintgetMinY()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, isBlockInLineMethods inherited from interface CollisionGetter
clipIncludingBorder, collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockAndLiquidCollisions, getBlockCollisions, getCollisions, getPreMoveCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noBlockCollision, noBorderCollision, noCollision, noCollision, noCollision, noCollision, noEntityCollisionMethods inherited from interface IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelDataMethods inherited from interface LevelHeightAccessor
getMaxSectionY, getMaxY, getMinSectionY, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isInsideBuildHeight, isOutsideBuildHeight, isOutsideBuildHeight
-
Field Details
-
centerX
protected final int centerX -
centerZ
protected final int centerZ -
chunks
-
allEmpty
protected boolean allEmpty -
level
-
plains
-
-
Constructor Details
-
PathNavigationRegion
-
-
Method Details
-
getChunk
-
getChunk
-
getWorldBorder
- Specified by:
getWorldBorderin interfaceCollisionGetter
-
getChunkForCollisions
- Specified by:
getChunkForCollisionsin interfaceCollisionGetter
-
getEntityCollisions
- Specified by:
getEntityCollisionsin interfaceCollisionGetter
-
getBlockEntity
- Specified by:
getBlockEntityin interfaceBlockGetter
-
getBlockState
- Specified by:
getBlockStatein interfaceBlockGetter
-
getFluidState
- Specified by:
getFluidStatein interfaceBlockGetter
-
getMinY
public int getMinY()- Specified by:
getMinYin interfaceLevelHeightAccessor
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceLevelHeightAccessor
-