Package net.minecraft.world
Interface CollisionView
- All Superinterfaces:
BlockView
,HeightLimitView
- All Known Subinterfaces:
class_5423
,LunarWorldView
,ServerWorldAccess
,StructureWorldAccess
,WorldAccess
,WorldView
- All Known Implementing Classes:
ChunkCache
,ChunkRegion
,ClientWorld
,ServerWorld
,World
public interface CollisionView extends BlockView
-
Method Summary
Methods inherited from interface net.minecraft.world.BlockView
getBlockEntity, getBlockState, getDismountHeight, getDismountHeight, getFluidState, getLuminance, getMaxLightLevel, getStatesInBox, raycast, raycast, raycastBlock
Methods inherited from interface net.minecraft.world.HeightLimitView
getBottomSectionLimit, getSection, getSectionCount, getSectionIndex, getSectionIndexFromSection, getTopHeightLimit, getTopSectionLimit, isOutOfHeightLimit, isOutOfHeightLimit, method_32890, method_32891
-
Method Details
-
getWorldBorder
WorldBorder getWorldBorder() -
getExistingChunk
-
intersectsEntities
-
canPlace
-
intersectsEntities
-
isSpaceEmpty
-
isSpaceEmpty
-
isSpaceEmpty
-
isSpaceEmpty
-
getEntityCollisions
-
getCollisions
-
getBlockCollisions
-
isBlockSpaceEmpty
@Environment(CLIENT) default boolean isBlockSpaceEmpty(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate) -
getBlockCollisions
default Stream<VoxelShape> getBlockCollisions(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)
-