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 eib$a
intermediary net/minecraft/class_109$class_4954
named net/minecraft/loot/function/EnchantRandomlyLootFunction$Builder
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionadd
(Enchantment enchantment) build()
protected EnchantRandomlyLootFunction.Builder
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
-
enchantments
- Mappings:
Namespace Name Mixin selector official a
Leib$a;a:Ljava/util/List;
intermediary field_23090
Lnet/minecraft/class_109$class_4954;field_23090:Ljava/util/List;
named enchantments
Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;enchantments:Ljava/util/List;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
getThisBuilder
- Specified by:
getThisBuilder
in classConditionalLootFunction.Builder<EnchantRandomlyLootFunction.Builder>
- Mappings:
Namespace Name Mixin selector official a
Leib$a;a()Leib$a;
intermediary method_25991
Lnet/minecraft/class_109$class_4954;method_25991()Lnet/minecraft/class_109$class_4954;
named getThisBuilder
Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
-
add
- Mappings:
Namespace Name Mixin selector official a
Leib$a;a(Lcrj;)Leib$a;
intermediary method_25992
Lnet/minecraft/class_109$class_4954;method_25992(Lnet/minecraft/class_1887;)Lnet/minecraft/class_109$class_4954;
named add
Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;add(Lnet/minecraft/enchantment/Enchantment;)Lnet/minecraft/loot/function/EnchantRandomlyLootFunction$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Leij$a;b()Leij;
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;
-