Class NameGenerator

java.lang.Object
net.minecraft.util.NameGenerator

public class NameGenerator extends Object
Mappings:
Namespace Name
named net/minecraft/util/NameGenerator
intermediary net/minecraft/class_4617
official ahi
  • Field Details

    • PREFIX

      private static final String[] PREFIX
      Mappings:
      Namespace Name Mixin selector
      named PREFIX Lnet/minecraft/util/NameGenerator;PREFIX:[Ljava/lang/String;
      intermediary field_21050 Lnet/minecraft/class_4617;field_21050:[Ljava/lang/String;
      official a Lahi;a:[Ljava/lang/String;
    • SUFFIX

      private static final String[] SUFFIX
      Mappings:
      Namespace Name Mixin selector
      named SUFFIX Lnet/minecraft/util/NameGenerator;SUFFIX:[Ljava/lang/String;
      intermediary field_21051 Lnet/minecraft/class_4617;field_21051:[Ljava/lang/String;
      official b Lahi;b:[Ljava/lang/String;
  • Constructor Details

    • NameGenerator

      public NameGenerator()
  • Method Details

    • name

      public static String name(Entity entity)
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/util/NameGenerator;name(Lnet/minecraft/entity/Entity;)Ljava/lang/String;
      intermediary method_36154 Lnet/minecraft/class_4617;method_36154(Lnet/minecraft/class_1297;)Ljava/lang/String;
      official a Lahi;a(Lbvj;)Ljava/lang/String;
    • name

      public static String name(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/util/NameGenerator;name(Ljava/util/UUID;)Ljava/lang/String;
      intermediary method_23267 Lnet/minecraft/class_4617;method_23267(Ljava/util/UUID;)Ljava/lang/String;
      official a Lahi;a(Ljava/util/UUID;)Ljava/lang/String;
    • getRandom

      private static String getRandom(Random random, String[] options)
      Mappings:
      Namespace Name Mixin selector
      named getRandom Lnet/minecraft/util/NameGenerator;getRandom(Lnet/minecraft/util/math/random/Random;[Ljava/lang/String;)Ljava/lang/String;
      intermediary method_23266 Lnet/minecraft/class_4617;method_23266(Lnet/minecraft/class_5819;[Ljava/lang/String;)Ljava/lang/String;
      official a Lahi;a(Lbam;[Ljava/lang/String;)Ljava/lang/String;
    • randomFromUuid

      private static Random randomFromUuid(UUID uuid)
      Mappings:
      Namespace Name Mixin selector
      named randomFromUuid Lnet/minecraft/util/NameGenerator;randomFromUuid(Ljava/util/UUID;)Lnet/minecraft/util/math/random/Random;
      intermediary method_23268 Lnet/minecraft/class_4617;method_23268(Ljava/util/UUID;)Lnet/minecraft/class_5819;
      official b Lahi;b(Ljava/util/UUID;)Lbam;