Class DisplayRotator
java.lang.Object
org.skriptlang.skript.bukkit.misc.rotation.DisplayRotator
- All Implemented Interfaces:
Rotator<org.bukkit.entity.Display>
Rotates
Display
s around the X, Y, and Z axes, as well as any arbitrary axis.
Supports all local axes.
Modifies the left rotation of the display.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.skriptlang.skript.bukkit.misc.rotation.Rotator
Rotator.Axis
-
Constructor Summary
ConstructorDescriptionDisplayRotator
(Rotator.Axis axis, float angle) DisplayRotator
(Rotator.Axis axis, org.joml.Vector3f vector, float angle) -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.entity.Display
rotate
(org.bukkit.entity.Display input) Rotates the input around the rotator's axis by the rotator's angle.
-
Constructor Details
-
DisplayRotator
-
DisplayRotator
-
-
Method Details
-
rotate
@Contract("_ -> param1") public org.bukkit.entity.Display rotate(org.bukkit.entity.Display input) Description copied from interface:Rotator
Rotates the input around the rotator's axis by the rotator's angle. May modify the input.
-