Package net.minecraft.loot.function
Class EnchantRandomlyLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
net.minecraft.loot.function.EnchantRandomlyLootFunction.Builder
- All Implemented Interfaces:
- LootConditionConsumingBuilder<EnchantRandomlyLootFunction.Builder>,- LootFunction.Builder
- Enclosing class:
- EnchantRandomlyLootFunction
public static class EnchantRandomlyLootFunction.Builder
extends ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
- Mappings:
- Namespace - Name - named - net/minecraft/loot/function/EnchantRandomlyLootFunction$Builder- intermediary - net/minecraft/class_109$class_4954- official - fbw$a
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate booleanprivate Optional<RegistryEntryList<Enchantment>> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()protected EnchantRandomlyLootFunction.Builderoption(RegistryEntry<Enchantment> enchantment) options(RegistryEntryList<Enchantment> options) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builderconditionally, getConditions, getThisConditionConsumingBuilderMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilderconditionally
- 
Field Details- 
options- Mappings:
- Namespace - Name - Mixin selector - named - options- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options:Ljava/util/Optional;- intermediary - field_51794- Lnet/minecraft/class_109$class_4954;field_51794:Ljava/util/Optional;- official - a- Lfbw$a;a:Ljava/util/Optional;
 
- 
onlyCompatibleprivate boolean onlyCompatible- Mappings:
- Namespace - Name - Mixin selector - named - onlyCompatible- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;onlyCompatible:Z- intermediary - field_51795- Lnet/minecraft/class_109$class_4954;field_51795:Z- official - b- Lfbw$a;b:Z
 
 
- 
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
getThisBuilder- Specified by:
- getThisBuilderin class- ConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
- Mappings:
- Namespace - Name - Mixin selector - named - getThisBuilder- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;- intermediary - method_25991- Lnet/minecraft/class_109$class_4954;method_25991()Lnet/minecraft/class_109$class_4954;- official - a- Lfbw$a;a()Lfbw$a;
 
- 
option- Mappings:
- Namespace - Name - Mixin selector - named - option- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;option(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;- intermediary - method_25992- Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_6880;)Lnet/minecraft/class_109$class_4954;- official - a- Lfbw$a;a(Ljg;)Lfbw$a;
 
- 
options- Mappings:
- Namespace - Name - Mixin selector - named - options- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;- intermediary - method_60293- Lnet/minecraft/class_109$class_4954;method_60293(Lnet/minecraft/class_6885;)Lnet/minecraft/class_109$class_4954;- official - a- Lfbw$a;a(Ljk;)Lfbw$a;
 
- 
allowIncompatible- Mappings:
- Namespace - Name - Mixin selector - named - allowIncompatible- Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;allowIncompatible()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;- intermediary - method_60294- Lnet/minecraft/class_109$class_4954;method_60294()Lnet/minecraft/class_109$class_4954;- official - e- Lfbw$a;e()Lfbw$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- Lfch$a;b()Lfch;
 
 
-