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
official eim$a
intermediary net/minecraft/class_125$class_126
named net/minecraft/loot/function/LootingEnchantLootFunction$Builder
  • Field Details

    • countRange

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

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

    • Builder

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

    • getThisBuilder

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

      public LootingEnchantLootFunction.Builder withLimit(int limit)
      Mappings:
      Namespace Name Mixin selector
      official a Leim$a;a(I)Leim$a;
      intermediary method_551 Lnet/minecraft/class_125$class_126;method_551(I)Lnet/minecraft/class_125$class_126;
      named withLimit Lnet/minecraft/loot/function/LootingEnchantLootFunction$Builder;withLimit(I)Lnet/minecraft/loot/function/LootingEnchantLootFunction$Builder;
    • build

      public LootFunction build()
      Mappings:
      Namespace Name Mixin selector
      official b Leij$a;b()Leij;
      intermediary method_515 Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;
      named build Lnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;