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

public class LootingEnchantFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dkd
net.minecraft.world.level.storage.loot.functions.LootingEnchantFunction
net.minecraft.class_125
net.minecraft.loot.function.LootingEnchantLootFunction
net.minecraft.src.C_2932_
net.minecraft.world.level.storage.loot.functions.LootEnchantFunction

Field summary

Modifier and TypeField
public static final int
a
NO_LIMIT
field_31854
field_31854
f_165224_
final NumberProvider
b
value
field_1082
countRange
f_80776_
final int
c
limit
field_1083
limit
f_80777_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_165227_, NumberProvider p_165228_, int arg2)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
getRequiredParameters()
m_6231_()
boolean
c()
hasLimit()
method_549()
hasLimit()
m_80798_()
public ItemStack
a(bqq arg0, dip arg1)
run(ItemStack arg0, LootContext arg1)
method_522(class_1799 arg0, class_47 arg1)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80790_, C_2811_ arg1)
public static LootingEnchantFunction$Builder
a(dmc arg0)
lootingMultiplier(NumberProvider arg0)
method_547(class_5658 arg0)
builder(LootNumberProvider countRange)
m_165229_(C_141501_ p_165230_)