Enum Class SetNameLootFunction.class_9475

java.lang.Object
java.lang.Enum<SetNameLootFunction.class_9475>
net.minecraft.loot.function.SetNameLootFunction.class_9475
All Implemented Interfaces:
Serializable, Comparable<SetNameLootFunction.class_9475>, Constable, StringIdentifiable
Enclosing class:
SetNameLootFunction

public static enum SetNameLootFunction.class_9475 extends Enum<SetNameLootFunction.class_9475> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/loot/function/SetNameLootFunction$class_9475
intermediary net/minecraft/class_3670$class_9475
official erk$a
  • Enum Constant Details

    • CUSTOM_NAME

      public static final SetNameLootFunction.class_9475 CUSTOM_NAME
      Mappings:
      Namespace Name Mixin selector
      named CUSTOM_NAME Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;CUSTOM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;
      intermediary field_50210 Lnet/minecraft/class_3670$class_9475;field_50210:Lnet/minecraft/class_3670$class_9475;
      official a Lerk$a;a:Lerk$a;
    • ITEM_NAME

      public static final SetNameLootFunction.class_9475 ITEM_NAME
      Mappings:
      Namespace Name Mixin selector
      named ITEM_NAME Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;ITEM_NAME:Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;
      intermediary field_50211 Lnet/minecraft/class_3670$class_9475;field_50211:Lnet/minecraft/class_3670$class_9475;
      official b Lerk$a;b:Lerk$a;
  • Field Details

    • field_50212

      public static final com.mojang.serialization.Codec<SetNameLootFunction.class_9475> field_50212
      Mappings:
      Namespace Name Mixin selector
      named field_50212 Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;field_50212:Lcom/mojang/serialization/Codec;
      intermediary field_50212 Lnet/minecraft/class_3670$class_9475;field_50212:Lcom/mojang/serialization/Codec;
      official c Lerk$a;c:Lcom/mojang/serialization/Codec;
    • field_50213

      private final String field_50213
      Mappings:
      Namespace Name Mixin selector
      named field_50213 Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;field_50213:Ljava/lang/String;
      intermediary field_50213 Lnet/minecraft/class_3670$class_9475;field_50213:Ljava/lang/String;
      official d Lerk$a;d:Ljava/lang/String;
  • Constructor Details

    • class_9475

      private class_9475(String string)
  • Method Details

    • values

      public static SetNameLootFunction.class_9475[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SetNameLootFunction.class_9475 valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • asString

      public String asString()
      Returns the unique string representation of the enum, used for serialization.
      Specified by:
      asString in interface StringIdentifiable
      Returns:
      the unique string representation of the enum, used for serialization
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;
      intermediary method_15434 Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;
      official c Layx;c()Ljava/lang/String;
    • method_58734

      public DataComponentType<Text> method_58734()
      Mappings:
      Namespace Name Mixin selector
      named method_58734 Lnet/minecraft/loot/function/SetNameLootFunction$class_9475;method_58734()Lnet/minecraft/component/DataComponentType;
      intermediary method_58734 Lnet/minecraft/class_3670$class_9475;method_58734()Lnet/minecraft/class_9331;
      official a Lerk$a;a()Lka;