接口 LootNumberProvider

    • 方法详细资料

      • nextFloat

        float nextFloat​(LootContext context)
        Mappings:
        Namespace Name Mixin selector
        official b Ldlc;b(Ldhp;)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 Ldlc;a(Ldhp;)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

        LootNumberProviderType getType()
        Mappings:
        Namespace Name Mixin selector
        official a Ldlc;a()Ldlb;
        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;