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 Attribute
private UUID
private final String
private final AttributeModifier.Operation
private final Set<EquipmentSlot>
-
Constructor Summary
ConstructorDescriptionModifierBuilder
(String p_165263_, Attribute p_165264_, 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_, Attribute p_165264_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_)
-
-
Method Details
-
forSlot
-
withUuid
-
build
-