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

public class LootingEnchantFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dtr
net.minecraft.world.level.storage.loot.functions.LootingEnchantFunction
net.minecraft.class_125
net.minecraft.unmapped.C_efigwszm
net.minecraft.loot.function.LootingEnchantLootFunction
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
f_ffgvxzqf
field_31854
NO_LIMIT
f_165224_
final NumberProvider
b
value
field_1082
f_xbeatkda
countRange
countRange
f_80776_
final int
c
limit
field_1083
f_mmchuppf
limit
limit
f_80777_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions, NumberProvider countRange, int limit)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
boolean
c()
hasLimit()
method_549()
m_ripnvadf()
hasLimit()
hasLimit()
m_80798_()
public ItemStack
a(cax arg0, dsd 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)
process(ItemStack arg0, LootContext arg1)
m_7372_(C_1391_ p_80790_, C_2811_ arg1)
public static LootingEnchantFunction$Builder
a(dvs arg0)
lootingMultiplier(NumberProvider arg0)
method_547(class_5658 arg0)
m_nhvreoaw(C_iajmfyig arg0)
builder(LootNumberProvider countRange)
builder(LootNumberProvider countRange)
m_165229_(C_141501_ p_165230_)