Class EarsFeatures

java.lang.Object
com.unascribed.ears.api.features.EarsFeatures

public class EarsFeatures extends Object
Describes the state of every Ears feature for a player skin.
  • Field Details

    • DISABLED

      public static final EarsFeatures DISABLED
    • enabled

      public final boolean enabled
    • earMode

      public final EarsFeatures.EarMode earMode
    • earAnchor

      public final EarsFeatures.EarAnchor earAnchor
    • claws

      public final boolean claws
    • horn

      public final boolean horn
    • tailMode

      public final EarsFeatures.TailMode tailMode
    • tailSegments

      public final int tailSegments
    • tailBend0

      public final float tailBend0
    • tailBend1

      public final float tailBend1
    • tailBend2

      public final float tailBend2
    • tailBend3

      public final float tailBend3
    • snoutOffset

      public final int snoutOffset
    • snoutWidth

      public final int snoutWidth
    • snoutHeight

      public final int snoutHeight
    • snoutDepth

      public final int snoutDepth
    • chestSize

      public final float chestSize
    • wingMode

      public final EarsFeatures.WingMode wingMode
    • animateWings

      public final boolean animateWings
    • capeEnabled

      public final boolean capeEnabled
    • emissive

      public final boolean emissive
    • emissiveSkin

      public final Slice emissiveSkin
    • emissiveWing

      public final Slice emissiveWing
    • alfalfa

      public final AlfalfaData alfalfa
  • Method Details

    • getById

      public static EarsFeatures getById(UUID id)
      Look up known Ears features for the player with the given UUID. This will only work for players that the client can see and has loaded a skin for already.
    • getByUsername

      public static EarsFeatures getByUsername(String username)
      Look up known Ears features for the player with the given username. This will only work for players that the client can see and has loaded a skin for already.

      Should only be used in legacy versions where you don't have easy access to UUIDs.

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • builder

      @Deprecated public static EarsFeatures.Builder builder()
      Deprecated.
      Internal. Do not use.