类 SetEnchantmentsLootFunction.Builder

    • 字段详细资料

      • enchantments

        private final Map<Enchantment,​LootNumberProvider> enchantments
        Mappings:
        Namespace Name Mixin selector
        official a Ldji$a;a:Ljava/util/Map;
        intermediary field_31864 Lnet/minecraft/class_5642$class_6158;field_31864:Ljava/util/Map;
        named enchantments Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantments:Ljava/util/Map;
      • add

        private final boolean add
        Mappings:
        Namespace Name Mixin selector
        official b Ldji$a;b:Z
        intermediary field_31865 Lnet/minecraft/class_5642$class_6158;field_31865:Z
        named add Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;add:Z
    • 构造器详细资料

      • Builder

        public Builder()
      • Builder

        public Builder​(boolean add)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldji$a;<init>(Z)V
        intermediary <init> Lnet/minecraft/class_5642$class_6158;<init>(Z)V
        named <init> Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;<init>(Z)V
    • 方法详细资料

      • enchantment

        public SetEnchantmentsLootFunction.Builder enchantment​(Enchantment enchantment,
                                                               LootNumberProvider level)
        Mappings:
        Namespace Name Mixin selector
        official a Ldji$a;a(Lbtl;Ldlc;)Ldji$a;
        intermediary method_35539 Lnet/minecraft/class_5642$class_6158;method_35539(Lnet/minecraft/class_1887;Lnet/minecraft/class_5658;)Lnet/minecraft/class_5642$class_6158;
        named enchantment Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantment(Lnet/minecraft/enchantment/Enchantment;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$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;