类 EnchantRandomlyLootFunction.Builder

    • 字段详细资料

      • enchantments

        private final Set<Enchantment> enchantments
        Mappings:
        Namespace Name Mixin selector
        official a Ldit$a;a:Ljava/util/Set;
        intermediary field_23090 Lnet/minecraft/class_109$class_4954;field_23090:Ljava/util/Set;
        named enchantments Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;enchantments:Ljava/util/Set;
    • 构造器详细资料

      • Builder

        public Builder()
    • 方法详细资料

      • add

        public EnchantRandomlyLootFunction.Builder add​(Enchantment enchantment)
        Mappings:
        Namespace Name Mixin selector
        official a Ldit$a;a(Lbtl;)Ldit$a;
        intermediary method_25992 Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_1887;)Lnet/minecraft/class_109$class_4954;
        named add Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;add(Lnet/minecraft/enchantment/Enchantment;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$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;