Uses of Interface
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount.Formula
Packages that use ApplyBonusCount.Formula
-
Uses of ApplyBonusCount.Formula in net.minecraft.world.level.storage.loot.functions
Classes in net.minecraft.world.level.storage.loot.functions that implement ApplyBonusCount.FormulaModifier and TypeClassDescription(package private) static final record
Applies a bonus based on a binomial distribution withn = enchantmentLevel + extraRounds
andp = probability
.(package private) static final record
Applies a bonus count with a special formula used for fortune ore drops.(package private) static final record
Adds a bonus count based on the enchantment level scaled by a constant multiplier.Fields in net.minecraft.world.level.storage.loot.functions declared as ApplyBonusCount.FormulaFields in net.minecraft.world.level.storage.loot.functions with type parameters of type ApplyBonusCount.FormulaModifier and TypeFieldDescriptionprivate final com.mojang.serialization.Codec
<? extends ApplyBonusCount.Formula> ApplyBonusCount.FormulaType.codec
The field for thecodec
record component.private static final com.mojang.serialization.MapCodec
<ApplyBonusCount.Formula> ApplyBonusCount.FORMULA_CODEC
Methods in net.minecraft.world.level.storage.loot.functions that return types with arguments of type ApplyBonusCount.FormulaModifier and TypeMethodDescriptioncom.mojang.serialization.Codec
<? extends ApplyBonusCount.Formula> ApplyBonusCount.FormulaType.codec()
Returns the value of thecodec
record component.Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ApplyBonusCount.FormulaModifierConstructorDescriptionprivate
ApplyBonusCount
(List<LootItemCondition> p_298532_, Holder<Enchantment> p_298797_, ApplyBonusCount.Formula p_79905_) Constructor parameters in net.minecraft.world.level.storage.loot.functions with type arguments of type ApplyBonusCount.FormulaModifierConstructorDescription(package private)
FormulaType
(ResourceLocation id, com.mojang.serialization.Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaType
record class.