extends ConditionalLootFunction
All mapped superinterfaces:
LootFunction, LootContextAware
| ffp | |
| net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction | |
| net.minecraft.class_149 | |
| net.minecraft.loot.function.SetDamageLootFunction | |
| net.minecraft.unmapped.C_wkslhogk | |
| 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.MapCodec<SetDamageLootFunction> |
| ||||||||||||||
| private final LootNumberProvider |
| ||||||||||||||
| private final boolean |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| private | (List<LootCondition> conditions, LootNumberProvider durabilityRange, boolean add) |
Method summary
| Modifier and Type | Method | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public LootFunctionType<SetDamageLootFunction> |
| ||||||||||||||
| public Set<ContextParameter<?>> |
| ||||||||||||||
| public ItemStack |
| ||||||||||||||
| public static ConditionalLootFunction$Builder<?> |
| ||||||||||||||
| public static ConditionalLootFunction$Builder<?> |
|