Class EnchantingPhrases

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

@Environment(CLIENT) public class EnchantingPhrases extends Object
Mappings:
Namespace Name
official elx
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 Lelx;a:Laaj;
      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 Lelx;b:Lrv;
      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 Lelx;c:Lelx;
      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 Lelx;d:Lalu;
      intermediary field_2918 Lnet/minecraft/class_487;field_2918:Lnet/minecraft/class_5819;
      named random Lnet/minecraft/client/gui/screen/ingame/EnchantingPhrases;random:Lnet/minecraft/util/math/random/Random;
    • phrases

      private final String[] phrases
      Mappings:
      Namespace Name Mixin selector
      official e Lelx;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 Lelx;a()Lelx;
      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 Lelx;a(Legb;I)Lrp;
      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 Lelx;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