Uses of Interface
com.hypixel.hytale.math.vector.Rotation3fc
Packages that use Rotation3fc
Package
Description
-
Uses of Rotation3fc in com.hypixel.hytale.builtin.adventure.worldevents.context
Methods in com.hypixel.hytale.builtin.adventure.worldevents.context that return Rotation3fc -
Uses of Rotation3fc in com.hypixel.hytale.math.vector
Classes in com.hypixel.hytale.math.vector that implement Rotation3fcModifier and TypeClassDescriptionclassA 3-dimensional Euler rotation with single-precision floating point components.Fields in com.hypixel.hytale.math.vector declared as Rotation3fcModifier and TypeFieldDescriptionstatic final Rotation3fcRotation3f.IDENTITYstatic final Rotation3fcRotation3f.NaNstatic final Rotation3fcRotation3f.ZEROMethods in com.hypixel.hytale.math.vector with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic voidTransform.applyMaskedRelativeTransform(Transform transform, byte relativeMask, org.joml.Vector3dc sourcePosition, Rotation3fc sourceRotation, org.joml.Vector3ic blockPosition) Modifies the transform provided using the provided relative mask and source positions.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.Rotation3f.set(Rotation3fc v) Called to assign the values of another rotation to this one.voidTransform.setRotation(Rotation3fc rotation) Called to set the rotation of the transform.Constructors in com.hypixel.hytale.math.vector with parameters of type Rotation3fcModifierConstructorDescriptionDefault Copy Constructor for aRotation3finstance.Transform(org.joml.Vector3dc position, Rotation3fc rotation) Constructor for aTransforminstance that copies the given position and rotation. -
Uses of Rotation3fc in com.hypixel.hytale.server.core.command.system.arguments.types
Fields in com.hypixel.hytale.server.core.command.system.arguments.types with type parameters of type Rotation3fc -
Uses of Rotation3fc in com.hypixel.hytale.server.core.modules.entity.component
Methods in com.hypixel.hytale.server.core.modules.entity.component with parameters of type Rotation3fcConstructors in com.hypixel.hytale.server.core.modules.entity.component with parameters of type Rotation3fcModifierConstructorDescriptionHeadRotation(Rotation3fc rotation) TransformComponent(org.joml.Vector3dc position, Rotation3fc rotation) Default Constructor for aTransformComponentinstance. -
Uses of Rotation3fc in com.hypixel.hytale.server.core.modules.entity.item
Methods in com.hypixel.hytale.server.core.modules.entity.item with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic Holder<EntityStore> ItemComponent.generateItemDrop(ComponentAccessor<EntityStore> accessor, ItemStack itemStack, org.joml.Vector3d position, Rotation3fc rotation, float velocityX, float velocityY, float velocityZ) Generates a single entity holder for an entity item based on the given item stack to be dropped.static Holder<EntityStore>[]ItemComponent.generateItemDrops(ComponentAccessor<EntityStore> accessor, List<ItemStack> itemStacks, org.joml.Vector3d position, Rotation3fc rotation) Called to generate an array of entity item entity holders based on the provided item stacks. -
Uses of Rotation3fc in com.hypixel.hytale.server.core.modules.entity.teleport
Methods in com.hypixel.hytale.server.core.modules.entity.teleport with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic TeleportTeleport.createExact(org.joml.Vector3dc position, Rotation3fc bodyRotation) Creates a teleport using the exact body and head rotations provided.static TeleportTeleport.createExact(org.joml.Vector3dc position, Rotation3fc bodyRotation, Rotation3fc headRotation) Creates a teleport using the exact body and head rotations provided.static TeleportTeleport.createForPlayer(World world, org.joml.Vector3dc position, Rotation3fc rotation) Creates a teleport to a position and rotation, applying only yaw to body rotation and full rotation to head.static TeleportTeleport.createForPlayer(org.joml.Vector3dc position, Rotation3fc rotation) Creates a teleport to a position and rotation, applying only yaw to body rotation and full rotation to head.Teleport.setHeadRotation(Rotation3fc headRotation) Called to set the head rotation of this specific teleport component.voidTeleport.setRotation(Rotation3fc rotation) Called to set the rotation of this specific teleport component.Constructors in com.hypixel.hytale.server.core.modules.entity.teleport with parameters of type Rotation3fcModifierConstructorDescriptionTeleport(World world, org.joml.Vector3dc position, Rotation3fc rotation) Constructor for aTeleportinstance which includes a potential target world.Teleport(org.joml.Vector3dc position, Rotation3fc rotation) Constructor for aTeleportinstance for applying a specific position and rotation. -
Uses of Rotation3fc in com.hypixel.hytale.server.core.util
Methods in com.hypixel.hytale.server.core.util with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic voidPositionUtil.assign(Direction direction, Rotation3fc vector) static booleanPositionUtil.equals(Rotation3fc vector, Direction direction) -
Uses of Rotation3fc in com.hypixel.hytale.server.flock
Methods in com.hypixel.hytale.server.flock with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic Ref<EntityStore> FlockPlugin.trySpawnFlock(Ref<EntityStore> npcRef, NPCEntity npc, int roleIndex, org.joml.Vector3dc position, Rotation3fc rotation, int flockSize, FlockAsset flockDefinition, TriConsumer<NPCEntity, Holder<EntityStore>, Store<EntityStore>> preAddToWorld, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn, Store<EntityStore> store) static Ref<EntityStore> FlockPlugin.trySpawnFlock(Ref<EntityStore> npcRef, NPCEntity npc, Store<EntityStore> store, int roleIndex, org.joml.Vector3dc position, Rotation3fc rotation, int flockSize, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) static Ref<EntityStore> FlockPlugin.trySpawnFlock(Ref<EntityStore> npcRef, NPCEntity npc, Store<EntityStore> store, int roleIndex, org.joml.Vector3dc position, Rotation3fc rotation, FlockAsset flockDefinition, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) -
Uses of Rotation3fc in com.hypixel.hytale.server.npc
Methods in com.hypixel.hytale.server.npc with parameters of type Rotation3fcModifier and TypeMethodDescriptionit.unimi.dsi.fastutil.Pair<Ref<EntityStore>, NPCEntity> NPCPlugin.spawnEntity(Store<EntityStore> store, int roleIndex, org.joml.Vector3dc position, Rotation3fc rotation, Model spawnModel, TriConsumer<NPCEntity, Holder<EntityStore>, Store<EntityStore>> preAddToWorld, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Called to spawn and return an NPC entity in the given world.it.unimi.dsi.fastutil.Pair<Ref<EntityStore>, NPCEntity> NPCPlugin.spawnEntity(Store<EntityStore> store, int roleIndex, org.joml.Vector3dc position, Rotation3fc rotation, Model spawnModel, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Called to spawn and return an NPC entity in the given world.it.unimi.dsi.fastutil.Pair<Ref<EntityStore>, INonPlayerCharacter> NPCPlugin.spawnNPC(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation) Called to spawn and returns an NPC in the given world.NPCPlugin.spawnNPCWithColumnProbe(Store<EntityStore> store, String npcType, String groupType, World world, int worldBlockX, int worldBlockZ, double yHint, Rotation3fc rotation) Spawns an NPC using column probing (SpawningContext.set(World, double, double, double)thenSpawningContext.canSpawn()), for cases where an exact pose is blocked but a nearby column may fit (including ground placement for walkers).NPCPlugin.spawnNPCWithColumnProbe(Store<EntityStore> store, String npcType, String groupType, World world, int worldBlockX, int worldBlockZ, double yHint, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Spawns an NPC using column probing, with an optional post-spawn callback.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation) Called to spawn and return an NPC entity in the given world if the NPC can fit at the supplied exact position.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn) Called to spawn and return an NPC entity in the given world if the NPC can fit at the supplied exact position, with an optional post-spawn callback.NPCPlugin.spawnNPCWithSpaceValidation(Store<EntityStore> store, String npcType, String groupType, org.joml.Vector3dc position, Rotation3fc rotation, TriConsumer<NPCEntity, Ref<EntityStore>, Store<EntityStore>> postSpawn, boolean cubeBlockersOnly, boolean centerHitbox) -
Uses of Rotation3fc in com.hypixel.hytale.server.npc.entities
Methods in com.hypixel.hytale.server.npc.entities with parameters of type Rotation3fcModifier and TypeMethodDescriptionvoidNPCEntity.saveLeashInformation(org.joml.Vector3dc position, Rotation3fc rotation) -
Uses of Rotation3fc in com.hypixel.hytale.server.npc.sensorinfo
Methods in com.hypixel.hytale.server.npc.sensorinfo with parameters of type Rotation3fcModifier and TypeMethodDescriptionvoidPositionSetProvider.add(double x, double y, double z, Ref<EntityStore> target, Rotation3fc orientation) Appends a computed position carrying an orientation.voidPositionProvider.setOrientation(Rotation3fc orientation) -
Uses of Rotation3fc in com.hypixel.hytale.server.npc.util
Methods in com.hypixel.hytale.server.npc.util with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic 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 Rotation3fc in com.hypixel.hytale.server.spawning.beacons
Methods in com.hypixel.hytale.server.spawning.beacons with parameters of type Rotation3fcModifier and TypeMethodDescriptionstatic it.unimi.dsi.fastutil.Pair<Ref<EntityStore>, LegacySpawnBeaconEntity> LegacySpawnBeaconEntity.create(BeaconSpawnWrapper spawnWrapper, org.joml.Vector3dc position, Rotation3fc rotation, ComponentAccessor<EntityStore> componentAccessor) static Holder<EntityStore> LegacySpawnBeaconEntity.createHolder(BeaconSpawnWrapper spawnWrapper, org.joml.Vector3dc position, Rotation3fc rotation)