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

record SetAttributesFunction$Modifier

eyi$b
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction$Modifier
net.minecraft.class_137$class_138
net.minecraft.loot.function.SetAttributesLootFunction$Attribute
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetAttribute$b

Field summary

Modifier and TypeField
final ResourceLocation
b
id
comp_1864
id
final Holder<Attribute>
c
attribute
comp_1860
attribute
final AttributeModifier$Operation
d
operation
comp_1861
operation
final NumberProvider
e
amount
comp_1862
amount
final List<EquipmentSlotGroup>
f
slots
comp_1863
slots
private static final com.mojang.serialization.Codec<List<EquipmentSlotGroup>>
g
SLOTS_CODEC
field_45838
EQUIPMENT_SLOT_LIST_CODEC
public static final com.mojang.serialization.Codec<SetAttributesFunction$Modifier>
a
CODEC
field_45837
CODEC

Constructor summary

ModifierConstructor
(ResourceLocation arg0, Holder<Attribute> arg1, AttributeModifier$Operation operation, NumberProvider amount, List<EquipmentSlotGroup> arg4)

Method summary

Modifier and TypeMethod
public ResourceLocation
a()
id()
comp_1864()
id()
public Holder<Attribute>
b()
attribute()
comp_1860()
attribute()
public AttributeModifier$Operation
c()
operation()
comp_1861()
operation()
public NumberProvider
d()
amount()
comp_1862()
amount()
public List<EquipmentSlotGroup>
e()
slots()
comp_1863()
slots()