Class LootingEnchantLootFunction.Builder

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

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

    • countRange

      private final LootNumberProvider countRange
      Mappings:
      Namespace Name Mixin selector
      named countRange Lnet/minecraft/loot/function/LootingEnchantLootFunction$Builder;countRange:Lnet/minecraft/loot/provider/number/LootNumberProvider;
      intermediary field_1084 Lnet/minecraft/class_125$class_126;field_1084:Lnet/minecraft/class_5658;
      official a Lesa$a;a:Leup;
    • limit

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

    • Builder

      public Builder(LootNumberProvider countRange)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/loot/function/LootingEnchantLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
      intermediary <init> Lnet/minecraft/class_125$class_126;<init>(Lnet/minecraft/class_5658;)V
      official <init> Lesa$a;<init>(Leup;)V
  • Method Details

    • getThisBuilder

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

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