Interface LootNumberProvider

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

public interface LootNumberProvider extends LootContextAware
Mappings:
Namespace Name
official edc
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 Ledc;b(Ldzh;)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 Ledc;a(Ldzh;)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 b Ledc;b()Ledb;
      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;