Class DisplayRotator

java.lang.Object
org.skriptlang.skript.bukkit.misc.rotation.DisplayRotator
All Implemented Interfaces:
Rotator<org.bukkit.entity.Display>

public class DisplayRotator extends Object implements Rotator<org.bukkit.entity.Display>
Rotates Displays around the X, Y, and Z axes, as well as any arbitrary axis. Supports all local axes. Modifies the left rotation of the display.
  • Constructor Details

    • DisplayRotator

      public DisplayRotator(Rotator.Axis axis, float angle)
    • DisplayRotator

      public DisplayRotator(Rotator.Axis axis, org.joml.Vector3f vector, float angle)
  • 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.
      Specified by:
      rotate in interface Rotator<org.bukkit.entity.Display>