Package net.minecraft.world
Interface CollisionView
- All Superinterfaces:
BlockView
- 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, getHeight, getLuminance, getMaxLightLevel, method_29546, raycast, raycastBlock
-
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)
-