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 dsl$a
intermediary net/minecraft/class_106$class_107
named net/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilder
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
range
- Mappings:
Namespace Name Mixin selector official a
Ldsl$a;a:Lduv;
intermediary field_1028
Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;
named range
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;range:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
treasureEnchantmentsAllowed
private boolean treasureEnchantmentsAllowed- Mappings:
Namespace Name Mixin selector official b
Ldsl$a;b:Z
intermediary field_1029
Lnet/minecraft/class_106$class_107;field_1029:Z
named treasureEnchantmentsAllowed
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;treasureEnchantmentsAllowed:Z
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector official <init>
Ldsl$a;<init>(Lduv;)V
intermediary <init>
Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)V
named <init>
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldsl$a;a()Ldsl$a;
intermediary method_483
Lnet/minecraft/class_106$class_107;method_483()Lnet/minecraft/class_106$class_107;
named getThisBuilder
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
-
allowTreasureEnchantments
- Mappings:
Namespace Name Mixin selector official e
Ldsl$a;e()Ldsl$a;
intermediary method_484
Lnet/minecraft/class_106$class_107;method_484()Lnet/minecraft/class_106$class_107;
named allowTreasureEnchantments
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;allowTreasureEnchantments()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Ldsr$a;b()Ldsr;
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;
-