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

public class ApplyBonusCount

extends LootItemConditionalFunction

All mapped superinterfaces:

LootItemFunction, LootContextUser

cst
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount
net.minecraft.class_94
net.minecraft.unmapped.C_mxqfevzh
net.minecraft.loot.function.ApplyBonusLootFunction
net.minecraft.world.storage.loot.functions.ApplyBonus
net.minecraft.server.v1_15_R1.LootItemFunctionApplyBonus

Field summary

Modifier and TypeField
private static final Map<ResourceLocation, ApplyBonusCount$FormulaDeserializer>
a
FORMULAS
field_1010
f_ojkdftuu
FACTORIES
field_215875_a
private final Enchantment
c
enchantment
field_1011
f_wsrpgatr
enchantment
field_215876_c
private final ApplyBonusCount$Formula
d
formula
field_1009
f_wsorvvwo
formula
field_215877_d

Constructor summary

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

Method summary

Modifier and TypeMethod
public Set<LootContextParam<?>>
a()
getReferencedContextParams()
method_293()
m_oozesizv()
getRequiredParameters()
func_215855_a()
public ItemStack
a(bek arg0, cru 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)
func_215859_a(ItemStack arg0, LootContext arg1)
public static LootItemConditionalFunction$Builder<?>
a(bhu 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)
func_215870_a(Enchantment arg0, float arg1, int arg2)
public static LootItemConditionalFunction$Builder<?>
a(bhu arg0)
addOreBonusCount(Enchantment arg0)
method_455(class_1887 arg0)
m_lngedsfm(C_jxtrubuh arg0)
oreDrops(Enchantment enchantment)
func_215869_a(Enchantment arg0)
public static LootItemConditionalFunction$Builder<?>
b(bhu arg0)
addUniformBonusCount(Enchantment arg0)
method_456(class_1887 arg0)
m_vjyqbuku(C_jxtrubuh arg0)
uniformBonusCount(Enchantment enchantment)
func_215871_b(Enchantment arg0)
public static LootItemConditionalFunction$Builder<?>
a(bhu 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)
func_215865_a(Enchantment arg0, int arg1)