类 EnchantWithLevelsLootFunction.Builder
- java.lang.Object
-
- net.minecraft.loot.function.ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
-
- net.minecraft.loot.function.EnchantWithLevelsLootFunction.Builder
-
- 所有已实现的接口:
LootConditionConsumingBuilder<EnchantWithLevelsLootFunction.Builder>,LootFunction.Builder
public static class EnchantWithLevelsLootFunction.Builder extends ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>
- Mappings:
Namespace Name official diu$aintermediary net/minecraft/class_106$class_107named net/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private LootNumberProviderrangeprivate booleantreasureEnchantmentsAllowed
-
构造器概要
构造器 构造器 说明 Builder(LootNumberProvider range)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 EnchantWithLevelsLootFunction.BuilderallowTreasureEnchantments()LootFunctionbuild()protected EnchantWithLevelsLootFunction.BuildergetThisBuilder()-
从类继承的方法 net.minecraft.loot.function.ConditionalLootFunction.Builder
conditionally, getConditions, getThis
-
-
-
-
字段详细资料
-
range
private final LootNumberProvider range
- Mappings:
Namespace Name Mixin selector official aLdiu$a;a:Ldlc;intermediary field_1028Lnet/minecraft/class_106$class_107;field_1028:Lnet/minecraft/class_5658;named rangeLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;range:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
treasureEnchantmentsAllowed
private boolean treasureEnchantmentsAllowed
- Mappings:
Namespace Name Mixin selector official bLdiu$a;b:Zintermediary field_1029Lnet/minecraft/class_106$class_107;field_1029:Znamed treasureEnchantmentsAllowedLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;treasureEnchantmentsAllowed:Z
-
-
构造器详细资料
-
Builder
public Builder(LootNumberProvider range)
- Mappings:
Namespace Name Mixin selector official <init>Ldiu$a;<init>(Ldlc;)Vintermediary <init>Lnet/minecraft/class_106$class_107;<init>(Lnet/minecraft/class_5658;)Vnamed <init>Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;<init>(Lnet/minecraft/loot/provider/number/LootNumberProvider;)V
-
-
方法详细资料
-
getThisBuilder
protected EnchantWithLevelsLootFunction.Builder getThisBuilder()
- 指定者:
getThisBuilder在类中ConditionalLootFunction.Builder<EnchantWithLevelsLootFunction.Builder>- Mappings:
Namespace Name Mixin selector official aLdiu$a;a()Ldiu$a;intermediary method_483Lnet/minecraft/class_106$class_107;method_483()Lnet/minecraft/class_106$class_107;named getThisBuilderLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;getThisBuilder()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;
-
allowTreasureEnchantments
public EnchantWithLevelsLootFunction.Builder allowTreasureEnchantments()
- Mappings:
Namespace Name Mixin selector official eLdiu$a;e()Ldiu$a;intermediary method_484Lnet/minecraft/class_106$class_107;method_484()Lnet/minecraft/class_106$class_107;named allowTreasureEnchantmentsLnet/minecraft/loot/function/EnchantWithLevelsLootFunction$Builder;allowTreasureEnchantments()Lnet/minecraft/loot/function/EnchantWithLevelsLootFunction$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;
-
-