Package net.minecraft.loot.function
Enum Class CopyComponentsLootFunction.Source
java.lang.Object
java.lang.Enum<CopyComponentsLootFunction.Source>
net.minecraft.loot.function.CopyComponentsLootFunction.Source
- All Implemented Interfaces:
Serializable
,Comparable<CopyComponentsLootFunction.Source>
,Constable
,StringIdentifiable
- Enclosing class:
CopyComponentsLootFunction
public static enum CopyComponentsLootFunction.Source
extends Enum<CopyComponentsLootFunction.Source>
implements StringIdentifiable
- Mappings:
Namespace Name named net/minecraft/loot/function/CopyComponentsLootFunction$Source
intermediary net/minecraft/class_9317$class_9319
official exo$b
-
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
<CopyComponentsLootFunction.Source> private final String
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.getComponents
(LootContext context) Set
<ContextParameter<?>> Returns the enum constant of this class with the specified name.static CopyComponentsLootFunction.Source[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BLOCK_ENTITY
- Mappings:
Namespace Name Mixin selector named BLOCK_ENTITY
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;BLOCK_ENTITY:Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;
intermediary field_49436
Lnet/minecraft/class_9317$class_9319;field_49436:Lnet/minecraft/class_9317$class_9319;
official a
Lexo$b;a:Lexo$b;
-
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_49437
Lnet/minecraft/class_9317$class_9319;field_49437:Lcom/mojang/serialization/Codec;
official b
Lexo$b;b:Lcom/mojang/serialization/Codec;
-
id
- Mappings:
Namespace Name Mixin selector named id
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;id:Ljava/lang/String;
intermediary field_49438
Lnet/minecraft/class_9317$class_9319;field_49438:Ljava/lang/String;
official c
Lexo$b;c:Ljava/lang/String;
-
-
Constructor Details
-
Source
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;<init>(Ljava/lang/String;ILjava/lang/String;)V
intermediary <init>
Lnet/minecraft/class_9317$class_9319;<init>(Ljava/lang/String;ILjava/lang/String;)V
official <init>
Lexo$b;<init>(Ljava/lang/String;ILjava/lang/String;)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
-
getComponents
- Mappings:
Namespace Name Mixin selector named getComponents
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;getComponents(Lnet/minecraft/loot/context/LootContext;)Lnet/minecraft/component/ComponentMap;
intermediary method_57644
Lnet/minecraft/class_9317$class_9319;method_57644(Lnet/minecraft/class_47;)Lnet/minecraft/class_9323;
official a
Lexo$b;a(Lewo;)Lkq;
-
getRequiredParameters
- Mappings:
Namespace Name Mixin selector named getRequiredParameters
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;getRequiredParameters()Ljava/util/Set;
intermediary method_57643
Lnet/minecraft/class_9317$class_9319;method_57643()Ljava/util/Set;
official a
Lexo$b;a()Ljava/util/Set;
-
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;
-