net.minecraft.world.level.storage.loot.functions

record SetAttributesFunction$Modifier

esd$b
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction$Modifier
net.minecraft.class_137$class_138
net.minecraft.loot.function.SetAttributesLootFunction$Attribute
net.minecraft.src.C_2936_$C_2938_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetAttribute$b

Field summary

Modifier and TypeField
final String
b
name
comp_1859
name
f_80847_
final Holder<Attribute>
c
attribute
comp_1860
attribute
f_80848_
final AttributeModifier$Operation
d
operation
comp_1861
operation
f_80849_
final NumberProvider
e
amount
comp_1862
amount
f_80850_
final List<EquipmentSlotGroup>
f
slots
comp_1863
slots
f_80852_
final Optional<UUID>
g
id
comp_1864
id
f_80851_
private static final com.mojang.serialization.Codec<List<EquipmentSlotGroup>>
h
SLOTS_CODEC
field_45838
EQUIPMENT_SLOT_LIST_CODEC
f_290566_
public static final com.mojang.serialization.Codec<SetAttributesFunction$Modifier>
a
CODEC
field_45837
CODEC
f_291147_

Constructor summary

ModifierConstructor
(String name, Holder<Attribute> operation, AttributeModifier$Operation operation, NumberProvider amount, List<EquipmentSlotGroup> id, Optional<UUID> arg5)

Method summary

Modifier and TypeMethod
public String
a()
name()
comp_1859()
name()
f_80847_()
public Holder<Attribute>
b()
attribute()
comp_1860()
attribute()
f_80848_()
public AttributeModifier$Operation
c()
operation()
comp_1861()
operation()
f_80849_()
public NumberProvider
d()
amount()
comp_1862()
amount()
f_80850_()
public List<EquipmentSlotGroup>
e()
slots()
comp_1863()
slots()
f_80852_()
public Optional<UUID>
f()
id()
comp_1864()
id()
f_80851_()