Uses of Class
com.hypixel.hytale.math.vector.Rotation3f
Packages that use Rotation3f
Package
Description
-
Uses of Rotation3f in com.hypixel.hytale.builtin.adventure.teleporter.component
Methods in com.hypixel.hytale.builtin.adventure.teleporter.component with parameters of type Rotation3fModifier and TypeMethodDescriptionTeleporter.toTeleport(org.joml.Vector3d currentPosition, Rotation3f currentRotation, org.joml.Vector3i blockPosition) -
Uses of Rotation3f in com.hypixel.hytale.builtin.adventure.worldevents.context
Methods in com.hypixel.hytale.builtin.adventure.worldevents.context that return Rotation3fModifier and TypeMethodDescriptionLocationContext.rotation()Returns the value of therotationrecord component.Constructors in com.hypixel.hytale.builtin.adventure.worldevents.context with parameters of type Rotation3fModifierConstructorDescriptionLocationContext(org.joml.Vector3i location, Rotation3f rotation) Creates an instance of aLocationContextrecord class. -
Uses of Rotation3f in com.hypixel.hytale.builtin.buildertools
Methods in com.hypixel.hytale.builtin.buildertools with parameters of type Rotation3fModifier and TypeMethodDescriptionorg.joml.Vector3iBuilderToolsPlugin.BuilderState.transformBlockLocation(org.joml.Vector3i blockLocation, org.joml.Quaterniond rotation, org.joml.Vector3i translationOffset, Rotation3f rotationOrigin) voidBuilderToolsPlugin.BuilderState.transformSelectionPoints(org.joml.Quaterniond rotation, org.joml.Vector3i translationOffset, Rotation3f rotationOrigin) voidBuilderToolsPlugin.BuilderState.transformThenPasteClipboard(BlockChange[] blockChanges, PrototypePlayerBuilderToolSettings.FluidChange[] fluidChanges, PrototypePlayerBuilderToolSettings.EntityChange[] entityChanges, Holder<ChunkStore>[] blockHolders, org.joml.Quaterniond rotation, org.joml.Vector3i translationOffset, Rotation3f rotationOrigin, org.joml.Vector3i initialPastePoint, boolean keepEmptyBlocks, PrototypePlayerBuilderToolSettings prototypeSettings, List<SelectionSnapshot<?>> extraSnapshots, ComponentAccessor<EntityStore> componentAccessor) -
Uses of Rotation3f in com.hypixel.hytale.builtin.deployables
Methods in com.hypixel.hytale.builtin.deployables with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic Ref<EntityStore> DeployablesUtils.spawnDeployable(CommandBuffer<EntityStore> commandBuffer, Store<EntityStore> store, DeployableConfig config, Ref<EntityStore> deployerRef, org.joml.Vector3d position, Rotation3f rotation, String spawnFace) Called to spawn and return a deployable entity based on the provided deployable config. -
Uses of Rotation3f in com.hypixel.hytale.builtin.instances.blocks
Methods in com.hypixel.hytale.builtin.instances.blocks that return Rotation3fMethods in com.hypixel.hytale.builtin.instances.blocks with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidConfigurableInstanceBlock.setRotation(Rotation3f rotation) Called to set the rotation of this instance block state.Constructors in com.hypixel.hytale.builtin.instances.blocks with parameters of type Rotation3fModifierConstructorDescriptionConfigurableInstanceBlock(UUID worldUUID, boolean closeOnRemove, String instanceName, String instanceKey, org.joml.Vector3d positionOffset, Rotation3f rotation, boolean personalReturnPoint, double removeBlockAfter) -
Uses of Rotation3f in com.hypixel.hytale.builtin.path.entities
Methods in com.hypixel.hytale.builtin.path.entities that return Rotation3fModifier and TypeMethodDescriptionPatrolPathMarkerEntity.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) -
Uses of Rotation3f in com.hypixel.hytale.builtin.path.path
Methods in com.hypixel.hytale.builtin.path.path with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidTransientPath.addWaypoint(org.joml.Vector3d position, Rotation3f rotation) static IPath<SimplePathWaypoint> TransientPath.buildPath(org.joml.Vector3d origin, Rotation3f rotation, Queue<RelativeWaypointDefinition> instructions, double scale) TransientPathDefinition.buildPath(org.joml.Vector3d position, Rotation3f rotation) -
Uses of Rotation3f in com.hypixel.hytale.builtin.reactiveblocks.states
Methods in com.hypixel.hytale.builtin.reactiveblocks.states with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidBlockExplosive.doExplosion(BlockType blockType, org.joml.Vector3d position, Rotation3f blockRotation, ComponentAccessor<EntityStore> entityAccessor, ComponentAccessor<ChunkStore> chunkAccessor) -
Uses of Rotation3f in com.hypixel.hytale.builtin.teleport.components
Methods in com.hypixel.hytale.builtin.teleport.components with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidTeleportHistory.append(World world, org.joml.Vector3d pos, Rotation3f rotation, String key) Append a new waypoint to the teleport history.Constructors in com.hypixel.hytale.builtin.teleport.components with parameters of type Rotation3fModifierConstructorDescriptionWaypoint(String world, org.joml.Vector3d position, Rotation3f rotation, String message) Default Constructor for aTeleportHistory.Waypointinstance. -
Uses of Rotation3f in com.hypixel.hytale.math
Methods in com.hypixel.hytale.math with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidAxis.flipRotation(Rotation3f rotation) Flips the x, y, or z component of the rotation vector that corresponds to this Axis. -
Uses of Rotation3f in com.hypixel.hytale.math.util
Methods in com.hypixel.hytale.math.util that return Rotation3fModifier and TypeMethodDescriptionstatic Rotation3fMathUtil.getRotationForHitNormal(org.joml.Vector3d normal) -
Uses of Rotation3f in com.hypixel.hytale.math.vector
Fields in com.hypixel.hytale.math.vector with type parameters of type Rotation3fModifier and TypeFieldDescriptionstatic final BuilderCodec<Rotation3f> Rotation3f.CODECThe codec used to parse aRotation3finstance as rotation.static final BuilderCodec<Rotation3f> Rotation3f.PARTIAL_TELEPORT_CODECThe codec used to parse aRotation3finstance as rotation with default values ofFloat.NaN.Methods in com.hypixel.hytale.math.vector that return Rotation3fModifier and TypeMethodDescriptionRotation3f.add(float x, float y, float z) Called to add values to this rotation.Rotation3f.add(Rotation3f v) Called to add another rotation to this one.Rotation3f.clone()Location.getRotation()Transform.getRotation()static Rotation3fRotation3f.lerp(Rotation3f a, Rotation3f b, float t) Called to linearly interpolate between two rotations.static Rotation3fRotation3f.lerpAngle(Rotation3fc a, Rotation3fc b, float t) Called to linearly interpolate between two angles.static Rotation3fRotation3f.lerpAngle(Rotation3fc a, Rotation3fc b, float t, Rotation3f target) Called to linearly interpolate between two angles and store it in a target rotation.static Rotation3fRotation3f.lerpUnclamped(Rotation3f a, Rotation3f b, float t) Called to linearly interpolate between two rotations without clamping.static Rotation3fRotation3f.lookAt(double dx, double dy, double dz) Called to compute the look at rotation for a relative direction.static Rotation3fRotation3f.lookAt(double dx, double dy, double dz, Rotation3f result) Called to compute the look at rotation for a relative direction and store it in a result rotation.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc relative) Called to compute the look at rotation for a relative rotation.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc relative, Rotation3f result) Called to compute the look at rotation for a relative rotation and store it in a result rotation.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc eye, org.joml.Vector3dc target) Called to compute the look at rotation from an eye position to a target position.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc eye, org.joml.Vector3dc target, Rotation3f result) Called to compute the look at rotation from an eye position to a target position and store it in a result rotation.Rotation3f.mul(float s) Called to scale this rotation.Rotation3f.mul(Rotation3f p) Called to scale this rotation by another rotation.Rotation3f.mul(org.joml.Quaterniondc q) Rotation3f.mul(org.joml.Quaterniondc q, Rotation3f dest) Rotation3fc.mul(org.joml.Quaterniondc q, Rotation3f dest) Rotate these Euler angles byqand store the result indest.Rotation3f.negate()Called to negate this rotation.Rotation3f.premul(org.joml.Quaterniondc q) Rotation3f.premul(org.joml.Quaterniondc q, Rotation3f dest) Rotation3fc.premul(org.joml.Quaterniondc q, Rotation3f dest) Pre-rotate these Euler angles byqand store the result indest.Rotation3f.set(float[] v) Called to assign the values from an array to this rotation.Rotation3f.set(float x, float y, float z) Called to assign the values to this rotation.Rotation3f.set(Rotation3fc v) Called to assign the values of another rotation to this one.Rotation3f.sub(float x, float y, float z) Called to subtract values from this rotation.Rotation3f.sub(Rotation3f v) Called to subtract another rotation from this one.Rotation3f.sub(org.joml.Vector3i v) Called to subtract an integer rotation from this one.Methods in com.hypixel.hytale.math.vector with parameters of type Rotation3fModifier and TypeMethodDescriptionRotation3f.add(Rotation3f v) Called to add another rotation to this one.static Rotation3fRotation3f.lerp(Rotation3f a, Rotation3f b, float t) Called to linearly interpolate between two rotations.static Rotation3fRotation3f.lerpAngle(Rotation3fc a, Rotation3fc b, float t, Rotation3f target) Called to linearly interpolate between two angles and store it in a target rotation.static Rotation3fRotation3f.lerpUnclamped(Rotation3f a, Rotation3f b, float t) Called to linearly interpolate between two rotations without clamping.static Rotation3fRotation3f.lookAt(double dx, double dy, double dz, Rotation3f result) Called to compute the look at rotation for a relative direction and store it in a result rotation.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc relative, Rotation3f result) Called to compute the look at rotation for a relative rotation and store it in a result rotation.static Rotation3fRotation3f.lookAt(org.joml.Vector3dc eye, org.joml.Vector3dc target, Rotation3f result) Called to compute the look at rotation from an eye position to a target position and store it in a result rotation.Rotation3f.mul(Rotation3f p) Called to scale this rotation by another rotation.Rotation3f.mul(org.joml.Quaterniondc q, Rotation3f dest) Rotation3fc.mul(org.joml.Quaterniondc q, Rotation3f dest) Rotate these Euler angles byqand store the result indest.Rotation3f.premul(org.joml.Quaterniondc q, Rotation3f dest) Rotation3fc.premul(org.joml.Quaterniondc q, Rotation3f dest) Pre-rotate these Euler angles byqand store the result indest.voidLocation.setRotation(Rotation3f rotation) Called to set the rotation at the position.Rotation3f.sub(Rotation3f v) Called to subtract another rotation from this one.Constructors in com.hypixel.hytale.math.vector with parameters of type Rotation3fModifierConstructorDescriptionLocation(String world, org.joml.Vector3d position, Rotation3f rotation) Default Constructor for aLocationinstance.Location(org.joml.Vector3d position, Rotation3f rotation) Constructor for aLocationinstance.Transform(org.joml.Vector3d position, Rotation3f rotation) Default Constructor for aTransforminstance. -
Uses of Rotation3f in com.hypixel.hytale.server.core.asset.type.blocktype.config
Methods in com.hypixel.hytale.server.core.asset.type.blocktype.config with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic voidRotation.applyRotationTo(Rotation3f rotation, Rotation rotationYaw, Rotation rotationPitch, Rotation rotationRoll) voidRotationTuple.applyRotationTo(Rotation3f rotation) -
Uses of Rotation3f in com.hypixel.hytale.server.core.asset.type.blocktype.config.mountpoints
Methods in com.hypixel.hytale.server.core.asset.type.blocktype.config.mountpoints that return Rotation3f -
Uses of Rotation3f in com.hypixel.hytale.server.core.entity
Methods in com.hypixel.hytale.server.core.entity that return Rotation3fMethods in com.hypixel.hytale.server.core.entity with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic voidExplosionUtils.performExplosion(Damage.Source damageSource, org.joml.Vector3d position, Rotation3f rotation, ExplosionConfig config, Ref<EntityStore> ignoreRef, ComponentAccessor<EntityStore> componentAccessor, ComponentAccessor<ChunkStore> chunkStore) Called to perform an explosion at the given position, referencing the provided explosion config.Constructors in com.hypixel.hytale.server.core.entity with parameters of type Rotation3fModifierConstructorDescriptionEntitySnapshot(org.joml.Vector3d position, Rotation3f bodyRotation) -
Uses of Rotation3f in com.hypixel.hytale.server.core.entity.entities
Methods in com.hypixel.hytale.server.core.entity.entities with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic Holder<EntityStore> ProjectileComponent.assembleDefaultProjectile(TimeResource time, String projectileAssetName, org.joml.Vector3d position, Rotation3f rotation) Creates a new entity holder, using the given projectile name, position and rotation -
Uses of Rotation3f in com.hypixel.hytale.server.core.entity.entities.player.data
Fields in com.hypixel.hytale.server.core.entity.entities.player.data declared as Rotation3f -
Uses of Rotation3f in com.hypixel.hytale.server.core.modules.camera
Methods in com.hypixel.hytale.server.core.modules.camera with parameters of type Rotation3fModifier and TypeMethodDescriptionCameraSequenceBuilder.keyframe(org.joml.Vector3d position, Rotation3f look, float duration, EasingType easing) Adds a keyframe the camera reaches overdurationseconds from the previous keyframe, looking in an explicit direction.CameraKeyframeBuilder.look(Rotation3f look) Sets an explicit look direction. -
Uses of Rotation3f in com.hypixel.hytale.server.core.modules.entity.component
Methods in com.hypixel.hytale.server.core.modules.entity.component that return Rotation3fMethods in com.hypixel.hytale.server.core.modules.entity.component with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidTransformComponent.setRotation(Rotation3f rotation) Called to set the rotation of the entity.static Ref<EntityStore> PersistentPrefabPreview.spawn(Store<EntityStore> store, org.joml.Vector3d position, Rotation3f rotation, String prefabKey, int visibleLayerCount) Spawns a prefab-preview ("hologram") entity showing the lowestvisibleLayerCountlayers of the prefab at the given position, tinted to match the local biome.static Ref<EntityStore> PersistentPrefabPreview.spawn(Store<EntityStore> store, org.joml.Vector3d position, Rotation3f rotation, String prefabKey, int visibleLayerCount, int biomeTint, int waterTint) Spawns a prefab preview with an explicit biome/water tint instead of deriving one from the world.voidSnapshotBuffer.storeSnapshot(int tickIndex, org.joml.Vector3d position, Rotation3f bodyRotation) Stores the given information in a snapshot for the giventickIndex.voidHeadRotation.teleportRotation(Rotation3f rotation) Set the head rotation.voidTransformComponent.teleportRotation(Rotation3f rotation) Set the rotation. -
Uses of Rotation3f in com.hypixel.hytale.server.core.modules.entity.teleport
Methods in com.hypixel.hytale.server.core.modules.entity.teleport that return Rotation3fMethods in com.hypixel.hytale.server.core.modules.entity.teleport with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic voidTeleportSystems.queueAndSendClientTeleport(PlayerRef playerRefComponent, org.joml.Vector3d position, Rotation3f rotation, Rotation3f lookOrientation, boolean resetVelocity) Queues an expected teleport ack for the player and sends the matchingClientTeleport. -
Uses of Rotation3f in com.hypixel.hytale.server.core.modules.interaction.host
Methods in com.hypixel.hytale.server.core.modules.interaction.host with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic Ref<EntityStore> InteractionHost.spawnHost(Store<EntityStore> store, org.joml.Vector3d position, Rotation3f rotation, float ttlSeconds, IInteractionSimulationHandler simulationHandler) Spawns a host entity at the given pose using the supplied simulation handler. -
Uses of Rotation3f in com.hypixel.hytale.server.core.modules.projectile.config
Methods in com.hypixel.hytale.server.core.modules.projectile.config with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidStandardPhysicsProvider.rotateBody(double dt, Rotation3f bodyRotation) -
Uses of Rotation3f in com.hypixel.hytale.server.core.universe
Methods in com.hypixel.hytale.server.core.universe that return Rotation3fMethods in com.hypixel.hytale.server.core.universe with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidPlayerRef.updatePosition(World world, Transform transform, Rotation3f headRotation) Called to update the current position information of the player ref. -
Uses of Rotation3f in com.hypixel.hytale.server.core.universe.world
Methods in com.hypixel.hytale.server.core.universe.world with parameters of type Rotation3fModifier and TypeMethodDescription<T extends Entity>
TWorld.addEntity(T entity, org.joml.Vector3d position, Rotation3f rotation, AddReason reason) Deprecated.<T extends Entity>
TWorld.spawnEntity(T entity, org.joml.Vector3d position, Rotation3f rotation) Deprecated.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, Rotation3f rotation, Ref<EntityStore> sourceRef, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients.static voidParticleUtil.spawnParticleEffect(String name, org.joml.Vector3dc position, Rotation3f rotation, List<Ref<EntityStore>> playerRefs, ComponentAccessor<EntityStore> componentAccessor) Called to spawn a particle effect at the given location for all the given player clients. -
Uses of Rotation3f in com.hypixel.hytale.server.core.universe.world.path
Methods in com.hypixel.hytale.server.core.universe.world.path that return Rotation3fModifier and TypeMethodDescriptionIPathWaypoint.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) Returns the rotation of this waypointSimplePathWaypoint.getWaypointRotation(ComponentAccessor<EntityStore> componentAccessor) -
Uses of Rotation3f in com.hypixel.hytale.server.core.util
Methods in com.hypixel.hytale.server.core.util that return Rotation3fModifier and TypeMethodDescriptionstatic Rotation3fPositionUtil.toRotation(Direction orientation) Methods in com.hypixel.hytale.server.core.util with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic DirectionPositionUtil.toDirectionPacket(Rotation3f rotation) Converts a rotation into its protocolDirectionform, replacing any non-finite yaw, pitch, or roll (NaN or positive/negative infinity) with0. -
Uses of Rotation3f in com.hypixel.hytale.server.npc.movement
Methods in com.hypixel.hytale.server.npc.movement that return Rotation3fMethods in com.hypixel.hytale.server.npc.movement with parameters of type Rotation3fModifier and TypeMethodDescriptionSteering.setDirectionHint(Rotation3f rotation) Steering.setDirectionHint(Rotation3f rotation, boolean forceOverwrite) Steering.setDirectionHint(org.joml.Vector3d direction, Rotation3f rotation, boolean forceOverwrite) -
Uses of Rotation3f in com.hypixel.hytale.server.npc.role
Methods in com.hypixel.hytale.server.npc.role with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidRole.blendAvoidance(Ref<EntityStore> ref, org.joml.Vector3d position, Rotation3f rotation, Steering steering, CommandBuffer<EntityStore> commandBuffer) voidRole.blendSeparation(Ref<EntityStore> selfRef, org.joml.Vector3d position, Rotation3f rotation, Steering steering, ComponentType<EntityStore, TransformComponent> transformComponentType, CommandBuffer<EntityStore> commandBuffer) default voidSpawnEffect.spawnEffect(Holder<EntityStore> holder, BuilderSupport support, org.joml.Vector3d position, Rotation3f rotation, ComponentAccessor<EntityStore> componentAccessor) -
Uses of Rotation3f in com.hypixel.hytale.server.npc.sensorinfo
Methods in com.hypixel.hytale.server.npc.sensorinfo with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic voidPositionSetProvider.applyTransform(IPositionProvider in, PositionSetTransform transform, PositionSetProvider out, boolean carryTarget, org.joml.Vector3d tmpIn, org.joml.Vector3d tmpOut, Rotation3f tmpRot, Store<EntityStore> store) Mapstransformover every element ofin(a single position or anIPositionSet) intoout, dropping elements the transform rejects.booleanEntityPositionProvider.getOrientation(int index, Rotation3f out) default booleanIPositionSet.getOrientation(int index, Rotation3f out) Writes the orientation of elementindexintoout, when that element carries one.booleanPositionSetProvider.getOrientation(int index, Rotation3f out) default booleanIPositionProvider.provideOrientation(Rotation3f out) Writes the orientation of the current (primary) position intoout, when one is available.booleanPositionProvider.provideOrientation(Rotation3f out) booleanPositionSetProvider.provideOrientation(Rotation3f out) -
Uses of Rotation3f in com.hypixel.hytale.server.npc.util
Methods in com.hypixel.hytale.server.npc.util with parameters of type Rotation3fModifier and TypeMethodDescriptionstatic org.joml.Vector3dNPCPhysicsMath.getViewDirection(Rotation3f rotation, org.joml.Vector3d outDirection) Compute view direction (not necessarily normalized) of an entity.static voidNPCPhysicsMath.rotationFromDirection(double x, double y, double z, Rotation3fc inRotation, Rotation3f outRotation) Return rotation with pitch and yaw computed from direction.static voidNPCPhysicsMath.rotationFromDirection(org.joml.Vector3dc direction, Rotation3fc inRotation, Rotation3f outRotation) static voidNPCPhysicsMath.rotationFromDirection(org.joml.Vector3dc from, org.joml.Vector3dc to, Rotation3fc inRotation, Rotation3f outRotation) -
Uses of Rotation3f in com.hypixel.hytale.server.spawning
Fields in com.hypixel.hytale.server.spawning declared as Rotation3fModifier and TypeFieldDescriptionfinal Rotation3fSpawningContext.rotationThe rotation of the spawn position; only initialized when the world is set.Methods in com.hypixel.hytale.server.spawning that return Rotation3f -
Uses of Rotation3f in com.hypixel.hytale.server.spawning.spawnmarkers
Methods in com.hypixel.hytale.server.spawning.spawnmarkers with parameters of type Rotation3fModifier and TypeMethodDescriptionvoidSpawnMarkerDebug.renderInvalidMarker(Store<EntityStore> store, org.joml.Vector3dc position, Rotation3f rotation)