Interface LootNumberProvider

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

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

    • nextFloat

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

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

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