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

public class ApplyBonusCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

djo
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount
net.minecraft.class_94
net.minecraft.unmapped.C_mxqfevzh
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
f_79898_
final Enchantment
b
enchantment
field_1011
f_wsrpgatr
enchantment
f_79899_
final ApplyBonusCount$Formula
c
formula
field_1009
f_wsorvvwo
formula
f_79900_

Constructor summary

ModifierConstructor
(LootItemCondition[] p_79904_, Enchantment p_79905_, ApplyBonusCount$Formula arg2)

Method summary

Modifier and TypeMethod
public LootItemFunctionType
a()
getType()
method_29321()
m_ngvoddkv()
getType()
m_7162_()
public Set<LootContextParam<?>>
b()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
m_6231_()
public ItemStack
a(bqq arg0, dip 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)
m_7372_(C_1391_ p_79914_, C_2811_ arg1)
public static LootItemConditionalFunction$Builder<?>
a(buk 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)
m_79917_(C_1505_ p_79918_, float p_79919_, int p_79920_)
public static LootItemConditionalFunction$Builder<?>
a(buk arg0)
addOreBonusCount(Enchantment arg0)
method_455(class_1887 arg0)
m_lngedsfm(C_jxtrubuh arg0)
oreDrops(Enchantment enchantment)
m_79915_(C_1505_ p_79916_)
public static LootItemConditionalFunction$Builder<?>
b(buk arg0)
addUniformBonusCount(Enchantment arg0)
method_456(class_1887 arg0)
m_vjyqbuku(C_jxtrubuh arg0)
uniformBonusCount(Enchantment enchantment)
m_79939_(C_1505_ p_79940_)
public static LootItemConditionalFunction$Builder<?>
a(buk 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)
m_79921_(C_1505_ p_79922_, int p_79923_)