Package net.minecraft.world.level
Interface CollisionGetter
- All Superinterfaces:
BlockGetter
,IForgeBlockGetter
,LevelHeightAccessor
- All Known Subinterfaces:
CommonLevelAccessor
,LevelAccessor
,LevelReader
,LevelTimeAccess
,ServerLevelAccessor
,WorldGenLevel
- All Known Implementing Classes:
ClientLevel
,Level
,PathNavigationRegion
,ServerLevel
,WorldGenRegion
-
Method Summary
Modifier and TypeMethodDescriptionprivate VoxelShape
borderCollision
(Entity p_186441_, AABB p_186442_) default boolean
collidesWithSuffocatingBlock
(Entity p_186438_, AABB p_186439_) findFreePosition
(Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) findSupportingBlock
(Entity p_286468_, AABB p_286792_) default Iterable<VoxelShape>
getBlockCollisions
(Entity p_186435_, AABB p_186436_) getChunkForCollisions
(int p_45774_, int p_45775_) default Iterable<VoxelShape>
getCollisions
(Entity p_186432_, AABB p_186433_) getEntityCollisions
(Entity p_186427_, AABB p_186428_) default boolean
isUnobstructed
(Entity p_45785_) default boolean
isUnobstructed
(Entity p_45750_, VoxelShape p_45751_) default boolean
isUnobstructed
(BlockState p_45753_, BlockPos p_45754_, CollisionContext p_45755_) default boolean
noCollision
(Entity p_45787_) default boolean
noCollision
(Entity p_45757_, AABB p_45758_) default boolean
noCollision
(AABB p_45773_) Methods inherited from interface net.minecraft.world.level.BlockGetter
clip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLine
Methods inherited from interface net.minecraftforge.common.extensions.IForgeBlockGetter
getExistingBlockEntity, getModelDataManager
Methods inherited from interface net.minecraft.world.level.LevelHeightAccessor
getHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
-
Method Details
-
getWorldBorder
WorldBorder getWorldBorder() -
getChunkForCollisions
-
isUnobstructed
-
isUnobstructed
-
isUnobstructed
-
noCollision
-
noCollision
-
noCollision
-
getEntityCollisions
-
getCollisions
-
getBlockCollisions
-
borderCollision
-
collidesWithSuffocatingBlock
-
findSupportingBlock
-
findFreePosition
default Optional<Vec3> findFreePosition(@Nullable Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_)
-