类 LootTable.Builder
- java.lang.Object
-
- net.minecraft.loot.LootTable.Builder
-
- 所有已实现的接口:
LootFunctionConsumingBuilder<LootTable.Builder>
- 封闭类:
- LootTable
public static class LootTable.Builder extends Object implements LootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name official dhs$aintermediary net/minecraft/class_52$class_53named net/minecraft/loot/LootTable$Builder
-
-
字段概要
字段 修饰符和类型 字段 说明 private List<LootFunction>functionsprivate List<LootPool>poolsprivate LootContextTypetype
-
构造器概要
构造器 构造器 说明 Builder()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 LootTable.Builderapply(LootFunction.Builder builder)LootTablebuild()LootTable.BuildergetThis()LootTable.Builderpool(LootPool.Builder poolBuilder)LootTable.Buildertype(LootContextType context)
-
-
-
字段详细资料
-
pools
private final List<LootPool> pools
- Mappings:
Namespace Name Mixin selector official aLdhs$a;a:Ljava/util/List;intermediary field_949Lnet/minecraft/class_52$class_53;field_949:Ljava/util/List;named poolsLnet/minecraft/loot/LootTable$Builder;pools:Ljava/util/List;
-
functions
private final List<LootFunction> functions
- Mappings:
Namespace Name Mixin selector official bLdhs$a;b:Ljava/util/List;intermediary field_951Lnet/minecraft/class_52$class_53;field_951:Ljava/util/List;named functionsLnet/minecraft/loot/LootTable$Builder;functions:Ljava/util/List;
-
type
private LootContextType type
- Mappings:
Namespace Name Mixin selector official cLdhs$a;c:Ldjt;intermediary field_950Lnet/minecraft/class_52$class_53;field_950:Lnet/minecraft/class_176;named typeLnet/minecraft/loot/LootTable$Builder;type:Lnet/minecraft/loot/context/LootContextType;
-
-
方法详细资料
-
pool
public LootTable.Builder pool(LootPool.Builder poolBuilder)
- Mappings:
Namespace Name Mixin selector official aLdhs$a;a(Ldhr$a;)Ldhs$a;intermediary method_336Lnet/minecraft/class_52$class_53;method_336(Lnet/minecraft/class_55$class_56;)Lnet/minecraft/class_52$class_53;named poolLnet/minecraft/loot/LootTable$Builder;pool(Lnet/minecraft/loot/LootPool$Builder;)Lnet/minecraft/loot/LootTable$Builder;
-
type
public LootTable.Builder type(LootContextType context)
- Mappings:
Namespace Name Mixin selector official aLdhs$a;a(Ldjt;)Ldhs$a;intermediary method_334Lnet/minecraft/class_52$class_53;method_334(Lnet/minecraft/class_176;)Lnet/minecraft/class_52$class_53;named typeLnet/minecraft/loot/LootTable$Builder;type(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/LootTable$Builder;
-
apply
public LootTable.Builder apply(LootFunction.Builder builder)
- 指定者:
apply在接口中LootFunctionConsumingBuilder<LootTable.Builder>- Mappings:
Namespace Name Mixin selector official aLdhs$a;a(Ldja$a;)Ldhs$a;intermediary method_335Lnet/minecraft/class_52$class_53;method_335(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_52$class_53;named applyLnet/minecraft/loot/LootTable$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/LootTable$Builder;
-
getThis
public LootTable.Builder getThis()
- 指定者:
getThis在接口中LootFunctionConsumingBuilder<LootTable.Builder>- Mappings:
Namespace Name Mixin selector official aLdhs$a;a()Ldhs$a;intermediary method_337Lnet/minecraft/class_52$class_53;method_337()Lnet/minecraft/class_52$class_53;named getThisLnet/minecraft/loot/LootTable$Builder;getThis()Lnet/minecraft/loot/LootTable$Builder;
-
build
public LootTable build()
- Mappings:
Namespace Name Mixin selector official bLdhs$a;b()Ldhs;intermediary method_338Lnet/minecraft/class_52$class_53;method_338()Lnet/minecraft/class_52;named buildLnet/minecraft/loot/LootTable$Builder;build()Lnet/minecraft/loot/LootTable;
-
-