net.minecraft.world

public interface CollisionView

extends BlockView

net.minecraft.world.level.CollisionGetter
net.minecraft.class_1941
net.minecraft.world.CollisionView

Method summary

Modifier and TypeMethod
WorldBorder
getWorldBorder()
method_8621()
getWorldBorder()
BlockView
getChunkForCollisions(int chunkX, int chunkZ)
method_22338(int arg0, int arg1)
getChunkAsView(int chunkX, int chunkZ)
default boolean
isUnobstructed(Entity source, VoxelShape shape)
method_8611(class_1297 arg0, class_265 arg1)
doesNotIntersectEntities(Entity except, VoxelShape shape)
default boolean
isUnobstructed(BlockState state, BlockPos pos, CollisionContext context)
method_8628(class_2680 arg0, class_2338 arg1, class_3726 arg2)
canPlace(BlockState state, BlockPos pos, ShapeContext context)
default boolean
isUnobstructed(Entity ignore)
method_8606(class_1297 arg0)
doesNotIntersectEntities(Entity entity)
default boolean
noCollision(AABB aabb)
method_18026(class_238 arg0)
isSpaceEmpty(Box box)
default boolean
noCollision(Entity source)
method_17892(class_1297 arg0)
isSpaceEmpty(Entity entity)
default boolean
noCollision(Entity entity, AABB aabb)
method_8587(class_1297 arg0, class_238 arg1)
isSpaceEmpty(Entity entity, Box box)
default boolean
noCollision(Entity entity, AABB aabb, boolean alwaysCollideWithFluids)
method_61716(class_1297 arg0, class_238 arg1, boolean arg2)
isSpaceEmpty(Entity entity, Box box, boolean checkFluid)
default boolean
noBlockCollision(Entity entity, AABB aabb)
method_52569(class_1297 arg0, class_238 arg1)
isBlockSpaceEmpty(Entity entity, Box box)
default boolean
noBlockCollision(Entity entity, AABB aabb, boolean alwaysCollideWithFluids)
method_76791(class_1297 arg0, class_238 arg1, boolean arg2)
isBlockSpaceEmpty(Entity entity, Box box, boolean blockOrFluid)
default boolean
noEntityCollision(Entity entity, AABB aabb)
method_76792(class_1297 arg0, class_238 arg1)
doesNotCollideWithEntities(Entity entity, Box box)
default boolean
noBorderCollision(Entity entity, AABB aabb)
method_76793(class_1297 arg0, class_238 arg1)
doesNotCollideWithWorldBorder(Entity entity, Box box)
List<VoxelShape>
getEntityCollisions(Entity source, AABB testArea)
method_20743(class_1297 arg0, class_238 arg1)
getEntityCollisions(Entity entity, Box box)
default Iterable<VoxelShape>
getCollisions(Entity source, AABB box)
method_8600(class_1297 arg0, class_238 arg1)
getCollisions(Entity entity, Box box)
default Iterable<VoxelShape>
getPreMoveCollisions(Entity source, AABB box, Vec3 oldPos)
method_71395(class_1297 arg0, class_238 arg1, class_243 arg2)
getCollisions(Entity entity, Box box, Vec3d pos)
default Iterable<VoxelShape>
getBlockCollisions(Entity source, AABB box)
method_20812(class_1297 arg0, class_238 arg1)
getBlockCollisions(Entity entity, Box box)
default Iterable<VoxelShape>
getBlockAndLiquidCollisions(Entity source, AABB box)
method_61719(class_1297 arg0, class_238 arg1)
getBlockOrFluidCollisions(Entity entity, Box box)
private Iterable<VoxelShape>
getBlockCollisionsFromContext(CollisionContext source, AABB box)
method_71396(class_3726 arg0, class_238 arg1)
getBlockOrFluidCollisions(ShapeContext shapeContext, Box box)
private VoxelShape
borderCollision(Entity source, AABB box)
method_39455(class_1297 arg0, class_238 arg1)
getWorldBorderCollisions(Entity entity, Box box)
default BlockHitResult
clipIncludingBorder(ClipContext c)
method_61717(class_3959 arg0)
getCollisionsIncludingWorldBorder(RaycastContext context)
default boolean
collidesWithSuffocatingBlock(Entity source, AABB box)
method_39454(class_1297 arg0, class_238 arg1)
canCollide(Entity entity, Box box)
default Optional<BlockPos>
findSupportingBlock(Entity source, AABB box)
method_51718(class_1297 arg0, class_238 arg1)
findSupportingBlockPos(Entity entity, Box box)
default Optional<Vec3d>
findFreePosition(Entity source, VoxelShape allowedCenters, Vec3 preferredCenter, double sizeX, double sizeY, double sizeZ)
method_33594(class_1297 arg0, class_265 arg1, class_243 arg2, double arg3, double arg4, double arg5)
findClosestCollision(Entity entity, VoxelShape shape, Vec3d target, double x, double y, double z)
private static Box
lambda$findFreePosition$2(double arg0, double arg1, double arg2, AABB arg3)
method_39451(double arg0, double arg1, double arg2, class_238 arg3)
method_39451(double arg0, double arg1, double arg2, Box box)
private static Stream
lambda$findFreePosition$1(VoxelShape arg0)
method_39452(class_265 arg0)
method_39452(VoxelShape collision)
private boolean
lambda$findFreePosition$0(VoxelShape arg0)
method_39453(class_265 arg0)
method_39453(VoxelShape collision)
private static BlockPos
lambda$findSupportingBlock$0(BlockPos$MutableBlockPos arg0, VoxelShape arg1)
method_51715(class_2338$class_2339 arg0, class_265 arg1)
method_51715(BlockPos$Mutable pos, VoxelShape voxelShape)
private static VoxelShape
lambda$collidesWithSuffocatingBlock$0(BlockPos$MutableBlockPos arg0, VoxelShape arg1)
method_51716(class_2338$class_2339 arg0, class_265 arg1)
method_51716(BlockPos$Mutable pos, VoxelShape voxelShape)
private Iterator
lambda$getBlockCollisionsFromContext$0(CollisionContext arg0, AABB arg1)
method_71397(class_3726 arg0, class_238 arg1)
method_71397(ShapeContext arg0, Box arg1)
private static VoxelShape
lambda$getBlockCollisionsFromContext$1(BlockPos$MutableBlockPos arg0, VoxelShape arg1)
method_71398(class_2338$class_2339 arg0, class_265 arg1)
method_71398(BlockPos$Mutable pos, VoxelShape shape)