类 EnchantWithLevelsLootFunction.Builder

    • 字段详细资料

      • range

        private final LootNumberProvider range
        Mappings:
        Namespace Name Mixin selector
        official a Ldiu$a;a:Ldlc;
        intermediary field_1028 Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;
        named range Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;range:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      • treasureEnchantmentsAllowed

        private boolean treasureEnchantmentsAllowed
        Mappings:
        Namespace Name Mixin selector
        official b Ldiu$a;b:Z
        intermediary field_1029 Lnet/minecraft/class_106$class_107;field_1029:Z
        named treasureEnchantmentsAllowed Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;treasureEnchantmentsAllowed:Z
    • 构造器详细资料

      • Builder

        public Builder​(LootNumberProvider range)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldiu$a;<init>(Ldlc;)V
        intermediary <init> Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)V
        named <init> Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
    • 方法详细资料

      • allowTreasureEnchantments

        public EnchantWithLevelsLootFunction.Builder allowTreasureEnchantments()
        Mappings:
        Namespace Name Mixin selector
        official e Ldiu$a;e()Ldiu$a;
        intermediary method_484 Lnet/minecraft/class_106$class_107;method_484()Lnet/minecraft/class_106$class_107;
        named allowTreasureEnchantments Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;allowTreasureEnchantments()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
      • build

        public LootFunction build()
        Mappings:
        Namespace Name Mixin selector
        official b Ldja$a;b()Ldja;
        intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
        named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;