extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
| eiv | |
| net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction | |
| net.minecraft.class_149 | |
| net.minecraft.loot.function.SetDamageLootFunction | |
| net.minecraft.src.C_2950_ |
Field summary
| Modifier and Type | Field | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private static final org.slf4j.Logger |
| ||||||||||
| public static final com.mojang.serialization.Codec<SetItemDamageFunction> |
| ||||||||||
| private final NumberProvider |
| ||||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootItemCondition> conditions, NumberProvider durabilityRange, boolean add) |
Method summary
| Modifier and Type | Method | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootItemFunctionType |
| ||||||||||
| public Set<LootContextParam<?>> |
| ||||||||||
| public ItemStack |
| ||||||||||
| public static LootItemConditionalFunction$Builder<?> |
| ||||||||||
| public static LootItemConditionalFunction$Builder<?> |
|