Class EnchantWithLevelsLootFunction.Builder

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

public static class EnchantWithLevelsLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder
intermediary net/minecraft/class_106$class_107
official esa$a
  • Field Details

    • levels

      private final LootNumberProvider levels
      Mappings:
      Namespace Name Mixin selector
      named levels Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;levels:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_1028 Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;
      official a Lesa$a;a:Levd;
    • options

      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;options:Ljava/util/Optional;
      intermediary field_51797 Lnet/minecraft/class_106$class_107;field_51797:Ljava/util/Optional;
      official b Lesa$a;b:Ljava/util/Optional;
  • Constructor Details

    • Builder

      public Builder(LootNumberProvider levels)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
      intermediary <init> Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)V
      official <init> Lesa$a;<init>(Levd;)V
  • Method Details

    • getThisBuilder

      protected EnchantWithLevelsLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
      intermediary method_483 Lnet/minecraft/class_106$class_107;method_483()Lnet/minecraft/class_106$class_107;
      official a Lesa$a;a()Lesa$a;
    • options

      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;options(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
      intermediary method_60295 Lnet/minecraft/class_106$class_107;method_60295(Lnet/minecraft/class_6885;)Lnet/minecraft/class_106$class_107;
      official a Lesa$a;a(Ljn;)Lesa$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 Lesk$a;b()Lesk;