Enum Class LootContext.class_12065

java.lang.Object
java.lang.Enum<LootContext.class_12065>
net.minecraft.loot.context.LootContext.class_12065
All Implemented Interfaces:
Serializable, Comparable<LootContext.class_12065>, Constable, StringIdentifiable
Enclosing class:
LootContext

public static enum LootContext.class_12065 extends Enum<LootContext.class_12065> implements StringIdentifiable
Mappings:
Namespace Name
named net/minecraft/loot/context/LootContext$class_12065
intermediary net/minecraft/class_47$class_12065
official fiz$d
  • Enum Constant Details

    • TOOL

      public static final LootContext.class_12065 TOOL
      Mappings:
      Namespace Name Mixin selector
      named TOOL Lnet/minecraft/loot/context/LootContext$class_12065;TOOL:Lnet/minecraft/loot/context/LootContext$class_12065;
      intermediary field_63054 Lnet/minecraft/class_47$class_12065;field_63054:Lnet/minecraft/class_47$class_12065;
      official a Lfiz$d;a:Lfiz$d;
  • Field Details

    • field_63055

      private final String field_63055
      Mappings:
      Namespace Name Mixin selector
      named field_63055 Lnet/minecraft/loot/context/LootContext$class_12065;field_63055:Ljava/lang/String;
      intermediary field_63055 Lnet/minecraft/class_47$class_12065;field_63055:Ljava/lang/String;
      official b Lfiz$d;b:Ljava/lang/String;
    • field_63056

      private final ContextParameter<? extends ItemStack> field_63056
      Mappings:
      Namespace Name Mixin selector
      named field_63056 Lnet/minecraft/loot/context/LootContext$class_12065;field_63056:Lnet/minecraft/util/context/ContextParameter;
      intermediary field_63056 Lnet/minecraft/class_47$class_12065;field_63056:Lnet/minecraft/class_169;
      official c Lfiz$d;c:Lbgu;
  • Constructor Details

  • Method Details

    • values

      public static LootContext.class_12065[] 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 LootContext.class_12065 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
    • method_74899

      public ContextParameter<? extends ItemStack> method_74899()
      Mappings:
      Namespace Name Mixin selector
      named method_74899 Lnet/minecraft/loot/context/LootContext$class_12065;method_74899()Lnet/minecraft/util/context/ContextParameter;
      intermediary method_74899 Lnet/minecraft/class_47$class_12065;method_74899()Lnet/minecraft/class_169;
      official a Lfiz$d;a()Lbgu;
    • 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 Lbgh;c()Ljava/lang/String;