Uses of Class
net.minecraft.util.math.Box
-
Uses of Box in net.minecraft.block
Fields in net.minecraft.block declared as Box Modifier and Type Field Description protected static BoxAbstractPressurePlateBlock. BOXMethods in net.minecraft.block that return Box Modifier and Type Method Description private BoxDetectorRailBlock. getCartDetectionBox(BlockPos pos) -
Uses of Box in net.minecraft.block.entity
Methods in net.minecraft.block.entity that return Box Modifier and Type Method Description private static BoxConduitBlockEntity. getAttackZone(BlockPos pos)BoxShulkerBoxBlockEntity. getBoundingBox(BlockState state)private static BoxPistonBlockEntity. offsetHeadBox(BlockPos pos, Box box, PistonBlockEntity blockEntity)Methods in net.minecraft.block.entity with parameters of type Box Modifier and Type Method Description private static booleanPistonBlockEntity. canMoveEntity(Box box, Entity entity)private static doublePistonBlockEntity. getIntersectionSize(Box box, Direction direction, Box box2)private static BoxPistonBlockEntity. offsetHeadBox(BlockPos pos, Box box, PistonBlockEntity blockEntity) -
Uses of Box in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as Box Modifier and Type Field Description private BoxParticle. boundingBoxprivate static BoxParticle. EMPTY_BOUNDING_BOXMethods in net.minecraft.client.particle that return Box Modifier and Type Method Description BoxParticle. getBoundingBox()Methods in net.minecraft.client.particle with parameters of type Box Modifier and Type Method Description voidParticle. setBoundingBox(Box boundingBox) -
Uses of Box in net.minecraft.client.render
Methods in net.minecraft.client.render with parameters of type Box Modifier and Type Method Description static voidWorldRenderer. drawBox(MatrixStack matrices, VertexConsumer vertexConsumer, Box box, float red, float green, float blue, float alpha)Draws a box.booleanFrustum. isVisible(Box box) -
Uses of Box in net.minecraft.client.render.chunk
Fields in net.minecraft.client.render.chunk declared as Box Modifier and Type Field Description BoxChunkBuilder.BuiltChunk. boundingBox -
Uses of Box in net.minecraft.client.render.debug
Methods in net.minecraft.client.render.debug with parameters of type Box Modifier and Type Method Description static voidDebugRenderer. drawBox(Box box, float red, float green, float blue, float alpha)private static voidGameEventDebugRenderer. method_33089(Box box, float float2, float float3, float float4, float float5) -
Uses of Box in net.minecraft.command
Fields in net.minecraft.command declared as Box Modifier and Type Field Description private @Nullable BoxEntitySelector. boxMethods in net.minecraft.command that return Box Modifier and Type Method Description private BoxEntitySelectorReader. createBox(double x, double y, double z)Constructors in net.minecraft.command with parameters of type Box Constructor Description EntitySelector(int count, boolean includesNonPlayers, boolean localWorldOnly, Predicate<Entity> basePredicate, NumberRange.FloatRange distance, Function<Vec3d,Vec3d> positionOffset, @Nullable Box box, BiConsumer<Vec3d,List<? extends Entity>> sorter, boolean senderOnly, @Nullable String playerName, @Nullable UUID uuid, @Nullable EntityType<?> type, boolean usesAt) -
Uses of Box in net.minecraft.entity
Fields in net.minecraft.entity declared as Box Modifier and Type Field Description private BoxEntity. entityBoundsprivate static BoxEntity. NULL_BOXMethods in net.minecraft.entity that return Box Modifier and Type Method Description protected BoxEntity. calculateBoundsForPose(EntityPose pos)BoxEntityType. createSimpleBoundingBox(double feetX, double feetY, double feetZ)BoxEntity. getBoundingBox()BoxLivingEntity. getBoundingBox(EntityPose pose)BoxEntityDimensions. getBoxAt(double x, double y, double z)BoxEntityDimensions. getBoxAt(Vec3d pos)BoxEntity. getVisibilityBoundingBox()BoxLivingEntity. getVisibilityBoundingBox()protected BoxEntity. method_33332()Methods in net.minecraft.entity with parameters of type Box Modifier and Type Method Description static Vec3dEntity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)static Vec3dEntity. adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)static Vec3dEntity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)static booleanDismounting. canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox)private booleanEntity. doesNotCollide(Box box)protected static doubleEntityType. getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)voidEntity. setBoundingBox(Box boundingBox)protected voidLivingEntity. tickRiptide(Box a, Box b) -
Uses of Box in net.minecraft.entity.ai.goal
Methods in net.minecraft.entity.ai.goal that return Box Modifier and Type Method Description protected BoxFollowTargetGoal. getSearchBox(double distance) -
Uses of Box in net.minecraft.entity.ai.pathing
Fields in net.minecraft.entity.ai.pathing with type parameters of type Box Modifier and Type Field Description private Object2BooleanMap<Box>LandPathNodeMaker. field_25191Methods in net.minecraft.entity.ai.pathing with parameters of type Box Modifier and Type Method Description private booleanLandPathNodeMaker. method_29304(Box box) -
Uses of Box in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon with parameters of type Box Modifier and Type Method Description private booleanEnderDragonEntity. destroyBlocks(Box box) -
Uses of Box in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return Box Modifier and Type Method Description protected BoxShulkerEntity.SearchForPlayerGoal. getSearchBox(double distance)protected BoxShulkerEntity.SearchForTargetGoal. getSearchBox(double distance)BoxIllusionerEntity. getVisibilityBoundingBox()protected BoxShulkerEntity. method_33332()static BoxShulkerEntity. method_33346(Direction direction, float float2)static BoxShulkerEntity. method_33347(Direction direction, float float2, float float3) -
Uses of Box in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile with parameters of type Box Modifier and Type Method Description static @Nullable EntityHitResultProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)static @Nullable EntityHitResultProjectileUtil. raycast(Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate, double double2) -
Uses of Box in net.minecraft.entity.vehicle
Methods in net.minecraft.entity.vehicle that return Box Modifier and Type Method Description BoxAbstractMinecartEntity. getVisibilityBoundingBox() -
Uses of Box in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type Box Modifier and Type Method Description private booleanServerPlayNetworkHandler. isPlayerNotCollidingWithBlocks(WorldView world, Box box) -
Uses of Box in net.minecraft.test
Methods in net.minecraft.test that return Box Modifier and Type Method Description @Nullable BoxGameTest. getBoundingBox()static BoxStructureTestUtil. getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)private BoxStartupParameter. method_36051()private BoxStartupParameter. method_36053() -
Uses of Box in net.minecraft.util.math
Methods in net.minecraft.util.math that return Box Modifier and Type Method Description BoxBox. contract(double value)BoxBox. expand(double value)BoxBox. expand(double x, double y, double z)static BoxBox. from(BlockBox mutable)static BoxBox. from(Vec3d vec3d)BoxBox. intersection(Box box)BoxBox. method_35574(double double2)BoxBox. method_35575(double double2)BoxBox. method_35576(double double2)BoxBox. method_35577(double double2)BoxBox. method_35578(double double2)BoxBox. method_35579(double double2)BoxBox. method_35580(double double2, double double3, double double4)static BoxBox. of(Vec3d center, double dx, double dy, double dz)BoxBox. offset(double x, double y, double z)BoxBox. offset(BlockPos blockPos)BoxBox. offset(Vec3d vec3d)BoxBox. shrink(double x, double y, double z)BoxBox. stretch(double x, double y, double z)BoxBox. stretch(Vec3d scale)static BoxBoxes. stretch(Box box, Direction direction, double length)BoxBox. union(Box box)Methods in net.minecraft.util.math with parameters of type Box Modifier and Type Method Description BoxBox. intersection(Box box)booleanBox. intersects(Box box)static booleanMathHelper. method_34945(Vec3d vec3d, Vec3d vec3d2, Box box)static Stream<BlockPos>BlockPos. stream(Box box)static BoxBoxes. stretch(Box box, Direction direction, double length)private static @Nullable DirectionBox. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)BoxBox. union(Box box)Method parameters in net.minecraft.util.math with type arguments of type Box Modifier and Type Method Description static @Nullable BlockHitResultBox. raycast(Iterable<Box> boxes, Vec3d from, Vec3d to, BlockPos pos) -
Uses of Box in net.minecraft.util.shape
Methods in net.minecraft.util.shape that return Box Modifier and Type Method Description BoxVoxelShape. getBoundingBox()Methods in net.minecraft.util.shape that return types with arguments of type Box Modifier and Type Method Description List<Box>VoxelShape. getBoundingBoxes()Methods in net.minecraft.util.shape with parameters of type Box Modifier and Type Method Description protected doubleVoxelShape. calculateMaxDistance(AxisCycleDirection axisCycle, Box box, double maxDist)doubleVoxelShape. calculateMaxDistance(Direction.Axis axis, Box box, double maxDist)static doubleVoxelShapes. calculateMaxOffset(Direction.Axis axis, Box box, Stream<VoxelShape> shapes, double maxDist)private static doubleVoxelShapes. calculatePushVelocity(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)static doubleVoxelShapes. calculatePushVelocity(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes)static VoxelShapeVoxelShapes. cuboid(Box box) -
Uses of Box in net.minecraft.world
Fields in net.minecraft.world declared as Box Modifier and Type Field Description private BoxBlockCollisionSpliterator. boxMethods in net.minecraft.world with parameters of type Box Modifier and Type Method Description default booleanWorldView. containsFluid(Box box)default Stream<VoxelShape>CollisionView. getBlockCollisions(@Nullable Entity entity, Box box)default Stream<VoxelShape>CollisionView. getBlockCollisions(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)default <T extends LivingEntity>
TEntityView. getClosestEntity(Class<? extends T> entityClass, TargetPredicate targetPredicate, @Nullable LivingEntity entity, double x, double y, double z, Box box)default Stream<VoxelShape>CollisionView. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default <T extends Entity>
List<T>EntityView. getEntitiesByClass(Class<T> entityClass, Box box, Predicate<? super T> predicate)Computes a list of entities within some box whose runtime Java class is the same as or is a subclass of the given class.<T extends Entity>
List<T>ChunkRegion. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>EntityView. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)<T extends Entity>
List<T>World. getEntitiesByType(TypeFilter<Entity,T> filter, Box box, Predicate<? super T> predicate)Stream<VoxelShape>CollisionView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>EntityView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default Stream<VoxelShape>RegistryWorldView. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default <T extends Entity>
List<T>EntityView. getNonSpectatingEntities(Class<T> entityClass, Box box)List<Entity>ChunkRegion. getOtherEntities(@Nullable Entity except, Box box, @Nullable Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.default List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box)Computes a list of entities within some box, excluding the given entity, that are not spectators.List<Entity>EntityView. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.List<Entity>World. getOtherEntities(@Nullable Entity except, Box box, Predicate<? super Entity> predicate)Computes a list of entities within some box, excluding the given entity, that satisfy the given predicate.default List<PlayerEntity>EntityView. getPlayers(TargetPredicate targetPredicate, LivingEntity entity, Box box)default Stream<BlockState>BlockView. getStatesInBox(Box box)default Stream<BlockState>WorldView. getStatesInBoxIfLoaded(Box box)default <T extends LivingEntity>
List<T>EntityView. getTargets(Class<T> entityClass, TargetPredicate targetPredicate, LivingEntity targetingEntity, Box box)default booleanCollisionView. isBlockSpaceEmpty(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)static booleanBlockCollisionSpliterator. isInWorldBorder(WorldBorder border, Box box)default booleanCollisionView. isSpaceEmpty(@Nullable Entity entity, Box box, Predicate<Entity> predicate)default booleanCollisionView. isSpaceEmpty(Entity entity, Box box)default booleanCollisionView. isSpaceEmpty(Box box)private static booleanBlockCollisionSpliterator. method_30130(VoxelShape voxelShape, Box box)private static booleanBlockCollisionSpliterator. method_30131(VoxelShape voxelShape, Box box)Constructors in net.minecraft.world with parameters of type Box Constructor Description BlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box)BlockCollisionSpliterator(CollisionView world, @Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> blockPredicate) -
Uses of Box in net.minecraft.world.border
Methods in net.minecraft.world.border with parameters of type Box Modifier and Type Method Description booleanWorldBorder. contains(Box box) -
Uses of Box in net.minecraft.world.chunk
Methods in net.minecraft.world.chunk with parameters of type Box Modifier and Type Method Description Stream<VoxelShape>ChunkCache. getCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate)Stream<VoxelShape>ChunkCache. getEntityCollisions(@Nullable Entity entity, Box box, Predicate<Entity> predicate) -
Uses of Box in net.minecraft.world.entity
Methods in net.minecraft.world.entity that return Box Modifier and Type Method Description BoxEntityLike. getBoundingBox()Methods in net.minecraft.world.entity with parameters of type Box Modifier and Type Method Description voidSectionedEntityCache. forEachInBox(Box box, Consumer<EntityTrackingSection<T>> action)Runs the given action on each collection of entities in the chunk sections within the given box.voidEntityLookup. forEachIntersects(Box box, Consumer<T> action)<U extends T>
voidEntityLookup. forEachIntersects(TypeFilter<T,U> filter, Box box, Consumer<U> action)voidSectionedEntityCache. forEachIntersects(Box box, Consumer<T> action)<U extends T>
voidSectionedEntityCache. forEachIntersects(TypeFilter<T,U> filter, Box box, Consumer<U> action)voidSimpleEntityLookup. forEachIntersects(Box box, Consumer<T> action)<U extends T>
voidSimpleEntityLookup. forEachIntersects(TypeFilter<T,U> filter, Box box, Consumer<U> action)private static <T extends EntityLike>
Predicate<T>SectionedEntityCache. intersecting(Box box) -
Uses of Box in net.minecraft.world.gen.feature
Fields in net.minecraft.world.gen.feature declared as Box Modifier and Type Field Description private BoxEndSpikeFeature.Spike. boundingBoxMethods in net.minecraft.world.gen.feature that return Box Modifier and Type Method Description BoxEndSpikeFeature.Spike. getBoundingBox()