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

public class LootingEnchantFunction

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

erz
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.LootItemFunctions

Field summary

Modifier and TypeField
public static final int
a
NO_LIMIT
field_31854
f_ffgvxzqf
DEFAULT_LIMIT
NO_LIMIT
f_165224_
public static final com.mojang.serialization.MapCodec<LootingEnchantFunction>
b
CODEC
field_45833
f_qkklvyup
CODEC
CODEC
f_290533_
private final NumberProvider
c
value
field_1082
f_xbeatkda
countRange
countRange
f_80776_
private final int
d
limit
field_1083
f_mmchuppf
limit
limit
f_80777_

Constructor summary

ModifierConstructor
(List<LootItemCondition> conditions, NumberProvider countRange, int limit)

Method summary

Modifier and TypeMethod
public LootItemFunctionType<LootingEnchantFunction>
b()
getType()
method_29321()
m_ngvoddkv()
getType()
getType()
m_7162_()
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
getRequiredParameters()
m_6231_()
private boolean
c()
hasLimit()
method_549()
m_ripnvadf()
hasLimit()
hasLimit()
m_80798_()
public ItemStack
a(cuq arg0, eqj 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(euo 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_)