Package net.minecraft.loot.function
Enum Class CopyNameLootFunction.Source
- All Implemented Interfaces:
Serializable
,Comparable<CopyNameLootFunction.Source>
,Constable
,StringIdentifiable
- Enclosing class:
CopyNameLootFunction
public static enum CopyNameLootFunction.Source
extends Enum<CopyNameLootFunction.Source>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/loot/function/CopyNameLootFunction$Source
intermediary net/minecraft/class_101$class_102
official exq$a
-
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
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<CopyNameLootFunction.Source> private final String
(package private) final ContextParameter
<?> Fields inherited from interface net.minecraft.util.StringIdentifiable
CACHED_MAP_THRESHOLD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionasString()
Returns the unique string representation of the enum, used for serialization.static CopyNameLootFunction.Source
Returns the enum constant of this class with the specified name.static CopyNameLootFunction.Source[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
THIS
- Mappings:
Namespace Name Mixin selector named THIS
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;THIS:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
intermediary field_1022
Lnet/minecraft/class_101$class_102;field_1022:Lnet/minecraft/class_101$class_102;
official a
Lexq$a;a:Lexq$a;
-
ATTACKING_ENTITY
- Mappings:
Namespace Name Mixin selector named ATTACKING_ENTITY
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;ATTACKING_ENTITY:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
intermediary field_51790
Lnet/minecraft/class_101$class_102;field_51790:Lnet/minecraft/class_101$class_102;
official b
Lexq$a;b:Lexq$a;
-
LAST_DAMAGE_PLAYER
- Mappings:
Namespace Name Mixin selector named LAST_DAMAGE_PLAYER
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;LAST_DAMAGE_PLAYER:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
intermediary field_51791
Lnet/minecraft/class_101$class_102;field_51791:Lnet/minecraft/class_101$class_102;
official c
Lexq$a;c:Lexq$a;
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector named BLOCK_ENTITY
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;BLOCK_ENTITY:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
intermediary field_1023
Lnet/minecraft/class_101$class_102;field_1023:Lnet/minecraft/class_101$class_102;
official d
Lexq$a;d:Lexq$a;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_45818
Lnet/minecraft/class_101$class_102;field_45818:Lcom/mojang/serialization/Codec;
official e
Lexq$a;e:Lcom/mojang/serialization/Codec;
-
name
- Mappings:
Namespace Name Mixin selector named name
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;name:Ljava/lang/String;
intermediary field_1025
Lnet/minecraft/class_101$class_102;field_1025:Ljava/lang/String;
official f
Lexq$a;f:Ljava/lang/String;
-
parameter
- Mappings:
Namespace Name Mixin selector named parameter
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;parameter:Lnet/minecraft/util/context/ContextParameter;
intermediary field_1024
Lnet/minecraft/class_101$class_102;field_1024:Lnet/minecraft/class_169;
official g
Lexq$a;g:Lbbn;
-
-
Constructor Details
-
Source
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/util/context/ContextParameter;)V
intermediary <init>
Lnet/minecraft/class_101$class_102;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_169;)V
official <init>
Lexq$a;<init>(Ljava/lang/String;ILjava/lang/String;Lbbn;)V
-
-
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
-
asString
Returns the unique string representation of the enum, used for serialization.- Specified by:
asString
in interfaceStringIdentifiable
- 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
Lbba;c()Ljava/lang/String;
-