Uses of Interface
net.minecraft.loot.provider.number.LootNumberProvider
Packages that use LootNumberProvider
Package
Description
-
Uses of LootNumberProvider in net.minecraft.data.server.loottable
Methods in net.minecraft.data.server.loottable with parameters of type LootNumberProviderModifier and TypeMethodDescriptionprotected LootTable.BuilderBlockLootTableGenerator.drops(Block block, ItemConvertible drop, LootNumberProvider count) protected LootTable.BuilderBlockLootTableGenerator.drops(ItemConvertible drop, LootNumberProvider count) -
Uses of LootNumberProvider in net.minecraft.loot
Fields in net.minecraft.loot declared as LootNumberProviderModifier and TypeFieldDescriptionprivate final LootNumberProviderLootPool.bonusRollsprivate LootNumberProviderLootPool.Builder.bonusRollsRangeprivate LootNumberProviderLootPool.Builder.rollsprivate final LootNumberProviderLootPool.rollsMethods in net.minecraft.loot with parameters of type LootNumberProviderModifier and TypeMethodDescriptionLootPool.Builder.bonusRolls(LootNumberProvider bonusRolls) LootPool.Builder.rolls(LootNumberProvider rolls) Constructors in net.minecraft.loot with parameters of type LootNumberProviderModifierConstructorDescription(package private)LootPool(List<LootPoolEntry> entries, List<LootCondition> conditions, List<LootFunction> functions, LootNumberProvider rolls, LootNumberProvider bonusRolls) -
Uses of LootNumberProvider in net.minecraft.loot.condition
Fields in net.minecraft.loot.condition declared as LootNumberProviderModifier and TypeFieldDescriptionprivate final LootNumberProviderRandomChanceLootCondition.chanceThe field for thechancerecord component.private final LootNumberProviderValueCheckLootCondition.valueThe field for thevaluerecord component.Methods in net.minecraft.loot.condition that return LootNumberProviderModifier and TypeMethodDescriptionRandomChanceLootCondition.chance()Returns the value of thechancerecord component.ValueCheckLootCondition.value()Returns the value of thevaluerecord component.Methods in net.minecraft.loot.condition with parameters of type LootNumberProviderModifier and TypeMethodDescriptionstatic LootCondition.BuilderRandomChanceLootCondition.builder(LootNumberProvider chance) static LootCondition.BuilderValueCheckLootCondition.builder(LootNumberProvider value, BoundedIntUnaryOperator range) Constructors in net.minecraft.loot.condition with parameters of type LootNumberProviderModifierConstructorDescriptionRandomChanceLootCondition(LootNumberProvider lootNumberProvider) ValueCheckLootCondition(LootNumberProvider value, BoundedIntUnaryOperator range) Creates an instance of aValueCheckLootConditionrecord class. -
Uses of LootNumberProvider in net.minecraft.loot.function
Fields in net.minecraft.loot.function declared as LootNumberProviderModifier and TypeFieldDescriptionprivate final LootNumberProviderSetAttributesLootFunction.Attribute.amountThe field for theamountrecord component.private final LootNumberProviderSetAttributesLootFunction.AttributeBuilder.amountprivate final LootNumberProviderSetOminousBottleAmplifierLootFunction.amplifierprivate final LootNumberProviderEnchantedCountIncreaseLootFunction.Builder.countprivate final LootNumberProviderEnchantedCountIncreaseLootFunction.countprivate final LootNumberProviderSetCountLootFunction.countRangeprivate final LootNumberProviderSetDamageLootFunction.durabilityRangeprivate final LootNumberProviderSetStewEffectLootFunction.StewEffect.durationThe field for thedurationrecord component.private final LootNumberProviderEnchantWithLevelsLootFunction.Builder.levelsprivate final LootNumberProviderEnchantWithLevelsLootFunction.levelsprivate final LootNumberProviderSetCustomModelDataLootFunction.valueFields in net.minecraft.loot.function with type parameters of type LootNumberProviderModifier and TypeFieldDescriptionprivate final ImmutableMap.Builder<RegistryEntry<Enchantment>, LootNumberProvider> SetEnchantmentsLootFunction.Builder.enchantmentsprivate final Map<RegistryEntry<Enchantment>, LootNumberProvider> SetEnchantmentsLootFunction.enchantmentsMethods in net.minecraft.loot.function that return LootNumberProviderModifier and TypeMethodDescriptionSetAttributesLootFunction.Attribute.amount()Returns the value of theamountrecord component.SetStewEffectLootFunction.StewEffect.duration()Returns the value of thedurationrecord component.SetOminousBottleAmplifierLootFunction.getAmplifier()Methods in net.minecraft.loot.function with parameters of type LootNumberProviderModifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) EnchantedCountIncreaseLootFunction.builder(RegistryWrapper.WrapperLookup registryLookup, LootNumberProvider count) EnchantWithLevelsLootFunction.builder(RegistryWrapper.WrapperLookup registryLookup, LootNumberProvider levels) static ConditionalLootFunction.Builder<?> SetCountLootFunction.builder(LootNumberProvider countRange) static ConditionalLootFunction.Builder<?> SetCountLootFunction.builder(LootNumberProvider countRange, boolean add) static ConditionalLootFunction.Builder<?> SetDamageLootFunction.builder(LootNumberProvider durabilityRange) static ConditionalLootFunction.Builder<?> SetDamageLootFunction.builder(LootNumberProvider durabilityRange, boolean add) static ConditionalLootFunction.Builder<?> SetOminousBottleAmplifierLootFunction.builder(LootNumberProvider amplifier) SetEnchantmentsLootFunction.Builder.enchantment(RegistryEntry<Enchantment> enchantment, LootNumberProvider level) SetStewEffectLootFunction.Builder.withEffect(RegistryEntry<StatusEffect> effect, LootNumberProvider durationRange) Constructors in net.minecraft.loot.function with parameters of type LootNumberProviderModifierConstructorDescription(package private)Attribute(Identifier identifier, RegistryEntry<EntityAttribute> registryEntry, EntityAttributeModifier.Operation operation, LootNumberProvider amount, List<AttributeModifierSlot> list) AttributeBuilder(Identifier id, RegistryEntry<EntityAttribute> attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) Builder(RegistryEntry<Enchantment> enchantment, LootNumberProvider count) Builder(LootNumberProvider levels) (package private)EnchantedCountIncreaseLootFunction(List<LootCondition> conditions, RegistryEntry<Enchantment> enchantment, LootNumberProvider count, int limit) (package private)EnchantWithLevelsLootFunction(List<LootCondition> conditions, LootNumberProvider levels, Optional<RegistryEntryList<Enchantment>> options) privateSetCountLootFunction(List<LootCondition> conditions, LootNumberProvider countRange, boolean add) privateSetCustomModelDataLootFunction(List<LootCondition> conditions, LootNumberProvider value) privateSetDamageLootFunction(List<LootCondition> conditions, LootNumberProvider durabilityRange, boolean add) privateSetOminousBottleAmplifierLootFunction(List<LootCondition> conditions, LootNumberProvider amplifier) (package private)StewEffect(RegistryEntry<StatusEffect> registryEntry, LootNumberProvider lootNumberProvider) Constructor parameters in net.minecraft.loot.function with type arguments of type LootNumberProviderModifierConstructorDescription(package private)SetEnchantmentsLootFunction(List<LootCondition> conditions, Map<RegistryEntry<Enchantment>, LootNumberProvider> enchantments, boolean add) -
Uses of LootNumberProvider in net.minecraft.loot.operator
Fields in net.minecraft.loot.operator declared as LootNumberProviderModifier and TypeFieldDescriptionprivate final @Nullable LootNumberProviderBoundedIntUnaryOperator.maxprivate final @Nullable LootNumberProviderBoundedIntUnaryOperator.minConstructors in net.minecraft.loot.operator with parameters of type LootNumberProviderModifierConstructorDescriptionprivateConstructor parameters in net.minecraft.loot.operator with type arguments of type LootNumberProviderModifierConstructorDescriptionprivate -
Uses of LootNumberProvider in net.minecraft.loot.provider.number
Classes in net.minecraft.loot.provider.number that implement LootNumberProviderModifier and TypeClassDescriptionfinal recordfinal recordfinal recordfinal recordfinal recordfinal recordFields in net.minecraft.loot.provider.number declared as LootNumberProviderModifier and TypeFieldDescriptionprivate final LootNumberProviderUniformLootNumberProvider.maxThe field for themaxrecord component.private final LootNumberProviderUniformLootNumberProvider.minThe field for theminrecord component.private final LootNumberProviderBinomialLootNumberProvider.nThe field for thenrecord component.private final LootNumberProviderBinomialLootNumberProvider.pThe field for theprecord component.Fields in net.minecraft.loot.provider.number with type parameters of type LootNumberProviderModifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec<LootNumberProvider> LootNumberProviderTypes.BASE_CODECprivate final com.mojang.serialization.MapCodec<? extends LootNumberProvider> LootNumberProviderType.codecThe field for thecodecrecord component.static final com.mojang.serialization.Codec<LootNumberProvider> LootNumberProviderTypes.CODECMethods in net.minecraft.loot.provider.number that return LootNumberProviderModifier and TypeMethodDescriptionUniformLootNumberProvider.max()Returns the value of themaxrecord component.UniformLootNumberProvider.min()Returns the value of theminrecord component.BinomialLootNumberProvider.n()Returns the value of thenrecord component.BinomialLootNumberProvider.p()Returns the value of theprecord component.Methods in net.minecraft.loot.provider.number that return types with arguments of type LootNumberProviderModifier and TypeMethodDescriptioncom.mojang.serialization.MapCodec<? extends LootNumberProvider> LootNumberProviderType.codec()Returns the value of thecodecrecord component.Method parameters in net.minecraft.loot.provider.number with type arguments of type LootNumberProviderModifier and TypeMethodDescriptionprivate static LootNumberProviderTypeLootNumberProviderTypes.register(String id, com.mojang.serialization.MapCodec<? extends LootNumberProvider> codec) Constructors in net.minecraft.loot.provider.number with parameters of type LootNumberProviderModifierConstructorDescriptionCreates an instance of aBinomialLootNumberProviderrecord class.Creates an instance of aUniformLootNumberProviderrecord class.Constructor parameters in net.minecraft.loot.provider.number with type arguments of type LootNumberProviderModifierConstructorDescriptionLootNumberProviderType(com.mojang.serialization.MapCodec<? extends LootNumberProvider> mapCodec)