Uses of Interface
net.minecraft.world.level.storage.loot.providers.number.NumberProvider
Package
Description
-
Uses of NumberProvider in net.minecraft.data.loot
Modifier and TypeMethodDescriptionprotected static LootTable.Builder
BlockLoot.createSingleItemTable
(ItemLike p_176040_, NumberProvider p_176041_) protected static LootTable.Builder
BlockLoot.createSingleItemTableWithSilkTouch
(Block p_176043_, ItemLike p_176044_, NumberProvider p_176045_) -
Uses of NumberProvider in net.minecraft.world.level.storage.loot
Modifier and TypeFieldDescription(package private) NumberProvider
LootPool.bonusRolls
private NumberProvider
LootPool.Builder.bonusRolls
(package private) final NumberProvider
IntRange.max
(package private) final NumberProvider
IntRange.min
private NumberProvider
LootPool.Builder.rolls
(package private) NumberProvider
LootPool.rolls
Modifier and TypeMethodDescriptionLootPool.Builder.setBonusRolls
(NumberProvider p_165136_) void
LootPool.setBonusRolls
(NumberProvider v) LootPool.Builder.setRolls
(NumberProvider p_165134_) void
LootPool.setRolls
(NumberProvider v) ModifierConstructorDescription(package private)
IntRange
(NumberProvider p_165006_, NumberProvider p_165007_) (package private)
LootPool
(LootPoolEntryContainer[] p_165128_, LootItemCondition[] p_165129_, LootItemFunction[] p_165130_, NumberProvider p_165131_, NumberProvider p_165132_, String name) -
Uses of NumberProvider in net.minecraft.world.level.storage.loot.functions
Modifier and TypeFieldDescription(package private) final NumberProvider
SetAttributesFunction.Modifier.amount
private final NumberProvider
SetAttributesFunction.ModifierBuilder.amount
private final NumberProvider
LootingEnchantFunction.Builder.count
(package private) final NumberProvider
SetItemDamageFunction.damage
private final NumberProvider
EnchantWithLevelsFunction.Builder.levels
(package private) final NumberProvider
EnchantWithLevelsFunction.levels
(package private) final NumberProvider
LootingEnchantFunction.value
(package private) final NumberProvider
SetItemCountFunction.value
Modifier and TypeFieldDescriptionprivate final Map<MobEffect,
NumberProvider> SetStewEffectFunction.Builder.effectDurationMap
(package private) final Map<MobEffect,
NumberProvider> SetStewEffectFunction.effectDurationMap
private final Map<Enchantment,
NumberProvider> SetEnchantmentsFunction.Builder.enchantments
(package private) final Map<Enchantment,
NumberProvider> SetEnchantmentsFunction.enchantments
Modifier and TypeMethodDescriptionEnchantWithLevelsFunction.enchantWithLevels
(NumberProvider p_165197_) LootingEnchantFunction.lootingMultiplier
(NumberProvider p_165230_) SetAttributesFunction.modifier
(String p_165236_, Attribute p_165237_, AttributeModifier.Operation p_165238_, NumberProvider p_165239_) static LootItemConditionalFunction.Builder<?>
SetItemCountFunction.setCount
(NumberProvider p_165413_) static LootItemConditionalFunction.Builder<?>
SetItemCountFunction.setCount
(NumberProvider p_165415_, boolean p_165416_) static LootItemConditionalFunction.Builder<?>
SetItemDamageFunction.setDamage
(NumberProvider p_165431_) static LootItemConditionalFunction.Builder<?>
SetItemDamageFunction.setDamage
(NumberProvider p_165433_, boolean p_165434_) SetStewEffectFunction.Builder.withEffect
(MobEffect p_165473_, NumberProvider p_165474_) SetEnchantmentsFunction.Builder.withEnchantment
(Enchantment p_165375_, NumberProvider p_165376_) ModifierConstructorDescriptionBuilder
(NumberProvider p_165200_) Builder
(NumberProvider p_165232_) (package private)
EnchantWithLevelsFunction
(LootItemCondition[] p_165193_, NumberProvider p_165194_, boolean p_165195_) (package private)
LootingEnchantFunction
(LootItemCondition[] p_165226_, NumberProvider p_165227_, int p_165228_) (package private)
Modifier
(String p_165250_, Attribute p_165251_, AttributeModifier.Operation p_165252_, NumberProvider p_165253_, EquipmentSlot[] p_165254_, UUID p_165255_) ModifierBuilder
(String p_165263_, Attribute p_165264_, AttributeModifier.Operation p_165265_, NumberProvider p_165266_) (package private)
SetItemCountFunction
(LootItemCondition[] p_165409_, NumberProvider p_165410_, boolean p_165411_) (package private)
SetItemDamageFunction
(LootItemCondition[] p_165427_, NumberProvider p_165428_, boolean p_165429_) ModifierConstructorDescription(package private)
SetEnchantmentsFunction
(LootItemCondition[] p_165337_, Map<Enchantment, NumberProvider> p_165338_, boolean p_165339_) (package private)
SetStewEffectFunction
(LootItemCondition[] p_81216_, Map<MobEffect, NumberProvider> p_81217_) -
Uses of NumberProvider in net.minecraft.world.level.storage.loot.predicates
Modifier and TypeFieldDescription(package private) final NumberProvider
ValueCheckCondition.provider
Modifier and TypeMethodDescriptionstatic LootItemCondition.Builder
ValueCheckCondition.hasValue
(NumberProvider p_165529_, IntRange p_165530_) ModifierConstructorDescription(package private)
ValueCheckCondition
(NumberProvider p_165523_, IntRange p_165524_) -
Uses of NumberProvider in net.minecraft.world.level.storage.loot.providers.number
Modifier and TypeClassDescriptionfinal class
final class
class
class
Modifier and TypeFieldDescription(package private) final NumberProvider
UniformGenerator.max
(package private) final NumberProvider
UniformGenerator.min
(package private) final NumberProvider
BinomialDistributionGenerator.n
(package private) final NumberProvider
BinomialDistributionGenerator.p
Modifier and TypeMethodDescriptionprivate static LootNumberProviderType
NumberProviders.register
(String p_165739_, Serializer<? extends NumberProvider> p_165740_) ModifierConstructorDescription(package private)
BinomialDistributionGenerator
(NumberProvider p_165656_, NumberProvider p_165657_) (package private)
UniformGenerator
(NumberProvider p_165777_, NumberProvider p_165778_) ModifierConstructorDescriptionLootNumberProviderType
(Serializer<? extends NumberProvider> p_165728_)