类 AlternativeEntry
- java.lang.Object
-
- net.minecraft.loot.entry.LootPoolEntry
-
- net.minecraft.loot.entry.CombinedEntry
-
- net.minecraft.loot.entry.AlternativeEntry
-
- 所有已实现的接口:
EntryCombiner
public class AlternativeEntry extends CombinedEntry
- Mappings:
Namespace Name official dhyintermediary net/minecraft/class_65named net/minecraft/loot/entry/AlternativeEntry
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classAlternativeEntry.Builder-
从类继承的嵌套类/接口 net.minecraft.loot.entry.CombinedEntry
CombinedEntry.Factory<T extends CombinedEntry>
-
从类继承的嵌套类/接口 net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Serializer<T extends LootPoolEntry>
-
-
字段概要
-
从类继承的字段 net.minecraft.loot.entry.CombinedEntry
children
-
从类继承的字段 net.minecraft.loot.entry.LootPoolEntry
conditions
-
从接口继承的字段 net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
-
构造器概要
构造器 构造器 说明 AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static AlternativeEntry.Builderbuilder(LootPoolEntry.Builder<?>[] children)protected EntryCombinercombine(EntryCombiner[] children)LootPoolEntryTypegetType()voidvalidate(LootTableReporter reporter)-
从类继承的方法 net.minecraft.loot.entry.CombinedEntry
createSerializer, expand
-
从类继承的方法 net.minecraft.loot.entry.LootPoolEntry
test
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.loot.entry.EntryCombiner
and, or
-
-
-
-
构造器详细资料
-
AlternativeEntry
AlternativeEntry(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
-
-
方法详细资料
-
getType
public LootPoolEntryType getType()
- 指定者:
getType在类中LootPoolEntry- Mappings:
Namespace Name Mixin selector official aLdih;a()Ldii;intermediary method_29318Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;named getTypeLnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;
-
combine
protected EntryCombiner combine(EntryCombiner[] children)
- 指定者:
combine在类中CombinedEntry- 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;
-
validate
public void validate(LootTableReporter reporter)
- 覆盖:
validate在类中CombinedEntry- 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
-
builder
public static AlternativeEntry.Builder builder(LootPoolEntry.Builder<?>[] children)
- Mappings:
Namespace Name Mixin selector official aLdhy;a([Ldih$a;)Ldhy$a;intermediary method_386Lnet/minecraft/class_65;method_386([Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;named builderLnet/minecraft/loot/entry/AlternativeEntry;builder([Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
-
-