Uses of Interface
net.minecraft.loot.provider.number.LootNumberProvider
Package
Description
-
Uses of LootNumberProvider in net.minecraft.data.server.loottable
Modifier and TypeMethodDescriptionprotected LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count) protected LootTable.Builder
BlockLootTableGenerator.drops
(ItemConvertible drop, LootNumberProvider count) -
Uses of LootNumberProvider in net.minecraft.loot
Modifier and TypeFieldDescription(package private) final LootNumberProvider
LootPool.bonusRolls
private LootNumberProvider
LootPool.Builder.bonusRollsRange
private LootNumberProvider
LootPool.Builder.rolls
(package private) final LootNumberProvider
LootPool.rolls
Modifier and TypeMethodDescriptionLootPool.Builder.bonusRolls
(LootNumberProvider bonusRolls) LootPool.Builder.rolls
(LootNumberProvider rolls) ModifierConstructorDescription(package private)
LootPool
(LootPoolEntry[] entries, LootCondition[] conditions, LootFunction[] functions, LootNumberProvider rolls, LootNumberProvider bonusRolls) -
Uses of LootNumberProvider in net.minecraft.loot.condition
Modifier and TypeFieldDescription(package private) final LootNumberProvider
ValueCheckLootCondition.value
Modifier and TypeMethodDescriptionstatic LootCondition.Builder
ValueCheckLootCondition.builder
(LootNumberProvider value, BoundedIntUnaryOperator range) ModifierConstructorDescription(package private)
ValueCheckLootCondition
(LootNumberProvider value, BoundedIntUnaryOperator range) -
Uses of LootNumberProvider in net.minecraft.loot.function
Modifier and TypeFieldDescription(package private) final LootNumberProvider
SetAttributesLootFunction.Attribute.amount
private final LootNumberProvider
SetAttributesLootFunction.AttributeBuilder.amount
private final LootNumberProvider
LootingEnchantLootFunction.Builder.countRange
(package private) final LootNumberProvider
LootingEnchantLootFunction.countRange
(package private) final LootNumberProvider
SetCountLootFunction.countRange
(package private) final LootNumberProvider
SetDamageLootFunction.durabilityRange
private final LootNumberProvider
EnchantWithLevelsLootFunction.Builder.range
(package private) final LootNumberProvider
EnchantWithLevelsLootFunction.range
Modifier and TypeFieldDescription(package private) final Map<StatusEffect,
LootNumberProvider> SetStewEffectLootFunction.effects
private final Map<Enchantment,
LootNumberProvider> SetEnchantmentsLootFunction.Builder.enchantments
(package private) final Map<Enchantment,
LootNumberProvider> SetEnchantmentsLootFunction.enchantments
private final Map<StatusEffect,
LootNumberProvider> SetStewEffectLootFunction.Builder.map
Modifier and TypeMethodDescriptionSetAttributesLootFunction.attributeBuilder
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) EnchantWithLevelsLootFunction.builder
(LootNumberProvider range) LootingEnchantLootFunction.builder
(LootNumberProvider countRange) 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) SetEnchantmentsLootFunction.Builder.enchantment
(Enchantment enchantment, LootNumberProvider level) SetStewEffectLootFunction.Builder.withEffect
(StatusEffect effect, LootNumberProvider durationRange) ModifierConstructorDescription(package private)
Attribute
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount, EquipmentSlot[] slots, @Nullable UUID id) AttributeBuilder
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) Builder
(LootNumberProvider range) Builder
(LootNumberProvider countRange) (package private)
EnchantWithLevelsLootFunction
(LootCondition[] conditions, LootNumberProvider range, boolean treasureEnchantmentsAllowed) (package private)
LootingEnchantLootFunction
(LootCondition[] conditions, LootNumberProvider countRange, int limit) (package private)
SetCountLootFunction
(LootCondition[] conditions, LootNumberProvider countRange, boolean add) (package private)
SetDamageLootFunction
(LootCondition[] conditions, LootNumberProvider durabilityRange, boolean add) ModifierConstructorDescription(package private)
SetEnchantmentsLootFunction
(LootCondition[] conditions, Map<Enchantment, LootNumberProvider> enchantments, boolean add) (package private)
SetStewEffectLootFunction
(LootCondition[] conditions, Map<StatusEffect, LootNumberProvider> effects) -
Uses of LootNumberProvider in net.minecraft.loot.operator
Modifier and TypeFieldDescription(package private) final @Nullable LootNumberProvider
BoundedIntUnaryOperator.max
(package private) final @Nullable LootNumberProvider
BoundedIntUnaryOperator.min
ModifierConstructorDescription(package private)
-
Uses of LootNumberProvider in net.minecraft.loot.provider.number
Modifier and TypeClassDescriptionfinal class
final class
class
class
Modifier and TypeFieldDescription(package private) final LootNumberProvider
UniformLootNumberProvider.max
(package private) final LootNumberProvider
UniformLootNumberProvider.min
(package private) final LootNumberProvider
BinomialLootNumberProvider.n
(package private) final LootNumberProvider
BinomialLootNumberProvider.p
Modifier and TypeMethodDescriptionprivate static LootNumberProviderType
LootNumberProviderTypes.register
(String id, JsonSerializer<? extends LootNumberProvider> jsonSerializer) ModifierConstructorDescription(package private)
(package private)
ModifierConstructorDescriptionLootNumberProviderType
(JsonSerializer<? extends LootNumberProvider> jsonSerializer)