Package net.minecraft.loot.context
Enum Class 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_12065intermediary net/minecraft/class_47$class_12065official fiz$d
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface net.minecraft.util.StringIdentifiable
StringIdentifiable.BasicCodec<S extends StringIdentifiable>, StringIdentifiable.EnumCodec<E extends Enum<E> & StringIdentifiable> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final ContextParameter<? extends ItemStack> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateclass_12065(String string, ContextParameter<? extends ItemStack> contextParameter) -
Method Summary
Modifier and TypeMethodDescriptionasString()Returns the unique string representation of the enum, used for serialization.ContextParameter<? extends ItemStack> static LootContext.class_12065Returns the enum constant of this class with the specified name.static LootContext.class_12065[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TOOL
- Mappings:
Namespace Name Mixin selector named TOOLLnet/minecraft/loot/context/LootContext$class_12065;TOOL:Lnet/minecraft/loot/context/LootContext$class_12065;intermediary field_63054Lnet/minecraft/class_47$class_12065;field_63054:Lnet/minecraft/class_47$class_12065;official aLfiz$d;a:Lfiz$d;
-
-
Field Details
-
field_63055
- Mappings:
Namespace Name Mixin selector named field_63055Lnet/minecraft/loot/context/LootContext$class_12065;field_63055:Ljava/lang/String;intermediary field_63055Lnet/minecraft/class_47$class_12065;field_63055:Ljava/lang/String;official bLfiz$d;b:Ljava/lang/String;
-
field_63056
- Mappings:
Namespace Name Mixin selector named field_63056Lnet/minecraft/loot/context/LootContext$class_12065;field_63056:Lnet/minecraft/util/context/ContextParameter;intermediary field_63056Lnet/minecraft/class_47$class_12065;field_63056:Lnet/minecraft/class_169;official cLfiz$d;c:Lbgu;
-
-
Constructor Details
-
class_12065
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-
method_74899
- Mappings:
Namespace Name Mixin selector named method_74899Lnet/minecraft/loot/context/LootContext$class_12065;method_74899()Lnet/minecraft/util/context/ContextParameter;intermediary method_74899Lnet/minecraft/class_47$class_12065;method_74899()Lnet/minecraft/class_169;official aLfiz$d;a()Lbgu;
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asStringin interfaceStringIdentifiable- Returns:
- the unique string representation of the enum, used for serialization
- Mappings:
Namespace Name Mixin selector named asStringLnet/minecraft/util/StringIdentifiable;asString()Ljava/lang/String;intermediary method_15434Lnet/minecraft/class_3542;method_15434()Ljava/lang/String;official cLbgh;c()Ljava/lang/String;
-