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

public class SetItemDamageFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dao
net.minecraft.world.level.storage.loot.functions.SetItemDamageFunction
net.minecraft.class_149
net.minecraft.loot.function.SetDamageLootFunction
net.minecraft.loot.functions.SetDamage
net.minecraft.server.v1_16_R2.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
b
damage
field_1120
durabilityRange
field_186566_b

Constructor summary

ModifierConstructor
private (LootItemCondition[] contents, RandomValueBounds durabilityRange)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
b()
getType()
method_29321()
getType()
func_230425_b_()
public ItemStack
a(bly arg0, cys 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(cza arg0)
setDamage(RandomValueBounds arg0)
method_633(class_61 arg0)
builder(UniformLootTableRange durabilityRange)
func_215931_a(RandomValueRange arg0)