extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware, LootTableReportable
| net.minecraft.world.level.storage.loot.functions.SetItemCountFunction | |
| net.minecraft.world.level.storage.loot.functions.SetItemCountFunction | |
| net.minecraft.class_141 | |
| net.minecraft.loot.function.SetCountLootFunction |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public static final com.mojang.serialization.MapCodec<SetCountLootFunction> |
| ||||||||
| private final LootNumberProvider |
| ||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, LootNumberProvider count, boolean add) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<SetCountLootFunction> |
| ||||||||
| public void |
| ||||||||
| public ItemStack |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
| ||||||||
| public static ConditionalLootFunction$Builder<?> |
|