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$Builderintermediary net/minecraft/class_109$class_4954official esu$a
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate Optional<RegistryEntryList<Enchantment>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()protected EnchantRandomlyLootFunction.Builderoption(RegistryEntry<Enchantment> enchantment) options(RegistryEntryList<Enchantment> options) Methods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThisConditionConsumingBuilderMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.condition.LootConditionConsumingBuilder
conditionally
-
Field Details
-
options
- Mappings:
Namespace Name Mixin selector named optionsLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options:Ljava/util/Optional;intermediary field_51794Lnet/minecraft/class_109$class_4954;field_51794:Ljava/util/Optional;official aLesu$a;a:Ljava/util/Optional;
-
onlyCompatible
private boolean onlyCompatible- Mappings:
Namespace Name Mixin selector named onlyCompatibleLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;onlyCompatible:Zintermediary field_51795Lnet/minecraft/class_109$class_4954;field_51795:Zofficial bLesu$a;b:Z
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilderin classConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>- Mappings:
Namespace Name Mixin selector named getThisBuilderLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;intermediary method_25991Lnet/minecraft/class_109$class_4954;method_25991()Lnet/minecraft/class_109$class_4954;official aLesu$a;a()Lesu$a;
-
option
- Mappings:
Namespace Name Mixin selector named optionLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;option(Lnet/minecraft/registry/entry/RegistryEntry;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;intermediary method_25992Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_6880;)Lnet/minecraft/class_109$class_4954;official aLesu$a;a(Ljm;)Lesu$a;
-
options
- Mappings:
Namespace Name Mixin selector named optionsLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;options(Lnet/minecraft/registry/entry/RegistryEntryList;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;intermediary method_60293Lnet/minecraft/class_109$class_4954;method_60293(Lnet/minecraft/class_6885;)Lnet/minecraft/class_109$class_4954;official aLesu$a;a(Ljq;)Lesu$a;
-
allowIncompatible
- Mappings:
Namespace Name Mixin selector named allowIncompatibleLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;allowIncompatible()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;intermediary method_60294Lnet/minecraft/class_109$class_4954;method_60294()Lnet/minecraft/class_109$class_4954;official eLesu$a;e()Lesu$a;
-
build
- Mappings:
Namespace Name Mixin selector named buildLnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;intermediary method_515Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;official bLetf$a;b()Letf;
-