类 TagEntry
- java.lang.Object
-
- net.minecraft.loot.entry.LootPoolEntry
-
- net.minecraft.loot.entry.LeafEntry
-
- net.minecraft.loot.entry.TagEntry
-
- 所有已实现的接口:
EntryCombiner
public class TagEntry extends LeafEntry
- Mappings:
Namespace Name official dimintermediary net/minecraft/class_91named net/minecraft/loot/entry/TagEntry
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classTagEntry.Serializer-
从类继承的嵌套类/接口 net.minecraft.loot.entry.LeafEntry
LeafEntry.BasicBuilder, LeafEntry.Builder<T extends LeafEntry.Builder<T>>, LeafEntry.Choice, LeafEntry.Factory
-
-
字段概要
字段 修饰符和类型 字段 说明 private booleanexpandprivate Tag<Item>name-
从类继承的字段 net.minecraft.loot.entry.LeafEntry
field_31847, field_31848, functions, quality, weight
-
从类继承的字段 net.minecraft.loot.entry.LootPoolEntry
conditions
-
从接口继承的字段 net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
-
构造器概要
构造器 限定符 构造器 说明 privateTagEntry(Tag<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 static LeafEntry.Builder<?>builder(Tag<Item> name)booleanexpand(LootContext context, Consumer<LootChoice> choiceConsumer)static LeafEntry.Builder<?>expandBuilder(Tag<Item> name)voidgenerateLoot(Consumer<ItemStack> lootConsumer, LootContext context)LootPoolEntryTypegetType()private booleangrow(LootContext context, Consumer<LootChoice> lootChoiceExpander)-
从类继承的方法 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
-
-
-
-
字段详细资料
-
name
private final Tag<Item> name
- Mappings:
Namespace Name Mixin selector official iLdim;i:Lafs;intermediary field_1005Lnet/minecraft/class_91;field_1005:Lnet/minecraft/class_3494;named nameLnet/minecraft/loot/entry/TagEntry;name:Lnet/minecraft/tag/Tag;
-
expand
private final boolean expand
- Mappings:
Namespace Name Mixin selector official jLdim;j:Zintermediary field_1006Lnet/minecraft/class_91;field_1006:Znamed expandLnet/minecraft/loot/entry/TagEntry;expand:Z
-
-
构造器详细资料
-
TagEntry
private TagEntry(Tag<Item> name, boolean expand, int weight, int quality, LootCondition[] conditions, LootFunction[] functions)
- Mappings:
Namespace Name Mixin selector official <init>Ldim;<init>(Lafs;ZII[Ldkh;[Ldja;)Vintermediary <init>Lnet/minecraft/class_91;<init>(Lnet/minecraft/class_3494;ZII[Lnet/minecraft/class_5341;[Lnet/minecraft/class_117;)Vnamed <init>Lnet/minecraft/loot/entry/TagEntry;<init>(Lnet/minecraft/tag/Tag;ZII[Lnet/minecraft/loot/condition/LootCondition;[Lnet/minecraft/loot/function/LootFunction;)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;
-
generateLoot
public void generateLoot(Consumer<ItemStack> lootConsumer, LootContext context)
- 指定者:
generateLoot在类中LeafEntry- Mappings:
Namespace Name Mixin selector official aLdij;a(Ljava/util/function/Consumer;Ldhp;)Vintermediary method_433Lnet/minecraft/class_85;method_433(Ljava/util/function/Consumer;Lnet/minecraft/class_47;)Vnamed generateLootLnet/minecraft/loot/entry/LeafEntry;generateLoot(Ljava/util/function/Consumer;Lnet/minecraft/loot/context/LootContext;)V
-
grow
private boolean grow(LootContext context, Consumer<LootChoice> lootChoiceExpander)
- Mappings:
Namespace Name Mixin selector official aLdim;a(Ldhp;Ljava/util/function/Consumer;)Zintermediary method_447Lnet/minecraft/class_91;method_447(Lnet/minecraft/class_47;Ljava/util/function/Consumer;)Znamed growLnet/minecraft/loot/entry/TagEntry;grow(Lnet/minecraft/loot/context/LootContext;Ljava/util/function/Consumer;)Z
-
expand
public boolean expand(LootContext context, Consumer<LootChoice> choiceConsumer)
- 指定者:
expand在接口中EntryCombiner- 覆盖:
expand在类中LeafEntry- 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
-
builder
public static LeafEntry.Builder<?> builder(Tag<Item> name)
- Mappings:
Namespace Name Mixin selector official aLdim;a(Lafs;)Ldij$a;intermediary method_35517Lnet/minecraft/class_91;method_35517(Lnet/minecraft/class_3494;)Lnet/minecraft/class_85$class_86;named builderLnet/minecraft/loot/entry/TagEntry;builder(Lnet/minecraft/tag/Tag;)Lnet/minecraft/loot/entry/LeafEntry$Builder;
-
expandBuilder
public static LeafEntry.Builder<?> expandBuilder(Tag<Item> name)
- Mappings:
Namespace Name Mixin selector official bLdim;b(Lafs;)Ldij$a;intermediary method_445Lnet/minecraft/class_91;method_445(Lnet/minecraft/class_3494;)Lnet/minecraft/class_85$class_86;named expandBuilderLnet/minecraft/loot/entry/TagEntry;expandBuilder(Lnet/minecraft/tag/Tag;)Lnet/minecraft/loot/entry/LeafEntry$Builder;
-
-