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

public class SetItemDamageFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dar
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.functions.SetDamage
net.minecraft.server.v1_16_R3.LootItemFunctionSetDamage

Field summary

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

Constructor summary

ModifierConstructor
private (LootItemCondition[] contents, RandomValueBounds durabilityRange)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
m_ngvoddkv()
getType()
func_230425_b_()
public ItemStack
a(bmb arg0, cyv arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
m_axzztavb(C_sddaxwyk arg0, C_iakykpgh arg1)
process(ItemStack arg0, LootContext arg1)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(czd arg0)
setDamage(RandomValueBounds arg0)
method_633(class_61 arg0)
m_pzcgkirs(C_ljknzuwh arg0)
builder(UniformLootTableRange durabilityRange)
func_215931_a(RandomValueRange arg0)