Class EnchantRandomlyLootFunction.Builder

All Implemented Interfaces:
LootConditionConsumingBuilder<EnchantRandomlyLootFunction.Builder>, LootFunction.Builder
Enclosing class:
EnchantRandomlyLootFunction

public static class EnchantRandomlyLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/EnchantRandomlyLootFunction$Builder
intermediary net/minecraft/class_109$class_4954
official ern$a
  • Field Details

    • enchantments

      private final List<RegistryEntry<Enchantment>> enchantments
      Mappings:
      Namespace Name Mixin selector
      named enchantments Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;enchantments:Ljava/util/List;
      intermediary field_23090 Lnet/minecraft/class_109$class_4954;field_23090:Ljava/util/List;
      official a Lern$a;a:Ljava/util/List;
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • getThisBuilder

      protected EnchantRandomlyLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
      intermediary method_25991 Lnet/minecraft/class_109$class_4954;method_25991()Lnet/minecraft/class_109$class_4954;
      official a Lern$a;a()Lern$a;
    • add

      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;add(Lnet/minecraft/enchantment/Enchantment;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
      intermediary method_25992 Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_1887;)Lnet/minecraft/class_109$class_4954;
      official a Lern$a;a(Ldac;)Lern$a;
    • build

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