Class CopyComponentsFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<CopyComponentsFunction.Builder>
net.minecraft.world.level.storage.loot.functions.CopyComponentsFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<CopyComponentsFunction.Builder>
- Enclosing class:
CopyComponentsFunction
public static class CopyComponentsFunction.Builder
extends LootItemConditionalFunction.Builder<CopyComponentsFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate Optional
<com.google.common.collect.ImmutableList.Builder<DataComponentType<?>>> private Optional
<com.google.common.collect.ImmutableList.Builder<DataComponentType<?>>> private final CopyComponentsFunction.Source
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
exclude
(DataComponentType<?> p_332922_) protected CopyComponentsFunction.Builder
getThis()
include
(DataComponentType<?> p_329871_) Methods inherited from class net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder
getConditions, unwrap, when
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.world.level.storage.loot.predicates.ConditionUserBuilder
when
-
Field Details
-
source
-
include
-
exclude
-
-
Constructor Details
-
Builder
Builder(CopyComponentsFunction.Source p_336396_)
-
-
Method Details
-
include
-
exclude
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<CopyComponentsFunction.Builder>
-
build
-