Class SetEnchantmentsLootFunction.Builder

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

public static class SetEnchantmentsLootFunction.Builder extends ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/SetEnchantmentsLootFunction$Builder
intermediary net/minecraft/class_5642$class_6158
official eyp$a
  • Field Details

    • enchantments

      Mappings:
      Namespace Name Mixin selector
      named enchantments Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantments:Lcom/google/common/collect/ImmutableMap$Builder;
      intermediary field_31864 Lnet/minecraft/class_5642$class_6158;field_31864:Lcom/google/common/collect/ImmutableMap$Builder;
      official a Leyp$a;a:Lcom/google/common/collect/ImmutableMap$Builder;
    • add

      private final boolean add
      Mappings:
      Namespace Name Mixin selector
      named add Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;add:Z
      intermediary field_31865 Lnet/minecraft/class_5642$class_6158;field_31865:Z
      official b Leyp$a;b:Z
  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(boolean add)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;<init>(Z)V
      intermediary <init> Lnet/minecraft/class_5642$class_6158;<init>(Z)V
      official <init> Leyp$a;<init>(Z)V
  • Method Details

    • getThisBuilder

      protected SetEnchantmentsLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
      intermediary method_35538 Lnet/minecraft/class_5642$class_6158;method_35538()Lnet/minecraft/class_5642$class_6158;
      official a Leyp$a;a()Leyp$a;
    • enchantment

      Mappings:
      Namespace Name Mixin selector
      named enchantment Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantment(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
      intermediary method_35539 Lnet/minecraft/class_5642$class_6158;method_35539(Lnet/minecraft/class_6880;Lnet/minecraft/class_5658;)Lnet/minecraft/class_5642$class_6158;
      official a Leyp$a;a(Ljq;Lfat;)Leyp$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;