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 Box
AbstractPressurePlateBlock. BOX
Methods in net.minecraft.block that return Box Modifier and Type Method Description private Box
DetectorRailBlock. 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 Box
ConduitBlockEntity. getAttackZone(BlockPos pos)
Box
ShulkerBoxBlockEntity. getBoundingBox(BlockState state)
private static Box
PistonBlockEntity. 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 boolean
PistonBlockEntity. canMoveEntity(Box box, Entity entity)
private static double
PistonBlockEntity. getIntersectionSize(Box box, Direction direction, Box box2)
private static Box
PistonBlockEntity. 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 Box
Particle. boundingBox
private static Box
Particle. EMPTY_BOUNDING_BOX
Methods in net.minecraft.client.particle that return Box Modifier and Type Method Description Box
Particle. getBoundingBox()
Methods in net.minecraft.client.particle with parameters of type Box Modifier and Type Method Description void
Particle. 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 void
WorldRenderer. drawBox(MatrixStack matrices, VertexConsumer vertexConsumer, Box box, float red, float green, float blue, float alpha)
Draws a box.boolean
Frustum. 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 Box
ChunkBuilder.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 void
DebugRenderer. drawBox(Box box, float red, float green, float blue, float alpha)
private static void
GameEventDebugRenderer. 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 Box
EntitySelector. box
Methods in net.minecraft.command that return Box Modifier and Type Method Description private Box
EntitySelectorReader. 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 Box
Entity. entityBounds
private static Box
Entity. NULL_BOX
Methods in net.minecraft.entity that return Box Modifier and Type Method Description protected Box
Entity. calculateBoundsForPose(EntityPose pos)
Box
EntityType. createSimpleBoundingBox(double feetX, double feetY, double feetZ)
Box
Entity. getBoundingBox()
Box
LivingEntity. getBoundingBox(EntityPose pose)
Box
EntityDimensions. getBoxAt(double x, double y, double z)
Box
EntityDimensions. getBoxAt(Vec3d pos)
Box
Entity. getVisibilityBoundingBox()
Box
LivingEntity. getVisibilityBoundingBox()
protected Box
Entity. method_33332()
Methods in net.minecraft.entity with parameters of type Box Modifier and Type Method Description static Vec3d
Entity. adjustMovementForCollisions(@Nullable Entity entity, Vec3d movement, Box entityBoundingBox, World world, ShapeContext context, ReusableStream<VoxelShape> collisions)
static Vec3d
Entity. adjustMovementForCollisions(Vec3d movement, Box entityBoundingBox, ReusableStream<VoxelShape> collisions)
static Vec3d
Entity. adjustSingleAxisMovementForCollisions(Vec3d movement, Box entityBoundingBox, WorldView world, ShapeContext context, ReusableStream<VoxelShape> collisions)
static boolean
Dismounting. canPlaceEntityAt(CollisionView world, LivingEntity entity, Box targetBox)
private boolean
Entity. doesNotCollide(Box box)
protected static double
EntityType. getOriginY(WorldView world, BlockPos pos, boolean invertY, Box boundingBox)
void
Entity. setBoundingBox(Box boundingBox)
protected void
LivingEntity. 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 Box
FollowTargetGoal. 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_25191
Methods in net.minecraft.entity.ai.pathing with parameters of type Box Modifier and Type Method Description private boolean
LandPathNodeMaker. 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 boolean
EnderDragonEntity. 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 Box
ShulkerEntity.SearchForPlayerGoal. getSearchBox(double distance)
protected Box
ShulkerEntity.SearchForTargetGoal. getSearchBox(double distance)
Box
IllusionerEntity. getVisibilityBoundingBox()
protected Box
ShulkerEntity. method_33332()
static Box
ShulkerEntity. method_33346(Direction direction, float float2)
static Box
ShulkerEntity. 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 EntityHitResult
ProjectileUtil. getEntityCollision(World world, Entity entity, Vec3d vec3d, Vec3d vec3d2, Box box, Predicate<Entity> predicate)
static @Nullable EntityHitResult
ProjectileUtil. 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 Box
AbstractMinecartEntity. 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 boolean
ServerPlayNetworkHandler. 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 Box
GameTest. getBoundingBox()
static Box
StructureTestUtil. getStructureBoundingBox(StructureBlockBlockEntity structureBlockEntity)
private Box
StartupParameter. method_36051()
private Box
StartupParameter. method_36053()
-
Uses of Box in net.minecraft.util.math
Methods in net.minecraft.util.math that return Box Modifier and Type Method Description Box
Box. contract(double value)
Box
Box. expand(double value)
Box
Box. expand(double x, double y, double z)
static Box
Box. from(BlockBox mutable)
static Box
Box. from(Vec3d vec3d)
Box
Box. intersection(Box box)
Box
Box. method_35574(double double2)
Box
Box. method_35575(double double2)
Box
Box. method_35576(double double2)
Box
Box. method_35577(double double2)
Box
Box. method_35578(double double2)
Box
Box. method_35579(double double2)
Box
Box. method_35580(double double2, double double3, double double4)
static Box
Box. of(Vec3d center, double dx, double dy, double dz)
Box
Box. offset(double x, double y, double z)
Box
Box. offset(BlockPos blockPos)
Box
Box. offset(Vec3d vec3d)
Box
Box. shrink(double x, double y, double z)
Box
Box. stretch(double x, double y, double z)
Box
Box. stretch(Vec3d scale)
static Box
Boxes. stretch(Box box, Direction direction, double length)
Box
Box. union(Box box)
Methods in net.minecraft.util.math with parameters of type Box Modifier and Type Method Description Box
Box. intersection(Box box)
boolean
Box. intersects(Box box)
static boolean
MathHelper. method_34945(Vec3d vec3d, Vec3d vec3d2, Box box)
static Stream<BlockPos>
BlockPos. stream(Box box)
static Box
Boxes. stretch(Box box, Direction direction, double length)
private static @Nullable Direction
Box. traceCollisionSide(Box box, Vec3d intersectingVector, double[] traceDistanceResult, @Nullable Direction approachDirection, double xDelta, double yDelta, double zDelta)
Box
Box. union(Box box)
Method parameters in net.minecraft.util.math with type arguments of type Box Modifier and Type Method Description static @Nullable BlockHitResult
Box. 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 Box
VoxelShape. 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 double
VoxelShape. calculateMaxDistance(AxisCycleDirection axisCycle, Box box, double maxDist)
double
VoxelShape. calculateMaxDistance(Direction.Axis axis, Box box, double maxDist)
static double
VoxelShapes. calculateMaxOffset(Direction.Axis axis, Box box, Stream<VoxelShape> shapes, double maxDist)
private static double
VoxelShapes. calculatePushVelocity(Box box, WorldView world, double initial, ShapeContext context, AxisCycleDirection direction, Stream<VoxelShape> shapes)
static double
VoxelShapes. calculatePushVelocity(Direction.Axis axis, Box box, WorldView world, double initial, ShapeContext context, Stream<VoxelShape> shapes)
static VoxelShape
VoxelShapes. cuboid(Box box)
-
Uses of Box in net.minecraft.world
Fields in net.minecraft.world declared as Box Modifier and Type Field Description private Box
BlockCollisionSpliterator. box
Methods in net.minecraft.world with parameters of type Box Modifier and Type Method Description default boolean
WorldView. 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 boolean
CollisionView. isBlockSpaceEmpty(@Nullable Entity entity, Box box, BiPredicate<BlockState,BlockPos> biPredicate)
static boolean
BlockCollisionSpliterator. isInWorldBorder(WorldBorder border, Box box)
default boolean
CollisionView. isSpaceEmpty(@Nullable Entity entity, Box box, Predicate<Entity> predicate)
default boolean
CollisionView. isSpaceEmpty(Entity entity, Box box)
default boolean
CollisionView. isSpaceEmpty(Box box)
private static boolean
BlockCollisionSpliterator. method_30130(VoxelShape voxelShape, Box box)
private static boolean
BlockCollisionSpliterator. 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 boolean
WorldBorder. 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 Box
EntityLike. getBoundingBox()
Methods in net.minecraft.world.entity with parameters of type Box Modifier and Type Method Description void
SectionedEntityCache. forEachInBox(Box box, Consumer<EntityTrackingSection<T>> action)
Runs the given action on each collection of entities in the chunk sections within the given box.void
EntityLookup. forEachIntersects(Box box, Consumer<T> action)
<U extends T>
voidEntityLookup. forEachIntersects(TypeFilter<T,U> filter, Box box, Consumer<U> action)
void
SectionedEntityCache. forEachIntersects(Box box, Consumer<T> action)
<U extends T>
voidSectionedEntityCache. forEachIntersects(TypeFilter<T,U> filter, Box box, Consumer<U> action)
void
SimpleEntityLookup. 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 Box
EndSpikeFeature.Spike. boundingBox
Methods in net.minecraft.world.gen.feature that return Box Modifier and Type Method Description Box
EndSpikeFeature.Spike. getBoundingBox()