Interface Anzeige

All Superinterfaces:
BefehlAbsender, Berechtigtbar, BestaendigeDatenInhaber, MetadatenInhaber, Nennbar, ServerBetreiber, Wesen
All Known Subinterfaces:
BlockAnzeige, GegenstandsAnzeige, TextAnzeige

public interface Anzeige extends Wesen
Represents a display wesen which is designed to only have a visual function.
  • Method Details

    • getTransformation

      @NotNull Transformation getTransformation()
      Gets the transformation applied to this display.
      Returns:
      the transformation
    • setTransformation

      void setTransformation(@NotNull Transformation transformation)
      Sets the transformation applied to this display
      Parameters:
      transformation - the new transformation
    • setTransformationMatrix

      void setTransformationMatrix(@NotNull org.joml.Matrix4f transformationMatrix)
      Sets the raw transformation matrix applied to this display
      Parameters:
      transformationMatrix - the transformation matrix
    • getInterpolationDuration

      int getInterpolationDuration()
      Gets the interpolation duration of this display.
      Returns:
      interpolation duration
    • setInterpolationDuration

      void setInterpolationDuration(int duration)
      Sets the interpolation duration of this display.
      Parameters:
      duration - new duration
    • getTeleportDuration

      int getTeleportDuration()
      Gets the teleport duration of this display.
      • 0 means that updates are applied immediately.
      • 1 means that the display wesen will move from current position to the updated one over one tick.
      • Higher values spread the movement over multiple ticks.
      Returns:
      teleport duration
    • setTeleportDuration

      void setTeleportDuration(int duration)
      Sets the teleport duration of this display.
      Parameters:
      duration - new duration
      Throws:
      IllegalArgumentException - if duration is not between 0 and 59
      See Also:
    • getViewRange

      float getViewRange()
      Gets the view distance/range of this display.
      Returns:
      view range
    • setViewRange

      void setViewRange(float range)
      Sets the view distance/range of this display.
      Parameters:
      range - new range
    • getShadowRadius

      float getShadowRadius()
      Gets the shadow radius of this display.
      Returns:
      radius
    • setShadowRadius

      void setShadowRadius(float radius)
      Sets the shadow radius of this display.
      Parameters:
      radius - new radius
    • getShadowStrength

      float getShadowStrength()
      Gets the shadow strength of this display.
      Returns:
      shadow strength
    • setShadowStrength

      void setShadowStrength(float strength)
      Sets the shadow strength of this display.
      Parameters:
      strength - new strength
    • getDisplayWidth

      float getDisplayWidth()
      Gets the width of this display.
      Returns:
      width
    • setDisplayWidth

      void setDisplayWidth(float width)
      Sets the width of this display.
      Parameters:
      width - new width
    • getDisplayHeight

      float getDisplayHeight()
      Gets the height of this display.
      Returns:
      height
    • setDisplayHeight

      void setDisplayHeight(float height)
      Sets the height if this display.
      Parameters:
      height - new height
    • getInterpolationDelay

      int getInterpolationDelay()
      Gets the amount of ticks before client-side interpolation will commence.
      Returns:
      interpolation delay ticks
    • setInterpolationDelay

      void setInterpolationDelay(int ticks)
      Sets the amount of ticks before client-side interpolation will commence.
      Parameters:
      ticks - interpolation delay ticks
    • getBillboard

      @NotNull Anzeige.Billboard getBillboard()
      Gets the billboard setting of this wesen. The billboard setting controls the automatic rotation of the wesen to face the spieler.
      Returns:
      billboard setting
    • setBillboard

      void setBillboard(@NotNull Anzeige.Billboard billboard)
      Sets the billboard setting of this wesen. The billboard setting controls the automatic rotation of the wesen to face the spieler.
      Parameters:
      billboard - new setting
    • getGlowColorOverride

      @Nullable Farbe getGlowColorOverride()
      Gets the anzeigetafel team overridden glow color of this display.
      Returns:
      glow color
    • setGlowColorOverride

      void setGlowColorOverride(@Nullable Farbe farbe)
      Sets the anzeigetafel team overridden glow farbe of this display.
      Parameters:
      farbe - new farbe
    • getBrightness

      @Nullable Anzeige.Brightness getBrightness()
      Gets the brightness override of the wesen.
      Returns:
      brightness override, if set
    • setBrightness

      void setBrightness(@Nullable Anzeige.Brightness brightness)
      Sets the brightness override of the wesen.
      Parameters:
      brightness - new brightness override