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

public class SetAttributesFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dxg
net.minecraft.world.level.storage.loot.functions.SetAttributesFunction
net.minecraft.class_137
net.minecraft.unmapped.C_brhhfbvx
net.minecraft.loot.function.SetAttributesLootFunction
net.minecraft.loot.function.SetAttributesLootFunction
net.minecraft.src.C_2936_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetAttribute

Field summary

Modifier and TypeField
final List<SetAttributesFunction$Modifier>
a
modifiers
field_1105
f_ubfewkkt
attributes
attributes
f_80831_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions, List<SetAttributesFunction$Modifier> attributes)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
public ItemStack
a(cdt arg0, dvr arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80841_, C_2811_ arg1)
public static SetAttributesFunction$ModifierBuilder
a(String arg0, bfe arg1, bfh$a arg2, dzg arg3)
modifier(String arg0, Attribute arg1, AttributeModifier$Operation arg2, NumberProvider arg3)
method_35524(String arg0, class_1320 arg1, class_1322$class_1323 arg2, class_5658 arg3)
m_iiczclll(String arg0, C_ppzfbbsy arg1, C_hdbqsqsm$C_pljpmmzs arg2, C_iajmfyig arg3)
attributeBuilder(String name, EntityAttribute attribute, EntityAttributeModifier$Operation operation, LootNumberProvider amountRange)
create(String name, EntityAttribute attribute, EntityAttributeModifier$Operation operation, LootNumberProvider amountRange)
m_165235_(String p_165236_, C_552_ p_165237_, C_555_$C_556_ p_165238_, C_141501_ p_165239_)
public static SetAttributesFunction$Builder
c()
setAttributes()
method_35525()
m_ynrasumo()
builder()
create()
m_165241_()