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 ehe$a
intermediary net/minecraft/class_52$class_53
named net/minecraft/loot/LootTable$Builder
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ImmutableList.Builder<LootFunction>
private final ImmutableList.Builder<LootPool>
private Optional<Identifier>
private LootContextType
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootFunction.Builder builder) build()
pool
(LootPool.Builder poolBuilder) randomSequenceId
(Identifier randomSequenceId) type
(LootContextType type) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Field Details
-
pools
- Mappings:
Namespace Name Mixin selector official a
Lehe$a;a:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_949
Lnet/minecraft/class_52$class_53;field_949:Lcom/google/common/collect/ImmutableList$Builder;
named pools
Lnet/minecraft/loot/LootTable$Builder;pools:Lcom/google/common/collect/ImmutableList$Builder;
-
functions
- Mappings:
Namespace Name Mixin selector official b
Lehe$a;b:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_951
Lnet/minecraft/class_52$class_53;field_951:Lcom/google/common/collect/ImmutableList$Builder;
named functions
Lnet/minecraft/loot/LootTable$Builder;functions:Lcom/google/common/collect/ImmutableList$Builder;
-
type
- Mappings:
Namespace Name Mixin selector official c
Lehe$a;c:Lejf;
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;
-
randomSequenceId
- Mappings:
Namespace Name Mixin selector official d
Lehe$a;d:Ljava/util/Optional;
intermediary field_44893
Lnet/minecraft/class_52$class_53;field_44893:Ljava/util/Optional;
named randomSequenceId
Lnet/minecraft/loot/LootTable$Builder;randomSequenceId:Ljava/util/Optional;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pool
- Mappings:
Namespace Name Mixin selector official a
Lehe$a;a(Lehd$a;)Lehe$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
Lehe$a;a(Lejf;)Lehe$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;
-
randomSequenceId
- Mappings:
Namespace Name Mixin selector official a
Lehe$a;a(Lahg;)Lehe$a;
intermediary method_51883
Lnet/minecraft/class_52$class_53;method_51883(Lnet/minecraft/class_2960;)Lnet/minecraft/class_52$class_53;
named randomSequenceId
Lnet/minecraft/loot/LootTable$Builder;randomSequenceId(Lnet/minecraft/util/Identifier;)Lnet/minecraft/loot/LootTable$Builder;
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name Mixin selector official a
Lehe$a;a(Leij$a;)Lehe$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;
-
getThisFunctionConsumingBuilder
- Specified by:
getThisFunctionConsumingBuilder
in interfaceLootFunctionConsumingBuilder<LootTable.Builder>
- Mappings:
Namespace Name Mixin selector official a
Lehe$a;a()Lehe$a;
intermediary method_337
Lnet/minecraft/class_52$class_53;method_337()Lnet/minecraft/class_52$class_53;
named getThisFunctionConsumingBuilder
Lnet/minecraft/loot/LootTable$Builder;getThisFunctionConsumingBuilder()Lnet/minecraft/loot/LootTable$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Lehe$a;b()Lehe;
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;
-