类 CombinedEntry
- java.lang.Object
-
- net.minecraft.loot.entry.LootPoolEntry
-
- net.minecraft.loot.entry.CombinedEntry
-
- 所有已实现的接口:
EntryCombiner
- 直接已知子类:
AlternativeEntry,GroupEntry,SequenceEntry
public abstract class CombinedEntry extends LootPoolEntry
- Mappings:
Namespace Name official diaintermediary net/minecraft/class_69named net/minecraft/loot/entry/CombinedEntry
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static interfaceCombinedEntry.Factory<T extends CombinedEntry>-
从类继承的嵌套类/接口 net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>, LootPoolEntry.Serializer<T extends LootPoolEntry>
-
-
字段概要
字段 修饰符和类型 字段 说明 protected LootPoolEntry[]childrenprivate EntryCombinerpredicate-
从类继承的字段 net.minecraft.loot.entry.LootPoolEntry
conditions
-
从接口继承的字段 net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
-
构造器概要
构造器 限定符 构造器 说明 protectedCombinedEntry(LootPoolEntry[] children, LootCondition[] conditions)
-
方法概要
所有方法 静态方法 实例方法 抽象方法 具体方法 修饰符和类型 方法 说明 protected abstract EntryCombinercombine(EntryCombiner[] children)static <T extends CombinedEntry>
LootPoolEntry.Serializer<T>createSerializer(CombinedEntry.Factory<T> factory)booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer)voidvalidate(LootTableReporter reporter)-
从类继承的方法 net.minecraft.loot.entry.LootPoolEntry
getType, test
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.loot.entry.EntryCombiner
and, or
-
-
-
-
字段详细资料
-
children
protected final LootPoolEntry[] children
- Mappings:
Namespace Name Mixin selector official cLdia;c:[Ldih;intermediary field_982Lnet/minecraft/class_69;field_982:[Lnet/minecraft/class_79;named childrenLnet/minecraft/loot/entry/CombinedEntry;children:[Lnet/minecraft/loot/entry/LootPoolEntry;
-
predicate
private final EntryCombiner predicate
- Mappings:
Namespace Name Mixin selector official eLdia;e:Ldhz;intermediary field_983Lnet/minecraft/class_69;field_983:Lnet/minecraft/class_64;named predicateLnet/minecraft/loot/entry/CombinedEntry;predicate:Lnet/minecraft/loot/entry/EntryCombiner;
-
-
构造器详细资料
-
CombinedEntry
protected CombinedEntry(LootPoolEntry[] children, LootCondition[] conditions)
- Mappings:
Namespace Name Mixin selector official <init>Ldia;<init>([Ldih;[Ldkh;)Vintermediary <init>Lnet/minecraft/class_69;<init>([Lnet/minecraft/class_79;[Lnet/minecraft/class_5341;)Vnamed <init>Lnet/minecraft/loot/entry/CombinedEntry;<init>([Lnet/minecraft/loot/entry/LootPoolEntry;[Lnet/minecraft/loot/condition/LootCondition;)V
-
-
方法详细资料
-
validate
public void validate(LootTableReporter reporter)
- 覆盖:
validate在类中LootPoolEntry- Mappings:
Namespace Name Mixin selector official aLdih;a(Ldhx;)Vintermediary method_415Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
combine
protected abstract EntryCombiner combine(EntryCombiner[] children)
- Mappings:
Namespace Name Mixin selector official aLdia;a([Ldhz;)Ldhz;intermediary method_394Lnet/minecraft/class_69;method_394([Lnet/minecraft/class_64;)Lnet/minecraft/class_64;named combineLnet/minecraft/loot/entry/CombinedEntry;combine([Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
-
expand
public final 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
-
createSerializer
public static <T extends CombinedEntry> LootPoolEntry.Serializer<T> createSerializer(CombinedEntry.Factory<T> factory)
- Mappings:
Namespace Name Mixin selector official aLdia;a(Ldia$a;)Ldih$b;intermediary method_395Lnet/minecraft/class_69;method_395(Lnet/minecraft/class_69$class_70;)Lnet/minecraft/class_79$class_5337;named createSerializerLnet/minecraft/loot/entry/CombinedEntry;createSerializer(Lnet/minecraft/loot/entry/CombinedEntry$Factory;)Lnet/minecraft/loot/entry/LootPoolEntry$Serializer;
-
-