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 official dek$a
intermediary net/minecraft/class_55$class_56
named net/minecraft/loot/LootPool$Builder
-
Field Summary
Fields Modifier and Type Field Description private LootNumberProvider
bonusRollsRange
private List<LootCondition>
conditions
private List<LootPoolEntry>
entries
private List<LootFunction>
functions
private LootNumberProvider
rolls
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description LootPool.Builder
apply(LootFunction.Builder builder)
LootPool
build()
LootPool.Builder
conditionally(LootCondition.Builder builder)
LootPool.Builder
getThis()
LootPool.Builder
rolls(LootNumberProvider rolls)
LootPool.Builder
with(LootPoolEntry.Builder<?> entry)
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a:Ljava/util/List;
intermediary field_960
Lnet/minecraft/class_55$class_56;field_960:Ljava/util/List;
named entries
Lnet/minecraft/loot/LootPool$Builder;entries:Ljava/util/List;
-
conditions
- Mappings:
Namespace Name Mixin selector official b
Ldek$a;b:Ljava/util/List;
intermediary field_963
Lnet/minecraft/class_55$class_56;field_963:Ljava/util/List;
named conditions
Lnet/minecraft/loot/LootPool$Builder;conditions:Ljava/util/List;
-
functions
- Mappings:
Namespace Name Mixin selector official c
Ldek$a;c:Ljava/util/List;
intermediary field_961
Lnet/minecraft/class_55$class_56;field_961:Ljava/util/List;
named functions
Lnet/minecraft/loot/LootPool$Builder;functions:Ljava/util/List;
-
rolls
- Mappings:
Namespace Name Mixin selector official d
Ldek$a;d:Ldhv;
intermediary field_959
Lnet/minecraft/class_55$class_56;field_959:Lnet/minecraft/class_5658;
named rolls
Lnet/minecraft/loot/LootPool$Builder;rolls:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
bonusRollsRange
- Mappings:
Namespace Name Mixin selector official e
Ldek$a;e:Ldhv;
intermediary field_962
Lnet/minecraft/class_55$class_56;field_962:Lnet/minecraft/class_5658;
named bonusRollsRange
Lnet/minecraft/loot/LootPool$Builder;bonusRollsRange:Lnet/minecraft/loot/provider/number/LootNumberProvider;
-
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rolls
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a(Ldhv;)Ldek$a;
intermediary method_352
Lnet/minecraft/class_55$class_56;method_352(Lnet/minecraft/class_5658;)Lnet/minecraft/class_55$class_56;
named rolls
Lnet/minecraft/loot/LootPool$Builder;rolls(Lnet/minecraft/loot/provider/number/LootNumberProvider;)Lnet/minecraft/loot/LootPool$Builder;
-
getThis
- Specified by:
getThis
in interfaceLootConditionConsumingBuilder<LootPool.Builder>
- Specified by:
getThis
in interfaceLootFunctionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a()Ldek$a;
intermediary method_354
Lnet/minecraft/class_55$class_56;method_354()Lnet/minecraft/class_55$class_56;
named getThis
Lnet/minecraft/loot/LootPool$Builder;getThis()Lnet/minecraft/loot/LootPool$Builder;
-
with
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a(Ldfa$a;)Ldek$a;
intermediary method_351
Lnet/minecraft/class_55$class_56;method_351(Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_55$class_56;
named with
Lnet/minecraft/loot/LootPool$Builder;with(Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/LootPool$Builder;
-
conditionally
- Specified by:
conditionally
in interfaceLootConditionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a(Ldha$a;)Ldek$a;
intermediary method_356
Lnet/minecraft/class_55$class_56;method_356(Lnet/minecraft/class_5341$class_210;)Lnet/minecraft/class_55$class_56;
named conditionally
Lnet/minecraft/loot/LootPool$Builder;conditionally(Lnet/minecraft/loot/condition/LootCondition$Builder;)Lnet/minecraft/loot/LootPool$Builder;
-
apply
- Specified by:
apply
in interfaceLootFunctionConsumingBuilder<LootPool.Builder>
- Mappings:
Namespace Name Mixin selector official a
Ldek$a;a(Ldft$a;)Ldek$a;
intermediary method_353
Lnet/minecraft/class_55$class_56;method_353(Lnet/minecraft/class_117$class_118;)Lnet/minecraft/class_55$class_56;
named apply
Lnet/minecraft/loot/LootPool$Builder;apply(Lnet/minecraft/loot/function/LootFunction$Builder;)Lnet/minecraft/loot/LootPool$Builder;
-
build
- Mappings:
Namespace Name Mixin selector official b
Ldek$a;b()Ldek;
intermediary method_355
Lnet/minecraft/class_55$class_56;method_355()Lnet/minecraft/class_55;
named build
Lnet/minecraft/loot/LootPool$Builder;build()Lnet/minecraft/loot/LootPool;
-