Uses of Class
net.minecraft.world.phys.AABB
Packages that use AABB
Package
Description
Extension interfaces for
client-only classes.-
Uses of AABB in net.minecraft.client.particle
Fields in net.minecraft.client.particle declared as AABBModifier and TypeFieldDescriptionprivate AABBParticle.bbprivate static final AABBParticle.INITIAL_AABBMethods in net.minecraft.client.particle that return AABBModifier and TypeMethodDescriptionParticle.getBoundingBox()ItemPickupParticle.getRenderBoundingBox(float partialTicks) MobAppearanceParticle.getRenderBoundingBox(float partialTicks) Particle.getRenderBoundingBox(float partialTicks) Returns the bounding box that should be used for particle culling.SingleQuadParticle.getRenderBoundingBox(float partialTicks) Methods in net.minecraft.client.particle with parameters of type AABB -
Uses of AABB in net.minecraft.client.renderer
Methods in net.minecraft.client.renderer with parameters of type AABBModifier and TypeMethodDescriptionstatic voidLevelRenderer.renderLineBox(PoseStack poseStack, VertexConsumer buffer, AABB box, float red, float green, float blue, float alpha) -
Uses of AABB in net.minecraft.client.renderer.blockentity
Methods in net.minecraft.client.renderer.blockentity that return AABBModifier and TypeMethodDescriptionBannerRenderer.getRenderBoundingBox(BannerBlockEntity blockEntity) BeaconRenderer.getRenderBoundingBox(BeaconBlockEntity blockEntity) BrushableBlockRenderer.getRenderBoundingBox(BrushableBlockEntity blockEntity) ChestRenderer.getRenderBoundingBox(T blockEntity) ConduitRenderer.getRenderBoundingBox(ConduitBlockEntity blockEntity) DecoratedPotRenderer.getRenderBoundingBox(DecoratedPotBlockEntity blockEntity) EnchantTableRenderer.getRenderBoundingBox(EnchantingTableBlockEntity blockEntity) LecternRenderer.getRenderBoundingBox(LecternBlockEntity blockEntity) PistonHeadRenderer.getRenderBoundingBox(PistonMovingBlockEntity blockEntity) ShulkerBoxRenderer.getRenderBoundingBox(ShulkerBoxBlockEntity blockEntity) SignRenderer.getRenderBoundingBox(SignBlockEntity blockEntity) SkullBlockRenderer.getRenderBoundingBox(SkullBlockEntity blockEntity) SpawnerRenderer.getRenderBoundingBox(SpawnerBlockEntity blockEntity) StructureBlockRenderer.getRenderBoundingBox(StructureBlockEntity blockEntity) TheEndGatewayRenderer.getRenderBoundingBox(TheEndGatewayBlockEntity blockEntity) TrialSpawnerRenderer.getRenderBoundingBox(TrialSpawnerBlockEntity blockEntity) -
Uses of AABB in net.minecraft.client.renderer.chunk
Fields in net.minecraft.client.renderer.chunk declared as AABBMethods in net.minecraft.client.renderer.chunk that return AABB -
Uses of AABB in net.minecraft.client.renderer.culling
Methods in net.minecraft.client.renderer.culling with parameters of type AABB -
Uses of AABB in net.minecraft.client.renderer.debug
Methods in net.minecraft.client.renderer.debug with parameters of type AABBModifier and TypeMethodDescriptionstatic voidDebugRenderer.renderFilledBox(PoseStack poseStack, MultiBufferSource bufferSource, AABB boundingBox, float red, float green, float blue, float alpha) private static voidGameEventListenerRenderer.renderFilledBox(PoseStack poseStack, MultiBufferSource buffer, AABB boundingBox, float red, float green, float blue, float alpha) -
Uses of AABB in net.minecraft.commands.arguments.selector
Fields in net.minecraft.commands.arguments.selector declared as AABBMethods in net.minecraft.commands.arguments.selector that return AABBModifier and TypeMethodDescriptionprivate AABBEntitySelectorParser.createAabb(double sizeX, double sizeY, double sizeZ) private AABBEntitySelector.getAbsoluteAabb(Vec3 pos) Methods in net.minecraft.commands.arguments.selector with parameters of type AABBModifier and TypeMethodDescriptionprivate voidEntitySelector.addEntities(List<Entity> entities, ServerLevel level, AABB box, Predicate<Entity> predicate) EntitySelector.getPredicate(Vec3 pos, AABB box, FeatureFlagSet enabledFeatures) Constructors in net.minecraft.commands.arguments.selector with parameters of type AABBModifierConstructorDescriptionEntitySelector(int maxResults, boolean includesEntities, boolean worldLimited, List<Predicate<Entity>> contextFreePredicates, MinMaxBounds.Doubles range, Function<Vec3, Vec3> position, AABB aabb, BiConsumer<Vec3, List<? extends Entity>> order, boolean currentEntity, String playerName, UUID entityUUID, EntityType<?> type, boolean usesSelector) -
Uses of AABB in net.minecraft.core
Methods in net.minecraft.core that return AABBMethods in net.minecraft.core with parameters of type AABB -
Uses of AABB in net.minecraft.gametest.framework
Fields in net.minecraft.gametest.framework declared as AABBMethods in net.minecraft.gametest.framework that return AABBModifier and TypeMethodDescriptionGameTestHelper.getBounds()private AABBGameTestHelper.getRelativeBounds()GameTestInfo.getStructureBounds()static AABBStructureUtils.getStructureBounds(StructureBlockEntity structureBlockEntity) Methods in net.minecraft.gametest.framework with parameters of type AABBModifier and TypeMethodDescriptionvoidGameTestHelper.assertEntityPosition(Entity entity, AABB box, String exceptionMessage) static voidStructureUtils.encaseStructure(AABB bounds, ServerLevel level, boolean placeBarriers) static voidStructureUtils.removeBarriers(AABB bounds, ServerLevel level) -
Uses of AABB in net.minecraft.server.level
Methods in net.minecraft.server.level with parameters of type AABBModifier and TypeMethodDescriptionWorldGenRegion.getEntities(Entity entity, AABB boundingBox, Predicate<? super Entity> predicate) Gets all entities within the specified AABB excluding the one passed into it.WorldGenRegion.getEntities(EntityTypeTest<Entity, T> entityTypeTest, AABB bounds, Predicate<? super T> predicate) -
Uses of AABB in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type AABBModifier and TypeMethodDescriptionprivate booleanServerGamePacketListenerImpl.isPlayerCollidingWithAnythingNew(LevelReader level, AABB box, double x, double y, double z) -
Uses of AABB in net.minecraft.util
Methods in net.minecraft.util with parameters of type AABBModifier and TypeMethodDescriptionstatic booleanMth.rayIntersectsAABB(Vec3 start, Vec3 end, AABB boundingBox) -
Uses of AABB in net.minecraft.world.entity
Fields in net.minecraft.world.entity declared as AABBModifier and TypeFieldDescriptionprivate AABBEntity.bbprivate AABBDisplay.cullingBoundingBoxprivate static final AABBEntity.INITIAL_AABBMethods in net.minecraft.world.entity that return AABBModifier and TypeMethodDescriptionprotected AABBMob.getAttackBoundingBox()final AABBEntity.getBoundingBox()Display.getBoundingBoxForCulling()Entity.getBoundingBoxForCulling()LivingEntity.getBoundingBoxForCulling()LivingEntity.getHitbox()LivingEntity.getLocalBoundsForPose(Pose pose) EntityType.getSpawnAABB(double x, double y, double z) protected AABBEntity.makeBoundingBox()EntityDimensions.makeBoundingBox(double x, double y, double z) EntityDimensions.makeBoundingBox(Vec3 pos) protected AABBInteraction.makeBoundingBox()Methods in net.minecraft.world.entity with parameters of type AABBModifier and TypeMethodDescriptionprotected voidLivingEntity.checkAutoSpinAttack(AABB boundingBoxBeforeSpin, AABB boundingBoxAfterSpin) private static float[]Entity.collectCandidateStepUpHeights(AABB box, List<VoxelShape> colliders, float deltaY, float maxUpStep) private static List<VoxelShape> Entity.collectColliders(Entity entity, Level level, List<VoxelShape> collisions, AABB boundingBox) static Vec3Entity.collideBoundingBox(Entity entity, Vec3 vec, AABB collisionBox, Level level, List<VoxelShape> potentialHits) private static Vec3Entity.collideWithShapes(Vec3 deltaMovement, AABB entityBB, List<VoxelShape> shapes) protected static doubleEntityType.getYOffset(LevelReader level, BlockPos pos, boolean shouldOffsetYMore, AABB box) private booleanDetermines if the entity has no collision with a block or a liquid within the specified bounding box.final voidEntity.setBoundingBox(AABB bb) -
Uses of AABB in net.minecraft.world.entity.ai.goal.target
Methods in net.minecraft.world.entity.ai.goal.target that return AABBModifier and TypeMethodDescriptionprotected AABBNearestAttackableTargetGoal.getTargetSearchArea(double targetDistance) -
Uses of AABB in net.minecraft.world.entity.animal.sniffer
Methods in net.minecraft.world.entity.animal.sniffer that return AABB -
Uses of AABB in net.minecraft.world.entity.boss.enderdragon
Methods in net.minecraft.world.entity.boss.enderdragon with parameters of type AABBModifier and TypeMethodDescriptionprivate booleanEnderDragon.checkWalls(AABB area) Destroys all blocks that aren't associated with 'The End' inside the given bounding box. -
Uses of AABB in net.minecraft.world.entity.decoration
Methods in net.minecraft.world.entity.decoration that return AABBModifier and TypeMethodDescriptionprotected abstract AABBHangingEntity.calculateBoundingBox(BlockPos pos, Direction direction) protected AABBItemFrame.calculateBoundingBox(BlockPos pos, Direction direction) protected AABBPainting.calculateBoundingBox(BlockPos pos, Direction p_direction) protected AABBHangingEntity.calculateSupportBox() -
Uses of AABB in net.minecraft.world.entity.monster
Methods in net.minecraft.world.entity.monster that return AABBModifier and TypeMethodDescriptionprotected AABBRavager.getAttackBoundingBox()Illusioner.getBoundingBoxForCulling()static AABBShulker.getProgressAabb(float scale, Direction expansionDirection, float peek) static AABBShulker.getProgressDeltaAabb(float scale, Direction expansionDirection, float currentPeek, float oldPeek) protected AABBShulker.ShulkerDefenseAttackGoal.getTargetSearchArea(double targetDistance) protected AABBShulker.ShulkerNearestAttackGoal.getTargetSearchArea(double targetDistance) protected AABBShulker.makeBoundingBox() -
Uses of AABB in net.minecraft.world.entity.player
Methods in net.minecraft.world.entity.player with parameters of type AABBModifier and TypeMethodDescriptionbooleanPlayer.canInteractWithEntity(AABB boundingBox, double distance) -
Uses of AABB in net.minecraft.world.entity.projectile
Methods in net.minecraft.world.entity.projectile with parameters of type AABBModifier and TypeMethodDescriptionstatic EntityHitResultProjectileUtil.getEntityHitResult(Entity shooter, Vec3 startVec, Vec3 endVec, AABB boundingBox, Predicate<Entity> filter, double distance) Gets the EntityRayTraceResult representing the entity hitstatic EntityHitResultProjectileUtil.getEntityHitResult(Level level, Entity projectile, Vec3 startVec, Vec3 endVec, AABB boundingBox, Predicate<Entity> filter) Gets the EntityHitResult representing the entity hitstatic EntityHitResultProjectileUtil.getEntityHitResult(Level level, Entity projectile, Vec3 startVec, Vec3 endVec, AABB boundingBox, Predicate<Entity> filter, float inflationAmount) Gets the EntityHitResult representing the entity hit -
Uses of AABB in net.minecraft.world.entity.projectile.windcharge
Methods in net.minecraft.world.entity.projectile.windcharge that return AABB -
Uses of AABB in net.minecraft.world.entity.vehicle
Methods in net.minecraft.world.entity.vehicle that return AABBModifier and TypeMethodDescriptionContainerEntity.getBoundingBox()AbstractMinecart.getBoundingBoxForCulling()Methods in net.minecraft.world.entity.vehicle with parameters of type AABBModifier and TypeMethodDescriptionstatic booleanDismountHelper.canDismountTo(CollisionGetter level, LivingEntity passenger, AABB boundingBox) -
Uses of AABB in net.minecraft.world.level
Fields in net.minecraft.world.level declared as AABBMethods in net.minecraft.world.level with parameters of type AABBModifier and TypeMethodDescriptionprivate VoxelShapeCollisionGetter.borderCollision(Entity entity, AABB box) default booleanCollisionGetter.collidesWithSuffocatingBlock(Entity entity, AABB box) default booleanLevelReader.containsAnyLiquid(AABB bb) Checks if any of the blocks within the aabb are liquids.CollisionGetter.findSupportingBlock(Entity entity, AABB box) default Iterable<VoxelShape> CollisionGetter.getBlockCollisions(Entity entity, AABB collisionBox) default Stream<BlockState> BlockGetter.getBlockStates(AABB area) default Stream<BlockState> LevelReader.getBlockStatesIfLoaded(AABB aabb) default Iterable<VoxelShape> CollisionGetter.getCollisions(Entity entity, AABB collisionBox) EntityGetter.getEntities(Entity entity, AABB area) Will get all entities within the specified AABB excluding the one passed into it.EntityGetter.getEntities(Entity entity, AABB area, Predicate<? super Entity> predicate) Gets all entities within the specified AABB excluding the one passed into it.EntityGetter.getEntities(EntityTypeTest<Entity, T> entityTypeTest, AABB bounds, Predicate<? super T> predicate) Level.getEntities(Entity entity, AABB boundingBox, Predicate<? super Entity> predicate) Gets all entities within the specified AABB excluding the one passed into it.Level.getEntities(EntityTypeTest<Entity, T> entityTypeTest, AABB bounds, Predicate<? super T> predicate) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> entityTypeTest, AABB bounds, Predicate<? super T> predicate, List<? super T> output) <T extends Entity>
voidLevel.getEntities(EntityTypeTest<Entity, T> entityTypeTest, AABB bounds, Predicate<? super T> predicate, List<? super T> output, int maxResults) EntityGetter.getEntitiesOfClass(Class<T> entityClass, AABB area) EntityGetter.getEntitiesOfClass(Class<T> clazz, AABB area, Predicate<? super T> filter) CollisionGetter.getEntityCollisions(Entity entity, AABB collisionBox) default List<VoxelShape> CommonLevelAccessor.getEntityCollisions(Entity entity, AABB collisionBox) default List<VoxelShape> EntityGetter.getEntityCollisions(Entity p_entity, AABB collisionBox) PathNavigationRegion.getEntityCollisions(Entity entity, AABB collisionBox) default <T extends LivingEntity>
List<T> EntityGetter.getNearbyEntities(Class<T> entityClazz, TargetingConditions entityPredicate, LivingEntity entity, AABB area) EntityGetter.getNearbyPlayers(TargetingConditions predicate, LivingEntity target, AABB area) default <T extends LivingEntity>
TEntityGetter.getNearestEntity(Class<? extends T> entityClazz, TargetingConditions conditions, LivingEntity target, double x, double y, double z, AABB boundingBox) default booleanCollisionGetter.noBlockCollision(Entity entity, AABB boundingBox) default booleanCollisionGetter.noCollision(Entity entity, AABB collisionBox) default booleanCollisionGetter.noCollision(AABB collisionBox) Constructors in net.minecraft.world.level with parameters of type AABBModifierConstructorDescriptionBlockCollisions(CollisionGetter collisionGetter, Entity entity, AABB box, boolean onlySuffocatingBlocks, BiFunction<BlockPos.MutableBlockPos, VoxelShape, T> resultProvider) -
Uses of AABB in net.minecraft.world.level.block
Fields in net.minecraft.world.level.block declared as AABBMethods in net.minecraft.world.level.block that return AABBMethods in net.minecraft.world.level.block with parameters of type AABBModifier and TypeMethodDescriptionprotected static intBasePressurePlateBlock.getEntityCount(Level level, AABB box, Class<? extends Entity> entityClass) -
Uses of AABB in net.minecraft.world.level.block.entity
Fields in net.minecraft.world.level.block.entity declared as AABBMethods in net.minecraft.world.level.block.entity that return AABBModifier and TypeMethodDescriptionShulkerBoxBlockEntity.getBoundingBox(BlockState state) private static AABBConduitBlockEntity.getDestroyRangeAABB(BlockPos pos) default AABBHopper.getSuckAabb() -
Uses of AABB in net.minecraft.world.level.block.entity.trialspawner
Methods in net.minecraft.world.level.block.entity.trialspawner with parameters of type AABBModifier and TypeMethodDescriptionPlayerDetector.EntitySelector.getEntities(ServerLevel level, EntityTypeTest<Entity, T> typeTest, AABB boundingBox, Predicate<? super T> predicate) -
Uses of AABB in net.minecraft.world.level.block.piston
Methods in net.minecraft.world.level.block.piston that return AABBModifier and TypeMethodDescriptionstatic AABBPistonMath.getMovementArea(AABB bounds, Direction dir, double delta) private static AABBPistonMovingBlockEntity.moveByPositionAndProgress(BlockPos pos, AABB aabb, PistonMovingBlockEntity pistonMovingBlockEntity) Methods in net.minecraft.world.level.block.piston with parameters of type AABBModifier and TypeMethodDescriptionprivate static doublePistonMovingBlockEntity.getMovement(AABB headShape, Direction direction, AABB facing) static AABBPistonMath.getMovementArea(AABB bounds, Direction dir, double delta) private static booleanPistonMovingBlockEntity.matchesStickyCritera(AABB box, Entity entity, BlockPos pos) private static AABBPistonMovingBlockEntity.moveByPositionAndProgress(BlockPos pos, AABB aabb, PistonMovingBlockEntity pistonMovingBlockEntity) -
Uses of AABB in net.minecraft.world.level.border
Methods in net.minecraft.world.level.border with parameters of type AABBModifier and TypeMethodDescriptionbooleanWorldBorder.isInsideCloseToBorder(Entity entity, AABB bounds) booleanWorldBorder.isWithinBounds(AABB box) -
Uses of AABB in net.minecraft.world.level.entity
Methods in net.minecraft.world.level.entity that return AABBMethods in net.minecraft.world.level.entity with parameters of type AABBModifier and TypeMethodDescriptionvoidEntitySectionStorage.forEachAccessibleNonEmptySection(AABB boundingBox, AbortableIterationConsumer<EntitySection<T>> consumer) <U extends T>
voidLevelEntityGetter.get(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<U> consumer) void<U extends T>
voidLevelEntityGetterAdapter.get(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<U> consumer) void<U extends T>
AbortableIterationConsumer.ContinuationEntitySection.getEntities(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<? super U> consumer) EntitySection.getEntities(AABB bounds, AbortableIterationConsumer<T> consumer) <U extends T>
voidEntitySectionStorage.getEntities(EntityTypeTest<T, U> test, AABB bounds, AbortableIterationConsumer<U> consumer) voidEntitySectionStorage.getEntities(AABB bounds, AbortableIterationConsumer<T> consumer) -
Uses of AABB in net.minecraft.world.level.levelgen.feature
Fields in net.minecraft.world.level.levelgen.feature declared as AABBMethods in net.minecraft.world.level.levelgen.feature that return AABB -
Uses of AABB in net.minecraft.world.level.pathfinder
Fields in net.minecraft.world.level.pathfinder with type parameters of type AABBModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2BooleanMap<AABB> WalkNodeEvaluator.collisionCacheMethods in net.minecraft.world.level.pathfinder with parameters of type AABBModifier and TypeMethodDescriptionprivate booleanWalkNodeEvaluator.hasCollisions(AABB boundingBox) -
Uses of AABB in net.minecraft.world.phys
Fields in net.minecraft.world.phys declared as AABBMethods in net.minecraft.world.phys that return AABBModifier and TypeMethodDescriptionAABB.contract(double x, double y, double z) Creates a newthat has been contracted by the given amount, with positive changes decreasing max values and negative changes increasing min values.invalid reference
AxisAlignedBBAABB.deflate(double value) Creates a newthat is expanded by the given value in all directions.invalid reference
AxisAlignedBBAABB.deflate(double x, double y, double z) static AABBAABB.encapsulatingFullBlocks(BlockPos startPos, BlockPos endPos) AABB.expandTowards(double x, double y, double z) Creates a newthat has been expanded by the given amount, with positive changes increasing max values and negative changes decreasing min values.invalid reference
AxisAlignedBBAABB.expandTowards(Vec3 vector) AABB.inflate(double value) Creates a newthat is expanded by the given value in all directions.invalid reference
AxisAlignedBBAABB.inflate(double x, double y, double z) Creates a newthat has been contracted by the given amount in both directions.invalid reference
AxisAlignedBBAABB.move(double x, double y, double z) Offsets the current bounding box by the specified amount.AABB.move(org.joml.Vector3f vec) static AABBAABB.of(BoundingBox mutableBox) static AABBAABB.setMaxX(double maxX) AABB.setMaxY(double maxY) AABB.setMaxZ(double maxZ) AABB.setMinX(double minX) AABB.setMinY(double minY) AABB.setMinZ(double minZ) static AABBAABB.unitCubeFromLowerCorner(Vec3 vector) Methods in net.minecraft.world.phys with parameters of type AABBModifier and TypeMethodDescriptionprivate static DirectionAABB.getDirection(AABB aabb, Vec3 start, double[] minDistance, Direction facing, double deltaX, double deltaY, double deltaZ) booleanAABB.intersects(AABB other) Checks if the bounding box intersects with another.Method parameters in net.minecraft.world.phys with type arguments of type AABB -
Uses of AABB in net.minecraft.world.phys.shapes
Methods in net.minecraft.world.phys.shapes that return AABBMethods in net.minecraft.world.phys.shapes that return types with arguments of type AABBMethods in net.minecraft.world.phys.shapes with parameters of type AABBModifier and TypeMethodDescriptionstatic doubleShapes.collide(Direction.Axis movementAxis, AABB collisionBox, Iterable<VoxelShape> possibleHits, double desiredOffset) doubleVoxelShape.collide(Direction.Axis movementAxis, AABB collisionBox, double desiredOffset) protected doublestatic VoxelShape -
Uses of AABB in net.neoforged.neoforge.client.extensions
Methods in net.neoforged.neoforge.client.extensions that return AABBModifier and TypeMethodDescriptiondefault AABBIBlockEntityRendererExtension.getRenderBoundingBox(T blockEntity) Return anAABBthat controls the visible scope of thisBlockEntityRenderer. -
Uses of AABB in net.neoforged.neoforge.common
Methods in net.neoforged.neoforge.common that return AABBModifier and TypeMethodDescriptionIMinecartCollisionHandler.getBoundingBox(AbstractMinecart cart) This function replaces the function of the same name in EntityMinecart.IMinecartCollisionHandler.getCollisionBox(AbstractMinecart cart, Entity other) This function replaced the function of the same name in EntityMinecart.IMinecartCollisionHandler.getMinecartCollisionBox(AbstractMinecart cart) This function is used to define the box used for detecting minecart collisions.Methods in net.neoforged.neoforge.common with parameters of type AABBModifier and TypeMethodDescriptionstatic AABBTicketFarmlandWaterManager.addAABBTicket(Level level, AABB aabb) Convenience method to add a ticket that is backed by an AABB. -
Uses of AABB in net.neoforged.neoforge.common.extensions
Methods in net.neoforged.neoforge.common.extensions that return AABB -
Uses of AABB in net.neoforged.neoforge.common.ticket
Fields in net.neoforged.neoforge.common.ticket declared as AABBConstructors in net.neoforged.neoforge.common.ticket with parameters of type AABB