Class EnchantingPhrases

java.lang.Object
net.minecraft.client.gui.screen.ingame.EnchantingPhrases

@Environment(CLIENT) public class EnchantingPhrases extends Object
Mappings:
Namespace Name
official eef
intermediary net/minecraft/class_487
named net/minecraft/client/gui/screen/ingame/EnchantingPhrases
  • Field Details

    • FONT_ID

      private static final Identifier FONT_ID
      Mappings:
      Namespace Name Mixin selector
      official a Leef;a:Lyh;
      intermediary field_24283 Lnet/minecraft/class_487;field_24283:Lnet/minecraft/class_2960;
      named FONT_ID Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;FONT_ID:Lnet/minecraft/util/Identifier;
    • STYLE

      private static final Style STYLE
      Mappings:
      Namespace Name Mixin selector
      official b Leef;b:Lqj;
      intermediary field_24284 Lnet/minecraft/class_487;field_24284:Lnet/minecraft/class_2583;
      named STYLE Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;STYLE:Lnet/minecraft/text/Style;
    • INSTANCE

      private static final EnchantingPhrases INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official c Leef;c:Leef;
      intermediary field_2917 Lnet/minecraft/class_487;field_2917:Lnet/minecraft/class_487;
      named INSTANCE Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;INSTANCE:Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;
    • random

      private final Random random
      Mappings:
      Namespace Name Mixin selector
      official d Leef;d:Ljava/util/Random;
      intermediary field_2918 Lnet/minecraft/class_487;field_2918:Ljava/util/Random;
      named random Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;random:Ljava/util/Random;
    • phrases

      private final String[] phrases
      Mappings:
      Namespace Name Mixin selector
      official e Leef;e:[Ljava/lang/String;
      intermediary field_2916 Lnet/minecraft/class_487;field_2916:[Ljava/lang/String;
      named phrases Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;phrases:[Ljava/lang/String;
  • Constructor Details

    • EnchantingPhrases

      private EnchantingPhrases()
  • Method Details

    • getInstance

      public static EnchantingPhrases getInstance()
      Mappings:
      Namespace Name Mixin selector
      official a Leef;a()Leef;
      intermediary method_2481 Lnet/minecraft/class_487;method_2481()Lnet/minecraft/class_487;
      named getInstance Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;getInstance()Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;
    • generatePhrase

      public StringVisitable generatePhrase(TextRenderer textRenderer, int width)
      Mappings:
      Namespace Name Mixin selector
      official a Leef;a(Ldyl;I)Lqc;
      intermediary method_2479 Lnet/minecraft/class_487;method_2479(Lnet/minecraft/class_327;I)Lnet/minecraft/class_5348;
      named generatePhrase Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;generatePhrase(Lnet/minecraft/client/font/TextRenderer;I)Lnet/minecraft/text/StringVisitable;
    • setSeed

      public void setSeed(long seed)
      Mappings:
      Namespace Name Mixin selector
      official a Leef;a(J)V
      intermediary method_2480 Lnet/minecraft/class_487;method_2480(J)V
      named setSeed Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;setSeed(J)V