Class NameGenerator

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

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

    • PREFIX

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

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

    • NameGenerator

      public NameGenerator()
  • Method Details

    • name

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

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

      private static String getRandom(Random random, String[] options)
      Mappings:
      Namespace Name Mixin selector
      official a Lyo;a(Laoh;[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;
      named getRandom Lnet/minecraft/util/NameGenerator;getRandom(Lnet/minecraft/util/math/random/Random;[Ljava/lang/String;)Ljava/lang/String;
    • randomFromUuid

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