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 exr$a
  • Field Details

    • options

      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options:Ljava/util/Optional;
      intermediary field_51794 Lnet/minecraft/class_109$class_4954;field_51794:Ljava/util/Optional;
      official a Lexr$a;a:Ljava/util/Optional;
    • onlyCompatible

      private boolean onlyCompatible
      Mappings:
      Namespace Name Mixin selector
      named onlyCompatible Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;onlyCompatible:Z
      intermediary field_51795 Lnet/minecraft/class_109$class_4954;field_51795:Z
      official b Lexr$a;b:Z
  • 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 Lexr$a;a()Lexr$a;
    • option

      Mappings:
      Namespace Name Mixin selector
      named option Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;option(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
      intermediary method_25992 Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_6880;)Lnet/minecraft/class_109$class_4954;
      official a Lexr$a;a(Ljq;)Lexr$a;
    • options

      Mappings:
      Namespace Name Mixin selector
      named options Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
      intermediary method_60293 Lnet/minecraft/class_109$class_4954;method_60293(Lnet/minecraft/class_6885;)Lnet/minecraft/class_109$class_4954;
      official a Lexr$a;a(Lju;)Lexr$a;
    • allowIncompatible

      public EnchantRandomlyLootFunction.Builder allowIncompatible()
      Mappings:
      Namespace Name Mixin selector
      named allowIncompatible Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;allowIncompatible()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
      intermediary method_60294 Lnet/minecraft/class_109$class_4954;method_60294()Lnet/minecraft/class_109$class_4954;
      official e Lexr$a;e()Lexr$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 Leyc$a;b()Leyc;