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 ecp$aintermediary net/minecraft/class_52$class_53named net/minecraft/loot/LootTable$Builder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<LootFunction>private @Nullable Identifierprivate LootContextType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(LootFunction.Builder builder) build()pool(LootPool.Builder poolBuilder) randomSequenceId(Identifier randomSequenceId) type(LootContextType context) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Field Details
-
pools
- Mappings:
Namespace Name Mixin selector official aLecp$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
- Mappings:
Namespace Name Mixin selector official bLecp$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
- Mappings:
Namespace Name Mixin selector official cLecp$a;c:Leer;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;
-
randomSequenceId
- Mappings:
Namespace Name Mixin selector official dLecp$a;d:Laep;intermediary field_44893Lnet/minecraft/class_52$class_53;field_44893:Lnet/minecraft/class_2960;named randomSequenceIdLnet/minecraft/loot/LootTable$Builder;randomSequenceId:Lnet/minecraft/util/Identifier;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pool
- Mappings:
Namespace Name Mixin selector official aLecp$a;a(Leco$a;)Lecp$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
- Mappings:
Namespace Name Mixin selector official aLecp$a;a(Leer;)Lecp$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;
-
randomSequenceId
- Mappings:
Namespace Name Mixin selector official aLecp$a;a(Laep;)Lecp$a;intermediary method_51883Lnet/minecraft/class_52$class_53;method_51883(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52$class_53;named randomSequenceIdLnet/minecraft/loot/LootTable$Builder;randomSequenceId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable$Builder;
-
apply
- Specified by:
applyin interfaceLootFunctionConsumingBuilder<LootTable.Builder>- Mappings:
Namespace Name Mixin selector official aLecp$a;a(Ledw$a;)Lecp$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;
-
getThisFunctionConsumingBuilder
- Specified by:
getThisFunctionConsumingBuilderin interfaceLootFunctionConsumingBuilder<LootTable.Builder>- Mappings:
Namespace Name Mixin selector official aLecp$a;a()Lecp$a;intermediary method_337Lnet/minecraft/class_52$class_53;method_337()Lnet/minecraft/class_52$class_53;named getThisFunctionConsumingBuilderLnet/minecraft/loot/LootTable$Builder;getThisFunctionConsumingBuilder()Lnet/minecraft/loot/LootTable$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official bLecp$a;b()Lecp;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;
-