Package net.minecraft.loot
Class LootPool.Builder
java.lang.Object
net.minecraft.loot.LootPool.Builder
- All Implemented Interfaces:
LootConditionConsumingBuilder<LootPool.Builder>
,LootFunctionConsumingBuilder<LootPool.Builder>
- Enclosing class:
LootPool
public static class LootPool.Builder
extends Object
implements LootFunctionConsumingBuilder<LootPool.Builder>, LootConditionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name named net/minecraft/loot/LootPool$Builder
intermediary net/minecraft/class_55$class_56
official eqn$a
-
Field Summary
Modifier and TypeFieldDescriptionprivate LootNumberProvider
private final ImmutableList.Builder
<LootCondition> private final ImmutableList.Builder
<LootPoolEntry> private final ImmutableList.Builder
<LootFunction> private LootNumberProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionapply
(LootFunction.Builder builder) bonusRolls
(LootNumberProvider bonusRolls) build()
conditionally
(LootCondition.Builder builder) rolls
(LootNumberProvider rolls) with
(LootPoolEntry.Builder<?> entry) 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.condition.LootConditionConsumingBuilder
conditionally, getThisConditionConsumingBuilder
Methods inherited from interface net.minecraft.loot.function.LootFunctionConsumingBuilder
apply, apply
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector named entries
Lnet/minecraft/loot/LootPool$Builder;entries:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_960
Lnet/minecraft/class_55$class_56;field_960:Lcom/google/common/collect/ImmutableList$Builder;
official a
Leqn$a;a:Lcom/google/common/collect/ImmutableList$Builder;
-
conditions
- Mappings:
Namespace Name Mixin selector named conditions
Lnet/minecraft/loot/LootPool$Builder;conditions:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_963
Lnet/minecraft/class_55$class_56;field_963:Lcom/google/common/collect/ImmutableList$Builder;
official b
Leqn$a;b:Lcom/google/common/collect/ImmutableList$Builder;
-
functions
- Mappings:
Namespace Name Mixin selector named functions
Lnet/minecraft/loot/LootPool$Builder;functions:Lcom/google/common/collect/ImmutableList$Builder;
intermediary field_961
Lnet/minecraft/class_55$class_56;field_961:Lcom/google/common/collect/ImmutableList$Builder;
official c
Leqn$a;c:Lcom/google/common/collect/ImmutableList$Builder;
-
rolls
- Mappings:
Namespace Name Mixin selector named rolls
Lnet/minecraft/loot/LootPool$Builder;rolls:Lnet/minecraft/loot/provider/number/LootNumberProvider;
intermediary field_959
Lnet/minecraft/class_55$class_56;field_959:Lnet/minecraft/class_5658;
official d
Leqn$a;d:Leuo;
-
bonusRollsRange
- Mappings:
Namespace Name Mixin selector named bonusRollsRange
Lnet/minecraft/loot/LootPool$Builder;bonusRollsRange:Lnet/minecraft/loot/provider/number/LootNumberProvider;
intermediary field_962
Lnet/minecraft/class_55$class_56;field_962:Lnet/minecraft/class_5658;
official e
Leqn$a;e:Leuo;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rolls
- Mappings:
Namespace Name Mixin selector named rolls
Lnet/minecraft/loot/LootPool$Builder;rolls(Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/LootPool$Builder;
intermediary method_352
Lnet/minecraft/class_55$class_56;method_352(Lnet/minecraft/class_5658;)Lnet/minecraft/class_55$class_56;
official a
Leqn$a;a(Leuo;)Leqn$a;
-
getThisFunctionConsumingBuilder
- Specified by:
getThisFunctionConsumingBuilder
in interfaceLootFunctionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector named getThisFunctionConsumingBuilder
Lnet/minecraft/loot/LootPool$Builder;getThisFunctionConsumingBuilder()Lnet/minecraft/loot/LootPool$Builder;
intermediary method_354
Lnet/minecraft/class_55$class_56;method_354()Lnet/minecraft/class_55$class_56;
official a
Leqn$a;a()Leqn$a;
-
bonusRolls
- Mappings:
Namespace Name Mixin selector named bonusRolls
Lnet/minecraft/loot/LootPool$Builder;bonusRolls(Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/LootPool$Builder;
intermediary method_35509
Lnet/minecraft/class_55$class_56;method_35509(Lnet/minecraft/class_5658;)Lnet/minecraft/class_55$class_56;
official b
Leqn$a;b(Leuo;)Leqn$a;
-
with
- Mappings:
Namespace Name Mixin selector named with
Lnet/minecraft/loot/LootPool$Builder;with(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootPool$Builder;
intermediary method_351
Lnet/minecraft/class_55$class_56;method_351(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_55$class_56;
official a
Leqn$a;a(Leqz$a;)Leqn$a;
-
conditionally
- Specified by:
conditionally
in interfaceLootConditionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector named conditionally
Lnet/minecraft/loot/LootPool$Builder;conditionally(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/LootPool$Builder;
intermediary method_356
Lnet/minecraft/class_55$class_56;method_356(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_55$class_56;
official a
Leqn$a;a(Lett$a;)Leqn$a;
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector named apply
Lnet/minecraft/loot/LootPool$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/LootPool$Builder;
intermediary method_353
Lnet/minecraft/class_55$class_56;method_353(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_55$class_56;
official a
Leqn$a;a(Lerw$a;)Leqn$a;
-
build
- Mappings:
Namespace Name Mixin selector named build
Lnet/minecraft/loot/LootPool$Builder;build()Lnet/minecraft/loot/LootPool;
intermediary method_355
Lnet/minecraft/class_55$class_56;method_355()Lnet/minecraft/class_55;
official b
Leqn$a;b()Leqn;
-