extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
exy | |
net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction | |
net.minecraft.class_149 | |
net.minecraft.unmapped.C_wkslhogk | |
net.minecraft.loot.function.SetDamageLootFunction | |
net.minecraft.loot.function.SetDamageLootFunction | |
net.minecraft.src.C_2950_ | |
net.minecraft.world.level.storage.loot.functions.LootItemFunctionSetDamage |
Field summary
Modifier and Type | Field | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
private static final org.slf4j.Logger |
| ||||||||||||||
public static final com.mojang.serialization.MapCodec<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<SetItemDamageFunction> |
| ||||||||||||||
public Set<ContextKey<?>> |
| ||||||||||||||
public ItemStack |
| ||||||||||||||
public static LootItemConditionalFunction$Builder<?> |
| ||||||||||||||
public static LootItemConditionalFunction$Builder<?> |
|