Package net.minecraft.world.level
Interface CollisionGetter
- All Superinterfaces:
- BlockGetter,- IBlockGetterExtension,- LevelHeightAccessor
- All Known Subinterfaces:
- CommonLevelAccessor,- LevelAccessor,- LevelReader,- LevelTimeAccess,- ServerLevelAccessor,- WorldGenLevel
- All Known Implementing Classes:
- ClientLevel,- Level,- PathNavigationRegion,- ServerLevel,- WorldGenRegion
- 
Method SummaryModifier and TypeMethodDescriptionprivate VoxelShapeborderCollision(Entity p_186441_, AABB p_186442_) default booleancollidesWithSuffocatingBlock(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 booleanisUnobstructed(Entity p_45785_) default booleanisUnobstructed(Entity p_45750_, VoxelShape p_45751_) default booleanisUnobstructed(BlockState p_45753_, BlockPos p_45754_, CollisionContext p_45755_) default booleannoBlockCollision(Entity p_295728_, AABB p_294209_) default booleannoCollision(Entity p_45787_) default booleannoCollision(Entity p_45757_, AABB p_45758_) default booleannoCollision(AABB p_45773_) Methods inherited from interface net.minecraft.world.level.BlockGetterclip, clipWithInteractionOverride, getBlockEntity, getBlockEntity, getBlockFloorHeight, getBlockFloorHeight, getBlockState, getBlockStates, getFluidState, getLightEmission, getMaxLightLevel, isBlockInLineMethods inherited from interface net.neoforged.neoforge.common.extensions.IBlockGetterExtensiongetAuxLightManager, getAuxLightManager, getModelDataManagerMethods inherited from interface net.minecraft.world.level.LevelHeightAccessorgetHeight, getMaxBuildHeight, getMaxSection, getMinBuildHeight, getMinSection, getSectionIndex, getSectionIndexFromSectionY, getSectionsCount, getSectionYFromSectionIndex, isOutsideBuildHeight, isOutsideBuildHeight
- 
Method Details- 
getWorldBorderWorldBorder getWorldBorder()
- 
getChunkForCollisions
- 
isUnobstructed
- 
isUnobstructed
- 
isUnobstructed
- 
noCollision
- 
noCollision
- 
noCollision
- 
noBlockCollision
- 
getEntityCollisions
- 
getCollisions
- 
getBlockCollisions
- 
borderCollision
- 
collidesWithSuffocatingBlock
- 
findSupportingBlock
- 
findFreePositiondefault Optional<Vec3> findFreePosition(@Nullable Entity p_151419_, VoxelShape p_151420_, Vec3 p_151421_, double p_151422_, double p_151423_, double p_151424_) 
 
-