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

public class ApplyBonusCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

dzq
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount
net.minecraft.class_94
net.minecraft.unmapped.C_mxqfevzh
net.minecraft.loot.function.ApplyBonusLootFunction
net.minecraft.loot.function.ApplyBonusLootFunction
net.minecraft.src.C_2874_
net.minecraft.world.level.storage.loot.functions.LootItemFunctionApplyBonus

Field summary

Modifier and TypeField
static final Map<ResourceLocation, ApplyBonusCount$FormulaDeserializer>
a
FORMULAS
field_1010
f_ojkdftuu
FACTORIES
FACTORIES
f_79898_
final Enchantment
b
enchantment
field_1011
f_wsrpgatr
enchantment
enchantment
f_79899_
final ApplyBonusCount$Formula
c
formula
field_1009
f_wsorvvwo
formula
formula
f_79900_

Constructor summary

ModifierConstructor
(LootItemCondition[] conditions, Enchantment enchantment, ApplyBonusCount$Formula formula)

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_()
public ItemStack
a(cfv arg0, dyr 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_79914_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(ckc arg0, float arg1, int arg2)
addBonusBinomialDistributionCount(Enchantment arg0, float arg1, int arg2)
method_463(class_1887 arg0, float arg1, int arg2)
m_ziaghyfl(C_jxtrubuh arg0, float arg1, int arg2)
binomialWithBonusCount(Enchantment enchantment, float probability, int extra)
binomialWithBonusCount(Enchantment enchantment, float probability, int extra)
m_79917_(C_1505_ p_79918_, float p_79919_, int p_79920_)
public static LootItemConditionalFunction$Builder<?>
a(ckc arg0)
addOreBonusCount(Enchantment arg0)
method_455(class_1887 arg0)
m_lngedsfm(C_jxtrubuh arg0)
oreDrops(Enchantment enchantment)
oreDrops(Enchantment enchantment)
m_79915_(C_1505_ p_79916_)
public static LootItemConditionalFunction$Builder<?>
b(ckc arg0)
addUniformBonusCount(Enchantment arg0)
method_456(class_1887 arg0)
m_vjyqbuku(C_jxtrubuh arg0)
uniformBonusCount(Enchantment enchantment)
uniformBonusCount(Enchantment enchantment)
m_79939_(C_1505_ p_79940_)
public static LootItemConditionalFunction$Builder<?>
a(ckc arg0, int arg1)
addUniformBonusCount(Enchantment arg0, int arg1)
method_461(class_1887 arg0, int arg1)
m_tghqmevs(C_jxtrubuh arg0, int arg1)
uniformBonusCount(Enchantment enchantment, int bonusMultiplier)
uniformBonusCount(Enchantment enchantment, int bonusMultiplier)
m_79921_(C_1505_ p_79922_, int p_79923_)