Class EnchantingPhrases
java.lang.Object
net.minecraft.client.gui.screen.ingame.EnchantingPhrases
@Environment(CLIENT) public class EnchantingPhrases extends Object
- Mappings:
Namespace Name official dwq
intermediary net/minecraft/class_487
named net/minecraft/client/gui/screen/ingame/EnchantingPhrases
-
Field Summary
Fields Modifier and Type Field Description private static Identifier
FONT_ID
private static EnchantingPhrases
INSTANCE
private String[]
phrases
private Random
random
private static Style
STYLE
-
Constructor Summary
Constructors Modifier Constructor Description private
EnchantingPhrases()
-
Method Summary
Modifier and Type Method Description StringVisitable
generatePhrase(TextRenderer fontRenderer, int width)
static EnchantingPhrases
getInstance()
void
setSeed(long seed)
-
Field Details
-
FONT_ID
- Mappings:
Namespace Name Mixin selector official a
Ldwq;a:Lwb;
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
- Mappings:
Namespace Name Mixin selector official b
Ldwq;b:Los;
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
- Mappings:
Namespace Name Mixin selector official c
Ldwq;c:Ldwq;
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
- Mappings:
Namespace Name Mixin selector official d
Ldwq;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
- Mappings:
Namespace Name Mixin selector official e
Ldwq;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
- Mappings:
Namespace Name Mixin selector official a
Ldwq;a()Ldwq;
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
- Mappings:
Namespace Name Mixin selector official a
Ldwq;a(Ldrf;I)Lol;
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
Ldwq;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
-