Class EnchantedCountIncreaseLootFunction.Builder

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

public static class EnchantedCountIncreaseLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantedCountIncreaseLootFunction.Builder>
Mappings:
Namespace Name
named net/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder
intermediary net/minecraft/class_125$class_126
official esb$a
  • Field Details

    • enchantment

      private final RegistryEntry<Enchantment> enchantment
      Mappings:
      Namespace Name Mixin selector
      named enchantment Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;enchantment:Lnet/minecraft/registry/entry/RegistryEntry;
      intermediary field_51799 Lnet/minecraft/class_125$class_126;field_51799:Lnet/minecraft/class_6880;
      official a Lesb$a;a:Ljj;
    • count

      private final LootNumberProvider count
      Mappings:
      Namespace Name Mixin selector
      named count Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;count:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_1084 Lnet/minecraft/class_125$class_126;field_1084:Lnet/minecraft/class_5658;
      official b Lesb$a;b:Levd;
    • limit

      private int limit
      Mappings:
      Namespace Name Mixin selector
      named limit Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;limit:I
      intermediary field_1085 Lnet/minecraft/class_125$class_126;field_1085:I
      official c Lesb$a;c:I
  • Constructor Details

    • Builder

      public Builder(RegistryEntry<Enchantment> enchantment, LootNumberProvider count)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;<init>(Lnet/minecraft/registry/entry/RegistryEntry;Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
      intermediary <init> Lnet/minecraft/class_125$class_126;<init>(Lnet/minecraft/class_6880;Lnet/minecraft/class_5658;)V
      official <init> Lesb$a;<init>(Ljj;Levd;)V
  • Method Details

    • getThisBuilder

      protected EnchantedCountIncreaseLootFunction.Builder getThisBuilder()
      Specified by:
      getThisBuilder in class ConditionalLootFunction.Builder<EnchantedCountIncreaseLootFunction.Builder>
      Mappings:
      Namespace Name Mixin selector
      named getThisBuilder Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;
      intermediary method_552 Lnet/minecraft/class_125$class_126;method_552()Lnet/minecraft/class_125$class_126;
      official a Lesb$a;a()Lesb$a;
    • withLimit

      public EnchantedCountIncreaseLootFunction.Builder withLimit(int limit)
      Mappings:
      Namespace Name Mixin selector
      named withLimit Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;withLimit(I)Lnet/minecraft/loot/function/EnchantedCountIncreaseLootFunction$Builder;
      intermediary method_551 Lnet/minecraft/class_125$class_126;method_551(I)Lnet/minecraft/class_125$class_126;
      official a Lesb$a;a(I)Lesb$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;