Uses of Interface
net.minecraft.loot.provider.number.LootNumberProvider
Package
Description
-
Uses of LootNumberProvider in net.minecraft.data.server
Modifier and TypeMethodDescriptionprivate static LootTable.Builder
BlockLootTableGenerator.drops
(Block dropWithSilkTouch, ItemConvertible drop, LootNumberProvider count) private static 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 TypeMethodDescriptionEnchantWithLevelsLootFunction.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) SetAttributesLootFunction.create
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amountRange) SetEnchantmentsLootFunction.Builder.enchantment
(Enchantment enchantment, LootNumberProvider level) SetStewEffectLootFunction.Builder.withEffect
(StatusEffect effect, LootNumberProvider durationRange) ModifierConstructorDescription(package private)
Attribute
(String string, EntityAttribute entityAttribute, EntityAttributeModifier.Operation operation, LootNumberProvider lootNumberProvider, EquipmentSlot[] equipmentSlot, @Nullable UUID uUID) AttributeBuilder
(String name, EntityAttribute attribute, EntityAttributeModifier.Operation operation, LootNumberProvider amount) Builder
(LootNumberProvider range) Builder
(LootNumberProvider countRange) (package private)
EnchantWithLevelsLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) (package private)
LootingEnchantLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, int int2) (package private)
SetCountLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) (package private)
SetDamageLootFunction
(LootCondition[] lootCondition, LootNumberProvider lootNumberProvider, boolean bool) ModifierConstructorDescription(package private)
SetEnchantmentsLootFunction
(LootCondition[] lootCondition, Map<Enchantment, LootNumberProvider> map, boolean bool) (package private)
SetStewEffectLootFunction
(LootCondition[] lootCondition, Map<StatusEffect, LootNumberProvider> map) -
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)
BoundedIntUnaryOperator
(@Nullable LootNumberProvider lootNumberProvider, @Nullable LootNumberProvider lootNumberProvider2) -
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)
BinomialLootNumberProvider
(LootNumberProvider lootNumberProvider, LootNumberProvider lootNumberProvider2) (package private)
UniformLootNumberProvider
(LootNumberProvider lootNumberProvider, LootNumberProvider lootNumberProvider2) ModifierConstructorDescriptionLootNumberProviderType
(JsonSerializer<? extends LootNumberProvider> jsonSerializer)