Uses of Class
com.hypixel.hytale.math.shape.Box
Packages that use Box
Package
Description
-
Uses of Box in com.hypixel.hytale.builtin.adventure.objectives.config.markerarea
Methods in com.hypixel.hytale.builtin.adventure.objectives.config.markerarea that return BoxModifier and TypeMethodDescriptionObjectiveLocationMarkerArea.getBoxForEntryArea()ObjectiveLocationMarkerArea.getBoxForExitArea()ObjectiveLocationAreaBox.getEntryArea()ObjectiveLocationAreaBox.getExitArea()Constructors in com.hypixel.hytale.builtin.adventure.objectives.config.markerarea with parameters of type Box -
Uses of Box in com.hypixel.hytale.math.iterator
Methods in com.hypixel.hytale.math.iterator with parameters of type BoxModifier and TypeMethodDescriptionstatic booleanBoxBlockIterator.iterate(Box box, double px, double py, double pz, double dx, double dy, double dz, double maxDistance, BoxBlockIterator.BoxIterationConsumer consumer) Starts the iteration process at with a given axis-aligned bounding box along a given direction until it hits a given maxDistance and reports all hit blocks to the given consumer.static booleanBoxBlockIterator.iterate(Box box, double px, double py, double pz, double dx, double dy, double dz, double maxDistance, BoxBlockIterator.BoxIterationConsumer consumer, BoxBlockIterator.BoxIterationBuffer buffer) Starts the iteration process at with a given axis-aligned bounding box along a given direction until it hits a given maxDistance and reports all hit blocks to the given consumer.static booleanBoxBlockIterator.iterate(Box box, org.joml.Vector3d position, org.joml.Vector3d d, double maxDistance, BoxBlockIterator.BoxIterationConsumer consumer) Starts the iteration process at with a given axis-aligned bounding box along a given direction until it hits a given maxDistance and reports all hit blocks to the given consumer.static booleanBoxBlockIterator.iterate(Box box, org.joml.Vector3d pos, org.joml.Vector3d d, double maxDistance, BoxBlockIterator.BoxIterationConsumer consumer, BoxBlockIterator.BoxIterationBuffer buffer) Starts the iteration process at with a given axis-aligned bounding box along a given direction until it hits a given maxDistance and reports all hit blocks to the given consumer. -
Uses of Box in com.hypixel.hytale.math.shape
Fields in com.hypixel.hytale.math.shape declared as BoxFields in com.hypixel.hytale.math.shape with type parameters of type BoxMethods in com.hypixel.hytale.math.shape that return BoxModifier and TypeMethodDescriptionBox.assign(double minX, double minY, double minZ, double maxX, double maxY, double maxZ) static BoxBox.centeredCube(org.joml.Vector3dc center, double inradius) Box.clone()static BoxBox.cube(org.joml.Vector3dc min, double side) Box.enclosingRotatedAABB(float pitch, float yaw, float roll) Computes the axis-aligned bounding box that fully encloses this box after rotating all 8 corners by the given Euler angles (pitch, yaw, roll).Box.extend(double extentX, double extentY, double extentZ) Box.getBox(double x, double y, double z) Cylinder.getBox(double x, double y, double z) Ellipsoid.getBox(double x, double y, double z) OriginShape.getBox(double x, double y, double z) Shape.getBox(double x, double y, double z) default BoxShape.getBox(org.joml.Vector3dc position) static BoxBox.horizontallyCentered(double width, double height, double depth) Box.minkowskiSum(Box bb) Box.normalize()Box.offset(double x, double y, double z) Box.offset(org.joml.Vector3dc pos) Box.rotateX(float angleInRadians) Box.rotateY(float angleInRadians) Box.rotateZ(float angleInRadians) Box.scale(float scale) Box.setEmpty()Box.setMinMax(double[] min, double[] max) Box.setMinMax(double min, double max) Box.setMinMax(float[] min, float[] max) Box.setMinMax(org.joml.Vector3dc min, org.joml.Vector3dc max) Box.sweep(org.joml.Vector3dc v) Methods in com.hypixel.hytale.math.shape with parameters of type BoxConstructors in com.hypixel.hytale.math.shape with parameters of type Box -
Uses of Box in com.hypixel.hytale.server.core.asset.type.blockhitbox
Methods in com.hypixel.hytale.server.core.asset.type.blockhitbox that return BoxModifier and TypeMethodDescriptionBlockBoundingBoxes.RotatedVariantBoxes.getBoundingBox()Box[]BlockBoundingBoxes.RotatedVariantBoxes.getDetailBoxes()Constructors in com.hypixel.hytale.server.core.asset.type.blockhitbox with parameters of type Box -
Uses of Box in com.hypixel.hytale.server.core.asset.type.model
Methods in com.hypixel.hytale.server.core.asset.type.model that return BoxModifier and TypeMethodDescriptionstatic BoxBlockyModelBoundsParser.computeBounds(CommonAsset asset) static BoxBlockyModelBoundsParser.computeBounds(String modelPath) -
Uses of Box in com.hypixel.hytale.server.core.asset.type.model.config
Methods in com.hypixel.hytale.server.core.asset.type.model.config that return BoxModifier and TypeMethodDescriptionModel.getBoundingBox()Model.getBoundingBox(MovementStates movementStates) ModelAsset.getBoundingBox()DetailBox.getBox()Model.getCrouchBoundingBox()Model.getSittingBoundingBox()Model.getSleepingBoundingBox()Methods in com.hypixel.hytale.server.core.asset.type.model.config with parameters of type BoxModifier and TypeMethodDescriptionstatic ModelModel.createScaledModel(ModelAsset modelAsset, float scale, Map<String, String> randomAttachmentIds, Box overrideBoundingBox) static ModelModel.createScaledModel(ModelAsset modelAsset, float scale, Map<String, String> randomAttachmentIds, Box overrideBoundingBox, boolean staticModel) static ModelModel.createUnitScaleModel(ModelAsset modelAsset, Box boundingBox) Constructors in com.hypixel.hytale.server.core.asset.type.model.config with parameters of type BoxModifierConstructorDescriptionModel(String modelAssetId, float scale, Map<String, String> randomAttachmentIds, ModelAttachment[] attachments, Box boundingBox, String model, String texture, String gradientSet, String gradientId, float eyeHeight, float crouchOffset, float sittingOffset, float sleepingOffset, Map<String, ModelAsset.AnimationSet> animationSetMap, CameraSettings camera, ColorLight light, ModelParticle[] particles, ModelTrail[] trails, PhysicsValues physicsValues, Map<String, DetailBox[]> detailBoxes, Phobia phobia, String phobiaModelAssetId) -
Uses of Box in com.hypixel.hytale.server.core.codec
Fields in com.hypixel.hytale.server.core.codec with type parameters of type Box -
Uses of Box in com.hypixel.hytale.server.core.io
Fields in com.hypixel.hytale.server.core.io with type parameters of type BoxModifier and TypeFieldDescriptionstatic final NetworkSerializer<Box, Hitbox> NetworkSerializers.BOX -
Uses of Box in com.hypixel.hytale.server.core.modules.collision
Methods in com.hypixel.hytale.server.core.modules.collision that return BoxModifier and TypeMethodDescriptionCollisionConfig.getBoundingBox()CollisionConfig.getBoundingBox(int i) Methods in com.hypixel.hytale.server.core.modules.collision with parameters of type BoxModifier and TypeMethodDescriptionvoidBlockCollisionProvider.cast(World world, Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, IBlockCollisionConsumer collisionConsumer, IBlockTracker activeTriggers, double collisionStop) Cast a box collider and report block collisions, triggers and damage.doubleEntityCollisionProvider.computeNearest(Box entityBoundingBox, org.joml.Vector3d pos, org.joml.Vector3d dir, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignore, ComponentAccessor<EntityStore> componentAccessor) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.doubleEntityCollisionProvider.computeNearest(org.joml.Vector3d pos, org.joml.Vector3d dir, Box boundingBox, double radius, BiPredicate<Ref<EntityStore>, ComponentAccessor<EntityStore>> entityFilter, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignoreOther, ComponentAccessor<EntityStore> componentAccessor) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.doubleEntityRefCollisionProvider.computeNearest(CommandBuffer<EntityStore> commandBuffer, Box entityBoundingBox, org.joml.Vector3d pos, org.joml.Vector3d dir, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignore) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.doubleEntityRefCollisionProvider.computeNearest(CommandBuffer<EntityStore> commandBuffer, org.joml.Vector3d pos, org.joml.Vector3d dir, Box boundingBox, double radius, BiPredicate<Ref<EntityStore>, CommandBuffer<EntityStore>> entityFilter, Ref<EntityStore> ignoreSelf, Ref<EntityStore> ignoreOther) Find nearest collision of AABB swept along a vector with another entity and store it in contact list.static voidCollisionModule.findBlockCollisionsIterative(World world, Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, boolean stopOnCollisionFound, CollisionResult result) Called to find block collisions for a moving box collider in the world using an iterative approach.static voidCollisionModule.findBlockCollisionsShortDistance(World world, Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, CollisionResult result) Called to find block collisions for a moving box collider in the world using a short distance approach.static voidCollisionModule.findCharacterCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find character collisions for a moving box collider in the world.static booleanCollisionModule.findCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, boolean stopOnCollisionFound, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find collisions for a moving box collider in the world.static booleanCollisionModule.findCollisions(Box collider, org.joml.Vector3d pos, org.joml.Vector3d v, CollisionResult result, ComponentAccessor<EntityStore> componentAccessor) Called to find collisions for a moving box collider in the world.voidCollisionModule.findIntersections(World world, Box collider, org.joml.Vector3d pos, CollisionResult result, boolean triggerBlocks, boolean intersections) Called to find intersections for a box collider in the world.static intCollisionMath.intersectAABBs(double px, double py, double pz, Box bbP, double qx, double qy, double qz, Box bbQ) Test if two AABBs intersect or touchstatic intCollisionMath.intersectAABBs(double px, double py, double pz, Box bbP, double qx, double qy, double qz, Box bbQ, double thickness) Test if two AABBs intersect or touch with thickness parameter.static intCollisionMath.intersectAABBs(org.joml.Vector3d p, Box bbP, org.joml.Vector3d q, Box bbQ) Test if two AABBs intersect or touchintBoxBlockIntersectionEvaluator.intersectBox(Box otherBox, double x, double y, double z) intBoxBlockIntersectionEvaluator.intersectBoxComputeOnGround(Box otherBox, double x, double y, double z) intBoxBlockIntersectionEvaluator.intersectBoxComputeTouch(Box otherBox, double x, double y, double z) static doubleCollisionMath.intersectRayAABB(org.joml.Vector3d pos, org.joml.Vector3d ray, double x, double y, double z, Box box) Find intersection between (infinite) ray starting at pos with given length and AABBstatic booleanCollisionMath.intersectRayAABB(org.joml.Vector3d pos, org.joml.Vector3d ray, double x, double y, double z, Box box, org.joml.Vector2d minMax) Find intersection between (infinite) ray starting at pos with given length and AABBstatic booleanCollisionMath.intersectSweptAABBs(org.joml.Vector3d posP, org.joml.Vector3d vP, Box p, double qx, double qy, double qz, Box q, org.joml.Vector2d minMax, Box temp) Find collision between an AABB swept along a ray with another AABBstatic booleanCollisionMath.intersectSweptAABBs(org.joml.Vector3d posP, org.joml.Vector3d vP, Box p, org.joml.Vector3d posQ, Box q, org.joml.Vector2d minMax, Box temp) Find collision between an AABB swept along a ray with another AABBstatic booleanCollisionMath.intersectVectorAABB(org.joml.Vector3d pos, org.joml.Vector3d vec, double x, double y, double z, Box box, org.joml.Vector2d minMax) Find intersection between vector starting at pos and AABBbooleanMovingBoxBoxCollisionEvaluator.isBoundingBoxColliding(Box blockBoundingBox, double x, double y, double z) booleanBoxBlockIntersectionEvaluator.isBoxIntersecting(Box otherBox, double x, double y, double z) voidCollisionResult.iterateBlocks(Box collider, org.joml.Vector3d pos, org.joml.Vector3d direction, double length, boolean stopOnCollisionFound, double extent) IBlockCollisionConsumer.onCollision(int blockX, int blockY, int blockZ, org.joml.Vector3d direction, BlockContactData contactData, BlockData blockData, Box collider) Process a collision between a block and the collider.MovingBoxBoxCollisionEvaluator.setCollider(Box collider) <T> intCollisionModule.validatePosition(World world, Box collider, org.joml.Vector3dc pos, int invalidBlockMaterials, T t, CollisionFilter<BoxBlockIntersectionEvaluator, T> predicate, CollisionResult result) Called to validate a position for a box collider in the world.intCollisionModule.validatePosition(World world, Box collider, org.joml.Vector3dc pos, CollisionResult result) Called to validate a position for a box collider in the world. -
Uses of Box in com.hypixel.hytale.server.core.modules.entity.component
Methods in com.hypixel.hytale.server.core.modules.entity.component that return BoxMethods in com.hypixel.hytale.server.core.modules.entity.component with parameters of type BoxModifier and TypeMethodDescriptionvoidBoundingBox.setBaseModelBox(Box baseModelBox) voidBoundingBox.setBoundingBox(Box boundingBox) Constructors in com.hypixel.hytale.server.core.modules.entity.component with parameters of type Box -
Uses of Box in com.hypixel.hytale.server.core.modules.entity.item
Methods in com.hypixel.hytale.server.core.modules.entity.item with parameters of type BoxModifier and TypeMethodDescriptionstatic voidItemPrePhysicsSystem.applyGravity(float dt, Box boundingBox, PhysicsValues values, org.joml.Vector3d position, Velocity velocity) static voidItemPrePhysicsSystem.moveOutOfBlock(BlockSection blockSection, org.joml.Vector3d position, Velocity velocityComponent, Box boundingBox) Called to move the given position out of a solid block if it is currently overlapping one. -
Uses of Box in com.hypixel.hytale.server.core.modules.entity.player
Methods in com.hypixel.hytale.server.core.modules.entity.player with parameters of type BoxModifier and TypeMethodDescriptionvoidKnockbackPredictionSystems.SimulateKnockback.applyMovementOffset(World world, Box hitBox, KnockbackSimulation simulation, MovementStates movementStates, org.joml.Vector3d movementOffset) Deprecated. -
Uses of Box in com.hypixel.hytale.server.core.modules.physics
Methods in com.hypixel.hytale.server.core.modules.physics with parameters of type BoxModifier and TypeMethodDescriptionSimplePhysicsProvider.onCollision(int blockX, int blockY, int blockZ, org.joml.Vector3d direction, BlockContactData contactData, BlockData blockData, Box collider) Deprecated. -
Uses of Box in com.hypixel.hytale.server.core.modules.physics.util
Methods in com.hypixel.hytale.server.core.modules.physics.util with parameters of type BoxModifier and TypeMethodDescriptionstatic doublePhysicsMath.computeProjectedArea(double x, double y, double z, Box box) Compute area of projection of box onto plane with normal given by direction vectorstatic doublePhysicsMath.computeProjectedArea(org.joml.Vector3d direction, Box box) Compute area of projection of box onto plane with normal given by direction vectorstatic doublePhysicsMath.getRelativeDensity(org.joml.Vector3d position, Box boundingBox) static doublePhysicsMath.volumeOfIntersection(Box a, org.joml.Vector3dc posA, Box b, double posBX, double posBY, double posBZ) Compute volume of intersection between to boxes.static doublePhysicsMath.volumeOfIntersection(Box a, org.joml.Vector3dc posA, Box b, org.joml.Vector3dc posB) Compute volume of intersection between to boxes. -
Uses of Box in com.hypixel.hytale.server.core.modules.projectile.config
Methods in com.hypixel.hytale.server.core.modules.projectile.config with parameters of type BoxModifier and TypeMethodDescriptionStandardPhysicsProvider.onCollision(int blockX, int blockY, int blockZ, org.joml.Vector3d direction, BlockContactData contactData, BlockData blockData, Box collider) -
Uses of Box in com.hypixel.hytale.server.npc.movement.controllers
Methods in com.hypixel.hytale.server.npc.movement.controllers that return BoxModifier and TypeMethodDescriptionMotionController.getCollisionBoundingBox()MotionControllerBase.getCollisionBoundingBox()Methods in com.hypixel.hytale.server.npc.movement.controllers with parameters of type BoxModifier and TypeMethodDescriptionstatic doubleMotionControllerDive.relativeSwimDepthToBoundingBox(double swimDepth, Box boundingBox, float eyeHeight) static doubleMotionControllerDive.relativeSwimDepthToHeight(double swimDepth, Box boundingBox, float eyeHeight) static doubleMotionControllerDive.relativeSwimDepthToHeight(Ref<EntityStore> ref, double swimDepth, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) booleanMotionController.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerBase.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) booleanMotionControllerWalk.translateToAccessiblePosition(org.joml.Vector3d position, Box boundingBox, double minYValue, double maxYValue, ComponentAccessor<EntityStore> componentAccessor) voidMotionController.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerBase.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerDive.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) voidMotionControllerWalk.updateModelParameters(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) -
Uses of Box in com.hypixel.hytale.server.npc.role
Methods in com.hypixel.hytale.server.npc.role with parameters of type BoxModifier and TypeMethodDescriptionvoidRole.updateMotionControllers(Ref<EntityStore> ref, Model model, Box boundingBox, ComponentAccessor<EntityStore> componentAccessor) Called to update each motion controller of this role -
Uses of Box in com.hypixel.hytale.server.npc.util
Methods in com.hypixel.hytale.server.npc.util with parameters of type BoxModifier and TypeMethodDescriptionstatic doubleNPCPhysicsMath.collisionSphereRadius(Box boundingBox) static doubleNPCPhysicsMath.getBoundingBoxCenterToCornerDistance(Box box, org.joml.Vector3dc componentSelector) static doubleNPCPhysicsMath.getMaxBoundingBoxExtent(Box box, org.joml.Vector3dc componentSelector) static doubleNPCPhysicsMath.getMinBoundingBoxDistance(Box box, Box box2, org.joml.Vector3dc componentSelector) static doubleNPCPhysicsMath.getMinBoundingBoxExtent(Box box, org.joml.Vector3dc componentSelector) booleanPositionProbeAir.probePosition(Ref<EntityStore> ref, Box boundingBox, org.joml.Vector3d position, CollisionResult collisionResult, ComponentAccessor<EntityStore> componentAccessor) booleanPositionProbeWater.probePosition(Ref<EntityStore> ref, Box boundingBox, org.joml.Vector3d position, CollisionResult collisionResult, double swimDepth, ComponentAccessor<EntityStore> componentAccessor)