类 SetEnchantmentsLootFunction.Builder
- java.lang.Object
-
- net.minecraft.loot.function.ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
-
- net.minecraft.loot.function.SetEnchantmentsLootFunction.Builder
-
public static class SetEnchantmentsLootFunction.Builder extends ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>
- Mappings:
Namespace Name official dji$aintermediary net/minecraft/class_5642$class_6158named net/minecraft/loot/function/SetEnchantmentsLootFunction$Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanaddprivate Map<Enchantment,LootNumberProvider>enchantments
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LootFunctionbuild()SetEnchantmentsLootFunction.Builderenchantment(Enchantment enchantment, LootNumberProvider level)protected SetEnchantmentsLootFunction.BuildergetThisBuilder()-
从类继承的方法 net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
-
-
-
字段详细资料
-
enchantments
private final Map<Enchantment,LootNumberProvider> enchantments
- Mappings:
Namespace Name Mixin selector official aLdji$a;a:Ljava/util/Map;intermediary field_31864Lnet/minecraft/class_5642$class_6158;field_31864:Ljava/util/Map;named enchantmentsLnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantments:Ljava/util/Map;
-
add
private final boolean add
- Mappings:
Namespace Name Mixin selector official bLdji$a;b:Zintermediary field_31865Lnet/minecraft/class_5642$class_6158;field_31865:Znamed addLnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;add:Z
-
-
构造器详细资料
-
Builder
public Builder()
-
Builder
public Builder(boolean add)
- Mappings:
Namespace Name Mixin selector official <init>Ldji$a;<init>(Z)Vintermediary <init>Lnet/minecraft/class_5642$class_6158;<init>(Z)Vnamed <init>Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;<init>(Z)V
-
-
方法详细资料
-
getThisBuilder
protected SetEnchantmentsLootFunction.Builder getThisBuilder()
- 指定者:
getThisBuilder在类中ConditionalLootFunction.Builder<SetEnchantmentsLootFunction.Builder>- Mappings:
Namespace Name Mixin selector official aLdji$a;a()Ldji$a;intermediary method_35538Lnet/minecraft/class_5642$class_6158;method_35538()Lnet/minecraft/class_5642$class_6158;named getThisBuilderLnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
-
enchantment
public SetEnchantmentsLootFunction.Builder enchantment(Enchantment enchantment, LootNumberProvider level)
- Mappings:
Namespace Name Mixin selector official aLdji$a;a(Lbtl;Ldlc;)Ldji$a;intermediary method_35539Lnet/minecraft/class_5642$class_6158;method_35539(Lnet/minecraft/class_1887;Lnet/minecraft/class_5658;)Lnet/minecraft/class_5642$class_6158;named enchantmentLnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;enchantment(Lnet/minecraft/enchantment/Enchantment;Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/function/SetEnchantmentsLootFunction$Builder;
-
build
public LootFunction build()
- Mappings:
Namespace Name Mixin selector official bLdja$a;b()Ldja;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;
-
-