Package net.minecraft.loot.function
Enum CopyNameLootFunction.Source
- All Implemented Interfaces:
Serializable
,Comparable<CopyNameLootFunction.Source>
,java.lang.constant.Constable
- Enclosing class:
- CopyNameLootFunction
public static enum CopyNameLootFunction.Source extends Enum<CopyNameLootFunction.Source>
- Mappings:
Namespace Name official dfk$a
intermediary net/minecraft/class_101$class_102
named net/minecraft/loot/function/CopyNameLootFunction$Source
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCK_ENTITY
KILLER
KILLER_PLAYER
THIS
-
Field Summary
Fields Modifier and Type Field Description String
name
LootContextParameter<?>
parameter
-
Constructor Summary
Constructors Modifier Constructor Description private
Source(String name, LootContextParameter<?> parameter)
-
Method Summary
Modifier and Type Method Description static CopyNameLootFunction.Source
get(String name)
static CopyNameLootFunction.Source
valueOf(String name)
Returns the enum constant of this type with the specified name.static CopyNameLootFunction.Source[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
THIS
- Mappings:
Namespace Name Mixin selector official a
Ldfk$a;a:Ldfk$a;
intermediary field_1022
Lnet/minecraft/class_101$class_102;field_1022:Lnet/minecraft/class_101$class_102;
named THIS
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;THIS:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
-
KILLER
- Mappings:
Namespace Name Mixin selector official b
Ldfk$a;b:Ldfk$a;
intermediary field_1019
Lnet/minecraft/class_101$class_102;field_1019:Lnet/minecraft/class_101$class_102;
named KILLER
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;KILLER:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
-
KILLER_PLAYER
- Mappings:
Namespace Name Mixin selector official c
Ldfk$a;c:Ldfk$a;
intermediary field_1020
Lnet/minecraft/class_101$class_102;field_1020:Lnet/minecraft/class_101$class_102;
named KILLER_PLAYER
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;KILLER_PLAYER:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector official d
Ldfk$a;d:Ldfk$a;
intermediary field_1023
Lnet/minecraft/class_101$class_102;field_1023:Lnet/minecraft/class_101$class_102;
named BLOCK_ENTITY
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;BLOCK_ENTITY:Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
-
-
Field Details
-
name
- Mappings:
Namespace Name Mixin selector official e
Ldfk$a;e:Ljava/lang/String;
intermediary field_1025
Lnet/minecraft/class_101$class_102;field_1025:Ljava/lang/String;
named name
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;name:Ljava/lang/String;
-
parameter
- Mappings:
Namespace Name Mixin selector official f
Ldfk$a;f:Ldgl;
intermediary field_1024
Lnet/minecraft/class_101$class_102;field_1024:Lnet/minecraft/class_169;
named parameter
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;parameter:Lnet/minecraft/loot/context/LootContextParameter;
-
-
Constructor Details
-
Source
- Mappings:
Namespace Name Mixin selector official <init>
Ldfk$a;<init>(Ljava/lang/String;ILjava/lang/String;Ldgl;)V
intermediary <init>
Lnet/minecraft/class_101$class_102;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/class_169;)V
named <init>
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;<init>(Ljava/lang/String;ILjava/lang/String;Lnet/minecraft/loot/context/LootContextParameter;)V
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
get
- Mappings:
Namespace Name Mixin selector official a
Ldfk$a;a(Ljava/lang/String;)Ldfk$a;
intermediary method_475
Lnet/minecraft/class_101$class_102;method_475(Ljava/lang/String;)Lnet/minecraft/class_101$class_102;
named get
Lnet/minecraft/loot/function/CopyNameLootFunction$Source;get(Ljava/lang/String;)Lnet/minecraft/loot/function/CopyNameLootFunction$Source;
-