Package net.minecraft.loot.function
Class EnchantWithLevelsLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
net.minecraft.loot.function.EnchantWithLevelsLootFunction.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<EnchantWithLevelsLootFunction.Builder>,LootFunction.Builder
- Enclosing class:
- EnchantWithLevelsLootFunction
public static class EnchantWithLevelsLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
- Mappings:
Namespace Name official dfn$aintermediary net/minecraft/class_106$class_107named net/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder
-
Field Summary
Fields Modifier and Type Field Description private LootNumberProviderrangeprivate booleantreasureEnchantmentsAllowed -
Constructor Summary
Constructors Constructor Description Builder(LootNumberProvider range) -
Method Summary
Modifier and Type Method Description EnchantWithLevelsLootFunction.BuilderallowTreasureEnchantments()LootFunctionbuild()protected EnchantWithLevelsLootFunction.BuildergetThisBuilder()Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
Field Details
-
range
- Mappings:
Namespace Name Mixin selector official aLdfn$a;a:Ldhv;intermediary field_1028Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;named rangeLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;range:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
treasureEnchantmentsAllowed
private boolean treasureEnchantmentsAllowed- Mappings:
Namespace Name Mixin selector official bLdfn$a;b:Zintermediary field_1029Lnet/minecraft/class_106$class_107;field_1029:Znamed treasureEnchantmentsAllowedLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;treasureEnchantmentsAllowed:Z
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>Ldfn$a;<init>(Ldhv;)Vintermediary <init>Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)Vnamed <init>Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilderin classConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>- Mappings:
Namespace Name Mixin selector official aLdfn$a;a()Ldfn$a;intermediary method_483Lnet/minecraft/class_106$class_107;method_483()Lnet/minecraft/class_106$class_107;named getThisBuilderLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
-
allowTreasureEnchantments
- Mappings:
Namespace Name Mixin selector official eLdfn$a;e()Ldfn$a;intermediary method_484Lnet/minecraft/class_106$class_107;method_484()Lnet/minecraft/class_106$class_107;named allowTreasureEnchantmentsLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;allowTreasureEnchantments()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official bLdft$a;b()Ldft;intermediary method_515Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;named buildLnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
-