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 ResourceLocation
private final AttributeModifier.Operation
private final Set
<EquipmentSlotGroup> -
Constructor Summary
ConstructorDescriptionModifierBuilder
(ResourceLocation p_344994_, Holder<Attribute> p_299576_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_) -
Method Summary
-
Field Details
-
id
-
attribute
-
operation
-
amount
-
slots
-
-
Constructor Details
-
ModifierBuilder
public ModifierBuilder(ResourceLocation p_344994_, Holder<Attribute> p_299576_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_)
-
-
Method Details
-
forSlot
-
build
-