Uses of Interface
net.minecraft.world.level.storage.loot.functions.ApplyBonusCount.Formula
-
Uses of ApplyBonusCount.Formula in net.minecraft.world.level.storage.loot.functions
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
(package private) static final record
Modifier 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
Modifier and TypeMethodDescriptioncom.mojang.serialization.Codec<? extends ApplyBonusCount.Formula>
ApplyBonusCount.FormulaType.codec()
Returns the value of thecodec
record component.ModifierConstructorDescriptionprivate
ApplyBonusCount
(List<LootItemCondition> p_298532_, Holder<Enchantment> p_298797_, ApplyBonusCount.Formula p_79905_) ModifierConstructorDescription(package private)
FormulaType
(ResourceLocation id, com.mojang.serialization.Codec<? extends ApplyBonusCount.Formula> codec) Creates an instance of aFormulaType
record class.