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

record SetAttributesFunction$Modifier

etk$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 ResourceLocation
b
id
comp_1864
id
f_80851_
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_
private static final com.mojang.serialization.Codec<List<EquipmentSlotGroup>>
g
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
(ResourceLocation attribute, Holder<Attribute> operation, AttributeModifier$Operation operation, NumberProvider amount, List<EquipmentSlotGroup> arg4)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
id()
comp_1864()
id()
f_80851_()
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_()