net.minecraft.world.level.storage.loot.functions

public class SetItemDamageFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

ctp
net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction
net.minecraft.class_149
net.minecraft.loot.function.SetDamageLootFunction
net.minecraft.world.storage.loot.functions.SetDamage
net.minecraft.server.v1_15_R1.LootItemFunctionSetDamage

Field summary

Modifier and TypeField
private static final org.apache.logging.log4j.Logger
a
LOGGER
field_1121
LOGGER
field_186565_a
private final RandomValueBounds
c
damage
field_1120
durabilityRange
field_186566_b

Constructor summary

ModifierConstructor
private (LootItemCondition[] contents, RandomValueBounds durabilityRange)

Method summary

Modifier and TypeMethod
public ItemStack
a(ben arg0, crx arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(csf arg0)
setDamage(RandomValueBounds arg0)
method_633(class_61 arg0)
builder(UniformLootTableRange durabilityRange)
func_215931_a(RandomValueRange arg0)