Package net.minecraft.loot.function
Class SetEnchantmentsLootFunction.Builder
java.lang.Object
net.minecraft.loot.function.ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
net.minecraft.loot.function.SetEnchantmentsLootFunction.Builder
- All Implemented Interfaces:
- LootConditionConsumingBuilder<SetEnchantmentsLootFunction.Builder>,- LootFunction.Builder
- Enclosing class:
- SetEnchantmentsLootFunction
public static class SetEnchantmentsLootFunction.Builder
extends ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
- Mappings:
- Namespace - Name - official - ebh$a- intermediary - net/minecraft/class_5642$class_6158- named - net/minecraft/loot/function/SetEnchantmentsLootFunction$Builder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final booleanprivate final Map<Enchantment,LootNumberProvider> 
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()enchantment(Enchantment enchantment, LootNumberProvider level) protected SetEnchantmentsLootFunction.BuilderMethods 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- 
enchantments- Mappings:
- Namespace - Name - Mixin selector - official - a- Lebh$a;a:Ljava/util/Map;- intermediary - field_31864- Lnet/minecraft/class_5642$class_6158;field_31864:Ljava/util/Map;- named - enchantments- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantments:Ljava/util/Map;
 
- 
addprivate final boolean add- Mappings:
- Namespace - Name - Mixin selector - official - b- Lebh$a;b:Z- intermediary - field_31865- Lnet/minecraft/class_5642$class_6158;field_31865:Z- named - add- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;add:Z
 
 
- 
- 
Constructor Details- 
Builderpublic Builder()
- 
Builderpublic Builder(boolean add) - Mappings:
- Namespace - Name - Mixin selector - official - <init>- Lebh$a;<init>(Z)V- intermediary - <init>- Lnet/minecraft/class_5642$class_6158;<init>(Z)V- named - <init>- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;<init>(Z)V
 
 
- 
- 
Method Details- 
getThisBuilder- Specified by:
- getThisBuilderin class- ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Lebh$a;a()Lebh$a;- intermediary - method_35538- Lnet/minecraft/class_5642$class_6158;method_35538()Lnet/minecraft/class_5642$class_6158;- named - getThisBuilder- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
 
- 
enchantmentpublic SetEnchantmentsLootFunction.Builder enchantment(Enchantment enchantment, LootNumberProvider level) - Mappings:
- Namespace - Name - Mixin selector - official - a- Lebh$a;a(Lckg;Ledf;)Lebh$a;- intermediary - method_35539- Lnet/minecraft/class_5642$class_6158;method_35539(Lnet/minecraft/class_1887;Lnet/minecraft/class_5658;)Lnet/minecraft/class_5642$class_6158;- named - enchantment- Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantment(Lnet/minecraft/enchantment/Enchantment;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
 
- 
build- Mappings:
- Namespace - Name - Mixin selector - official - b- Leaz$a;b()Leaz;- 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;
 
 
-