extends LootItemConditionalFunction
All mapped superinterfaces:
LootItemFunction, LootContextUser
eyv | |
net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction | |
net.minecraft.class_149 | |
net.minecraft.loot.function.SetDamageLootFunction | |
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<?> |
|