接口 EntryCombiner
-
- 所有已知实现类:
AlternativeEntry,CombinedEntry,DynamicEntry,EmptyEntry,GroupEntry,ItemEntry,LeafEntry,LootPoolEntry,LootTableEntry,SequenceEntry,TagEntry
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
@FunctionalInterface interface EntryCombiner
- Mappings:
Namespace Name official dhzintermediary net/minecraft/class_64named net/minecraft/loot/entry/EntryCombiner
-
-
字段概要
字段 修饰符和类型 字段 说明 static EntryCombinerALWAYS_FALSEstatic EntryCombinerALWAYS_TRUE
-
方法概要
所有方法 实例方法 抽象方法 默认方法 修饰符和类型 方法 说明 default EntryCombinerand(EntryCombiner other)booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer)default EntryCombineror(EntryCombiner other)
-
-
-
字段详细资料
-
ALWAYS_FALSE
static final EntryCombiner ALWAYS_FALSE
- Mappings:
Namespace Name Mixin selector official aLdhz;a:Ldhz;intermediary field_16883Lnet/minecraft/class_64;field_16883:Lnet/minecraft/class_64;named ALWAYS_FALSELnet/minecraft/loot/entry/EntryCombiner;ALWAYS_FALSE:Lnet/minecraft/loot/entry/EntryCombiner;
-
ALWAYS_TRUE
static final EntryCombiner ALWAYS_TRUE
- Mappings:
Namespace Name Mixin selector official bLdhz;b:Ldhz;intermediary field_16884Lnet/minecraft/class_64;field_16884:Lnet/minecraft/class_64;named ALWAYS_TRUELnet/minecraft/loot/entry/EntryCombiner;ALWAYS_TRUE:Lnet/minecraft/loot/entry/EntryCombiner;
-
-
方法详细资料
-
expand
boolean expand(LootContext context, Consumer<LootChoice> choiceConsumer)
- Mappings:
Namespace Name Mixin selector official expandLdhz;expand(Ldhp;Ljava/util/function/Consumer;)Zintermediary expandLnet/minecraft/class_64;expand(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Znamed expandLnet/minecraft/loot/entry/EntryCombiner;expand(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Z
-
and
default EntryCombiner and(EntryCombiner other)
- Mappings:
Namespace Name Mixin selector official aLdhz;a(Ldhz;)Ldhz;intermediary method_16778Lnet/minecraft/class_64;method_16778(Lnet/minecraft/class_64;)Lnet/minecraft/class_64;named andLnet/minecraft/loot/entry/EntryCombiner;and(Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
-
or
default EntryCombiner or(EntryCombiner other)
- Mappings:
Namespace Name Mixin selector official bLdhz;b(Ldhz;)Ldhz;intermediary method_385Lnet/minecraft/class_64;method_385(Lnet/minecraft/class_64;)Lnet/minecraft/class_64;named orLnet/minecraft/loot/entry/EntryCombiner;or(Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
-
-