Class SetAttributesFunction.ModifierBuilder
java.lang.Object
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction.ModifierBuilder
- Enclosing class:
SetAttributesFunction
-
Field Summary
Modifier and TypeFieldDescriptionprivate final NumberProvider
private final String
private final AttributeModifier.Operation
private final Set
<EquipmentSlotGroup> -
Constructor Summary
ConstructorDescriptionModifierBuilder
(String p_165263_, Holder<Attribute> p_299576_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_) -
Method Summary
-
Field Details
-
name
-
attribute
-
operation
-
amount
-
id
-
slots
-
-
Constructor Details
-
ModifierBuilder
public ModifierBuilder(String p_165263_, Holder<Attribute> p_299576_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_)
-
-
Method Details
-
forSlot
-
withUuid
-
build
-