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 named net/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder
intermediary net/minecraft/class_106$class_107
official esv$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final LootNumberProvider
private Optional
<RegistryEntryList<Enchantment>> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
protected EnchantWithLevelsLootFunction.Builder
options
(RegistryEntryList<Enchantment> options) 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
-
levels
- Mappings:
Namespace Name Mixin selector named levels
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;levels:Lnet/minecraft/loot/provider/number/LootNumberProvider;
intermediary field_1028
Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;
official a
Lesv$a;a:Levy;
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;options:Ljava/util/Optional;
intermediary field_51797
Lnet/minecraft/class_106$class_107;field_51797:Ljava/util/Optional;
official b
Lesv$a;b:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
intermediary <init>
Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)V
official <init>
Lesv$a;<init>(Levy;)V
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector named getThisBuilder
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
intermediary method_483
Lnet/minecraft/class_106$class_107;method_483()Lnet/minecraft/class_106$class_107;
official a
Lesv$a;a()Lesv$a;
-
options
- Mappings:
Namespace Name Mixin selector named options
Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;options(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
intermediary method_60295
Lnet/minecraft/class_106$class_107;method_60295(Lnet/minecraft/class_6885;)Lnet/minecraft/class_106$class_107;
official a
Lesv$a;a(Ljq;)Lesv$a;
-
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
Letf$a;b()Letf;
-