Package net.minecraft.loot
Class LootTable.Builder
java.lang.Object
net.minecraft.loot.LootTable.Builder
- All Implemented Interfaces:
LootFunctionConsumingBuilder<LootTable.Builder>
- Enclosing class:
- LootTable
public static class LootTable.Builder extends Object implements LootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name official del$a
intermediary net/minecraft/class_52$class_53
named net/minecraft/loot/LootTable$Builder
-
Field Summary
Fields Modifier and Type Field Description private List<LootFunction>
functions
private List<LootPool>
pools
private LootContextType
type
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LootTable.Builder
apply(LootFunction.Builder builder)
LootTable
build()
LootTable.Builder
getThis()
LootTable.Builder
pool(LootPool.Builder poolBuilder)
LootTable.Builder
type(LootContextType context)
-
Field Details
-
pools
- Mappings:
Namespace Name Mixin selector official a
Ldel$a;a:Ljava/util/List;
intermediary field_949
Lnet/minecraft/class_52$class_53;field_949:Ljava/util/List;
named pools
Lnet/minecraft/loot/LootTable$Builder;pools:Ljava/util/List;
-
functions
- Mappings:
Namespace Name Mixin selector official b
Ldel$a;b:Ljava/util/List;
intermediary field_951
Lnet/minecraft/class_52$class_53;field_951:Ljava/util/List;
named functions
Lnet/minecraft/loot/LootTable$Builder;functions:Ljava/util/List;
-
type
- Mappings:
Namespace Name Mixin selector official c
Ldel$a;c:Ldgm;
intermediary field_950
Lnet/minecraft/class_52$class_53;field_950:Lnet/minecraft/class_176;
named type
Lnet/minecraft/loot/LootTable$Builder;type:Lnet/minecraft/loot/context/LootContextType;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pool
- Mappings:
Namespace Name Mixin selector official a
Ldel$a;a(Ldek$a;)Ldel$a;
intermediary method_336
Lnet/minecraft/class_52$class_53;method_336(Lnet/minecraft/class_55$class_56;)Lnet/minecraft/class_52$class_53;
named pool
Lnet/minecraft/loot/LootTable$Builder;pool(Lnet/minecraft/loot/LootPool$Builder;)Lnet/minecraft/loot/LootTable$Builder;
-
type
- Mappings:
Namespace Name Mixin selector official a
Ldel$a;a(Ldgm;)Ldel$a;
intermediary method_334
Lnet/minecraft/class_52$class_53;method_334(Lnet/minecraft/class_176;)Lnet/minecraft/class_52$class_53;
named type
Lnet/minecraft/loot/LootTable$Builder;type(Lnet/minecraft/loot/context/LootContextType;)Lnet/minecraft/loot/LootTable$Builder;
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldel$a;a(Ldft$a;)Ldel$a;
intermediary method_335
Lnet/minecraft/class_52$class_53;method_335(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_52$class_53;
named apply
Lnet/minecraft/loot/LootTable$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/LootTable$Builder;
-
getThis
- Specified by:
getThis
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldel$a;a()Ldel$a;
intermediary method_337
Lnet/minecraft/class_52$class_53;method_337()Lnet/minecraft/class_52$class_53;
named getThis
Lnet/minecraft/loot/LootTable$Builder;getThis()Lnet/minecraft/loot/LootTable$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Ldel$a;b()Ldel;
intermediary method_338
Lnet/minecraft/class_52$class_53;method_338()Lnet/minecraft/class_52;
named build
Lnet/minecraft/loot/LootTable$Builder;build()Lnet/minecraft/loot/LootTable;
-