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 official dvv$aintermediary net/minecraft/class_109$class_4954named net/minecraft/loot/function/EnchantRandomlyLootFunction$Builder
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionadd(Enchantment enchantment) build()protected EnchantRandomlyLootFunction.BuilderMethods inherited from class net.minecraft.loot.function.ConditionalLootFunction.Builder
getConditions, getThisBuilder, method_524, method_525Methods 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, conditionally, getThisConditionConsumingBuilder
-
Field Details
-
enchantments
- Mappings:
Namespace Name Mixin selector official aLdvv$a;a:Ljava/util/Set;intermediary field_23090Lnet/minecraft/class_109$class_4954;field_23090:Ljava/util/Set;named enchantmentsLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;enchantments:Ljava/util/Set;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
method_25991
- Mappings:
Namespace Name Mixin selector official aLdvv$a;a()Ldvv$a;intermediary method_25991Lnet/minecraft/class_109$class_4954;method_25991()Lnet/minecraft/class_109$class_4954;named method_25991Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;method_25991()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
-
add
- Mappings:
Namespace Name Mixin selector official aLdvv$a;a(Lcgt;)Ldvv$a;intermediary method_25992Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_1887;)Lnet/minecraft/class_109$class_4954;named addLnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;add(Lnet/minecraft/enchantment/Enchantment;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official bLdwc$a;b()Ldwc;intermediary method_515Lnet/minecraft/class_117$class_118;method_515()Lnet/minecraft/class_117;named buildLnet/minecraft/loot/function/LootFunction$Builder;build()Lnet/minecraft/loot/function/LootFunction;
-