Class Style

java.lang.Object
net.minecraft.network.chat.Style

public final class Style extends Object
A Style for Component. Stores color, text formatting (bold, etc.) as well as possible HoverEvent/ClickEvent.
  • Field Details

    • EMPTY

      public static final Style EMPTY
    • NO_SHADOW

      public static final int NO_SHADOW
      See Also:
    • color

      private final @Nullable TextColor color
    • shadowColor

      private final @Nullable Integer shadowColor
    • bold

      private final @Nullable Boolean bold
    • italic

      private final @Nullable Boolean italic
    • underlined

      private final @Nullable Boolean underlined
    • strikethrough

      private final @Nullable Boolean strikethrough
    • obfuscated

      private final @Nullable Boolean obfuscated
    • clickEvent

      private final @Nullable ClickEvent clickEvent
    • hoverEvent

      private final @Nullable HoverEvent hoverEvent
    • insertion

      private final @Nullable String insertion
    • font

      private final @Nullable FontDescription font
  • Constructor Details

  • Method Details