Interface LootNumberProvider

All Superinterfaces:
LootContextAware
All Known Implementing Classes:
BinomialLootNumberProvider, ConstantLootNumberProvider, EnchantmentLevelLootNumberProvider, ScoreLootNumberProvider, StorageLootNumberProvider, UniformLootNumberProvider

public interface LootNumberProvider extends LootContextAware
Mappings:
Namespace Name
named net/minecraft/loot/provider/number/LootNumberProvider
intermediary net/minecraft/class_5658
official evs
  • Method Details

    • nextFloat

      float nextFloat(LootContext context)
      Mappings:
      Namespace Name Mixin selector
      named nextFloat Lnet/minecraft/loot/provider/number/LootNumberProvider;nextFloat(Lnet/minecraft/loot/context/LootContext;)F
      intermediary method_32454 Lnet/minecraft/class_5658;method_32454(Lnet/minecraft/class_47;)F
      official b Levs;b(Lerl;)F
    • nextInt

      default int nextInt(LootContext context)
      Mappings:
      Namespace Name Mixin selector
      named nextInt Lnet/minecraft/loot/provider/number/LootNumberProvider;nextInt(Lnet/minecraft/loot/context/LootContext;)I
      intermediary method_366 Lnet/minecraft/class_5658;method_366(Lnet/minecraft/class_47;)I
      official a Levs;a(Lerl;)I
    • getType

      Mappings:
      Namespace Name Mixin selector
      named getType Lnet/minecraft/loot/provider/number/LootNumberProvider;getType()Lnet/minecraft/loot/provider/number/LootNumberProviderType;
      intermediary method_365 Lnet/minecraft/class_5658;method_365()Lnet/minecraft/class_5657;
      official b Levs;b()Levr;