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

public class SetItemCountFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dlu
net.minecraft.world.level.storage.loot.functions.SetItemCountFunction
net.minecraft.class_141
net.minecraft.loot.function.SetCountLootFunction
net.minecraft.src.C_2947_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetCount

Field summary

Modifier and TypeField
final NumberProvider
a
value
field_1114
countRange
f_80997_
final boolean
b
add
field_27909
add
f_165407_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions, NumberProvider countRange, boolean add)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
public ItemStack
a(bue arg0, dka arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_81007_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(dno arg0)
setCount(NumberProvider arg0)
method_621(class_5658 arg0)
builder(LootNumberProvider countRange)
m_165412_(C_141501_ p_165413_)
public static LootItemConditionalFunction$Builder<?>
a(dno arg0, boolean arg1)
setCount(NumberProvider arg0, boolean arg1)
method_35540(class_5658 arg0, boolean arg1)
builder(LootNumberProvider countRange, boolean add)
m_165414_(C_141501_ p_165415_, boolean p_165416_)