Package net.minecraft.loot.function
Class LootingEnchantLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<LootingEnchantLootFunction.Builder>
net.minecraft.loot.function.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 dfw$a
intermediary net/minecraft/class_125$class_126
named net/minecraft/loot/function/LootingEnchantLootFunction$Builder
-
Field Summary
Fields Modifier and Type Field Description private LootNumberProvider
countRange
private int
limit
-
Constructor Summary
Constructors Constructor Description Builder(LootNumberProvider countRange)
-
Method Summary
Modifier and Type Method Description LootFunction
build()
protected LootingEnchantLootFunction.Builder
getThisBuilder()
LootingEnchantLootFunction.Builder
withLimit(int limit)
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
Field Details
-
countRange
- Mappings:
Namespace Name Mixin selector official a
Ldfw$a;a:Ldhv;
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
Ldfw$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
- Mappings:
Namespace Name Mixin selector official <init>
Ldfw$a;<init>(Ldhv;)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
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<LootingEnchantLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldfw$a;a()Ldfw$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
- Mappings:
Namespace Name Mixin selector official a
Ldfw$a;a(I)Ldfw$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
- Mappings:
Namespace Name Mixin selector official b
Ldft$a;b()Ldft;
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;
-