Class SetAttributesFunction.Builder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.LootItemConditionalFunction.Builder<SetAttributesFunction.Builder>
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction.Builder
- All Implemented Interfaces:
LootItemFunction.Builder
,ConditionUserBuilder<SetAttributesFunction.Builder>
- Enclosing class:
SetAttributesFunction
public static class SetAttributesFunction.Builder
extends LootItemConditionalFunction.Builder<SetAttributesFunction.Builder>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<SetAttributesFunction.Modifier> private final boolean
-
Constructor Summary
-
Method Summary
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
-
replace
private final boolean replace -
modifiers
-
-
Constructor Details
-
Builder
public Builder(boolean p_330119_) -
Builder
public Builder()
-
-
Method Details
-
getThis
- Specified by:
getThis
in classLootItemConditionalFunction.Builder<SetAttributesFunction.Builder>
-
withModifier
-
build
-