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

public class SetItemCountFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

daq
net.minecraft.world.level.storage.loot.functions.SetItemCountFunction
net.minecraft.class_141
net.minecraft.loot.function.SetCountLootFunction
net.minecraft.loot.functions.SetCount
net.minecraft.server.v1_16_R3.LootItemFunctionSetCount

Field summary

Modifier and TypeField
private final RandomIntGenerator
a
value
field_1114
countRange
field_186568_a

Constructor summary

ModifierConstructor
private (LootItemCondition[] conditions, RandomIntGenerator countRange)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public ItemStack
a(bmb arg0, cyv arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(czb arg0)
setCount(RandomIntGenerator arg0)
method_621(class_59 arg0)
builder(LootTableRange countRange)
func_215932_a(IRandomRange arg0)