Class TransitionTag

  • All Implemented Interfaces:
    Inserting, Tag, net.kyori.examination.Examinable

    public final class TransitionTag
    extends java.lang.Object
    implements Inserting, net.kyori.examination.Examinable
    Changes the color based on a phase param.
    Since:
    4.10.0
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.kyori.adventure.text.minimessage.tag.Tag

        Tag.Argument
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String TRANSITION  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object other)  
      @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()  
      int hashCode()  
      @NotNull Component value()
      Returns the component this tag produces.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface net.kyori.examination.Examinable

        examinableName, examine
    • Method Detail

      • value

        @NotNull
        public @NotNull Component value()
        Description copied from interface: Inserting
        Returns the component this tag produces.
        Specified by:
        value in interface Inserting
        Returns:
        the component this tag produces
      • examinableProperties

        @NotNull
        public @NotNull java.util.stream.Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()
        Specified by:
        examinableProperties in interface net.kyori.examination.Examinable
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object