Package net.minecraft.world.level
Class PathNavigationRegion
java.lang.Object
net.minecraft.world.level.PathNavigationRegion
- All Implemented Interfaces:
BlockGetter
,CollisionGetter
,LevelHeightAccessor
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetBlockEntity(BlockPos p_47180_)
getBlockState(BlockPos p_47188_)
private ChunkAccess
getChunk(int p_47168_, int p_47169_)
private ChunkAccess
getChunkForCollisions(int p_47173_, int p_47174_)
getCollisions(Entity p_47182_, AABB p_47183_, Predicate<Entity> p_47184_)
getEntityCollisions(Entity p_47176_, AABB p_47177_, Predicate<Entity> p_47178_)
getFluidState(BlockPos p_47171_)
int
int
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockStates, getLightEmission, getMaxLightLevel, isBlockInLine
Methods inherited from interface net.minecraft.world.level.CollisionGetter
findFreePosition, getBlockCollisions, getBlockCollisions, hasBlockCollision, isUnobstructed, isUnobstructed, isUnobstructed, noCollision, noCollision, noCollision, noCollision
Methods 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
-
-
Constructor Details
-
PathNavigationRegion
-
-
Method Details
-
getChunk
-
getChunk
-
getWorldBorder
- Specified by:
getWorldBorder
in interfaceCollisionGetter
-
getChunkForCollisions
- Specified by:
getChunkForCollisions
in interfaceCollisionGetter
-
getBlockEntity
- Specified by:
getBlockEntity
in interfaceBlockGetter
-
getBlockState
- Specified by:
getBlockState
in interfaceBlockGetter
-
getEntityCollisions
public Stream<VoxelShape> getEntityCollisions(@Nullable Entity p_47176_, AABB p_47177_, Predicate<Entity> p_47178_)- Specified by:
getEntityCollisions
in interfaceCollisionGetter
-
getCollisions
public Stream<VoxelShape> getCollisions(@Nullable Entity p_47182_, AABB p_47183_, Predicate<Entity> p_47184_)- Specified by:
getCollisions
in interfaceCollisionGetter
-
getFluidState
- Specified by:
getFluidState
in interfaceBlockGetter
-
getMinBuildHeight
public int getMinBuildHeight()- Specified by:
getMinBuildHeight
in interfaceLevelHeightAccessor
-
getHeight
public int getHeight()- Specified by:
getHeight
in interfaceLevelHeightAccessor
-
getProfiler
-