extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eyu | |
net.minecraft.world.level.storage.loot.functions.SetItemCountFunction | |
net.minecraft.class_141 | |
net.minecraft.loot.function.SetCountLootFunction | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetCount |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
public static final com.mojang.serialization.MapCodec<SetItemCountFunction> |
| ||||||||
private final NumberProvider |
| ||||||||
private final boolean |
|
Constructor summary
Modifier | Constructor |
---|---|
private | (List<LootItemCondition> conditions, NumberProvider countRange, boolean add) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public LootItemFunctionType<SetItemCountFunction> |
| ||||||||
public Set<ContextKey<?>> |
| ||||||||
public ItemStack |
| ||||||||
public static LootItemConditionalFunction$Builder<?> |
| ||||||||
public static LootItemConditionalFunction$Builder<?> |
|