Package net.minecraft.world.level
Class PathNavigationRegion
java.lang.Object
net.minecraft.world.level.PathNavigationRegion
- All Implemented Interfaces:
BlockGetter,CollisionGetter,LevelHeightAccessor,IBlockGetterExtension
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos pos) getBlockState(BlockPos pos) private ChunkAccessgetChunk(int x, int z) private ChunkAccessgetChunkForCollisions(int chunkX, int chunkZ) getEntityCollisions(Entity entity, AABB collisionBox) getFluidState(BlockPos pos) intintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.minecraft.world.level.CollisionGetter
collidesWithSuffocatingBlock, findFreePosition, findSupportingBlock, getBlockCollisions, getCollisions, isUnobstructed, isUnobstructed, isUnobstructed, noBlockCollision, noCollision, noCollision, noCollisionMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtension
getAuxLightManager, getAuxLightManager, getModelDataMethods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getMaxBuildHeight, getMaxSection, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, 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
-
getMinBuildHeight
public int getMinBuildHeight()- Specified by:
getMinBuildHeightin interfaceLevelHeightAccessor
-
getHeight
public int getHeight()- Specified by:
getHeightin interfaceLevelHeightAccessor
-
getProfiler
-