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 recordApplies a bonus based on a binomial distribution withn = enchantmentLevel + extraRoundsandp = probability.(package private) static final recordApplies a bonus count with a special formula used for fortune ore drops.(package private) static final recordAdds 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.codecThe field for thecodecrecord component.private static final com.mojang.serialization.MapCodec<ApplyBonusCount.Formula> ApplyBonusCount.FORMULA_CODECMethods 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 thecodecrecord component.Constructors in net.minecraft.world.level.storage.loot.functions with parameters of type ApplyBonusCount.FormulaModifierConstructorDescriptionprivateApplyBonusCount(List<LootItemCondition> pPredicates, Holder<Enchantment> pEnchantment, ApplyBonusCount.Formula pFormula) 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 aFormulaTyperecord class.