Package net.minecraft.loot.function
Class CopyComponentsLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<CopyComponentsLootFunction.Builder>
net.minecraft.loot.function.CopyComponentsLootFunction.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<CopyComponentsLootFunction.Builder>
,LootFunction.Builder
- Enclosing class:
CopyComponentsLootFunction
public static class CopyComponentsLootFunction.Builder
extends ConditionalLootFunction.Builder<CopyComponentsLootFunction.Builder>
- Mappings:
Namespace Name named net/minecraft/loot/function/CopyComponentsLootFunction$Builder
intermediary net/minecraft/class_9317$class_9318
official erj$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<ImmutableList.Builder<DataComponentType<?>>> private Optional
<ImmutableList.Builder<DataComponentType<?>>> private final CopyComponentsLootFunction.Source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
exclude
(DataComponentType<?> type) protected CopyComponentsLootFunction.Builder
include
(DataComponentType<?> type) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
source
- Mappings:
Namespace Name Mixin selector named source
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;source:Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;
intermediary field_49434
Lnet/minecraft/class_9317$class_9318;field_49434:Lnet/minecraft/class_9317$class_9319;
official a
Lerj$a;a:Lerj$b;
-
include
- Mappings:
Namespace Name Mixin selector named include
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;include:Ljava/util/Optional;
intermediary field_50205
Lnet/minecraft/class_9317$class_9318;field_50205:Ljava/util/Optional;
official b
Lerj$a;b:Ljava/util/Optional;
-
exclude
- Mappings:
Namespace Name Mixin selector named exclude
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;exclude:Ljava/util/Optional;
intermediary field_50206
Lnet/minecraft/class_9317$class_9318;field_50206:Ljava/util/Optional;
official c
Lerj$a;c:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
Builder(CopyComponentsLootFunction.Source source) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;<init>(Lnet/minecraft/loot/function/CopyComponentsLootFunction$Source;)V
intermediary <init>
Lnet/minecraft/class_9317$class_9318;<init>(Lnet/minecraft/class_9317$class_9319;)V
official <init>
Lerj$a;<init>(Lerj$b;)V
-
-
Method Details
-
include
- Mappings:
Namespace Name Mixin selector named include
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;include(Lnet/minecraft/component/DataComponentType;)Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;
intermediary method_58730
Lnet/minecraft/class_9317$class_9318;method_58730(Lnet/minecraft/class_9331;)Lnet/minecraft/class_9317$class_9318;
official a
Lerj$a;a(Lkl;)Lerj$a;
-
exclude
- Mappings:
Namespace Name Mixin selector named exclude
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;exclude(Lnet/minecraft/component/DataComponentType;)Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;
intermediary method_58731
Lnet/minecraft/class_9317$class_9318;method_58731(Lnet/minecraft/class_9331;)Lnet/minecraft/class_9317$class_9318;
official b
Lerj$a;b(Lkl;)Lerj$a;
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<CopyComponentsLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector named getThisBuilder
Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/CopyComponentsLootFunction$Builder;
intermediary method_57641
Lnet/minecraft/class_9317$class_9318;method_57641()Lnet/minecraft/class_9317$class_9318;
official a
Lerj$a;a()Lerj$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
intermediary method_515
Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
official b
Lerw$a;b()Lerw;
-