Package net.minecraft.loot.entry
Class AlternativeEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
net.minecraft.loot.entry.CombinedEntry
net.minecraft.loot.entry.AlternativeEntry
- All Implemented Interfaces:
- EntryCombiner
- Mappings:
- Namespace - Name - named - net/minecraft/loot/entry/AlternativeEntry- intermediary - net/minecraft/class_65- official - evz
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class net.minecraft.loot.entry.CombinedEntryCombinedEntry.Factory<T extends CombinedEntry>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec<AlternativeEntry> Fields inherited from class net.minecraft.loot.entry.CombinedEntrychildrenFields inherited from class net.minecraft.loot.entry.LootPoolEntryconditionsFields inherited from interface net.minecraft.loot.entry.EntryCombinerALWAYS_FALSE, ALWAYS_TRUE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <E> AlternativeEntry.Builderbuilder(Collection<E> children, Function<E, LootPoolEntry.Builder<?>> toBuilderFunction) static AlternativeEntry.Builderbuilder(LootPoolEntry.Builder<?>[] children) protected EntryCombinercombine(List<? extends EntryCombiner> terms) getType()voidvalidate(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.CombinedEntrycreateCodec, expandMethods inherited from class net.minecraft.loot.entry.LootPoolEntryaddConditionsField, testMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.entry.EntryCombinerand, or
- 
Field Details- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/loot/entry/AlternativeEntry;CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_45797- Lnet/minecraft/class_65;field_45797:Lcom/mojang/serialization/MapCodec;- official - a- Levz;a:Lcom/mojang/serialization/MapCodec;
 
 
- 
- 
Constructor Details- 
AlternativeEntryAlternativeEntry(List<LootPoolEntry> terms, List<LootCondition> conditions) - Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/loot/entry/CombinedEntry;<init>(Ljava/util/List;Ljava/util/List;)V- intermediary - <init>- Lnet/minecraft/class_69;<init>(Ljava/util/List;Ljava/util/List;)V- official - <init>- Lewb;<init>(Ljava/util/List;Ljava/util/List;)V
 
 
- 
- 
Method Details- 
getType- Specified by:
- getTypein class- LootPoolEntry
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;- intermediary - method_29318- Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;- official - a- Lewi;a()Lewj;
 
- 
combine- Specified by:
- combinein class- CombinedEntry
- Mappings:
- Namespace - Name - Mixin selector - named - combine- Lnet/minecraft/loot/entry/CombinedEntry;combine(Ljava/util/List;)Lnet/minecraft/loot/entry/EntryCombiner;- intermediary - method_394- Lnet/minecraft/class_69;method_394(Ljava/util/List;)Lnet/minecraft/class_64;- official - a- Lewb;a(Ljava/util/List;)Lewa;
 
- 
validate- Overrides:
- validatein class- CombinedEntry
- Mappings:
- Namespace - Name - Mixin selector - named - validate- Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V- intermediary - method_415- Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V- official - a- Lewi;a(Levy;)V
 
- 
builder- Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/loot/entry/AlternativeEntry;builder([Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;- intermediary - method_386- Lnet/minecraft/class_65;method_386([Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;- official - a- Levz;a([Lewi$a;)Levz$a;
 
- 
builderpublic static <E> AlternativeEntry.Builder builder(Collection<E> children, Function<E, LootPoolEntry.Builder<?>> toBuilderFunction) - Mappings:
- Namespace - Name - Mixin selector - named - builder- Lnet/minecraft/loot/entry/AlternativeEntry;builder(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;- intermediary - method_43734- Lnet/minecraft/class_65;method_43734(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/class_65$class_66;- official - a- Levz;a(Ljava/util/Collection;Ljava/util/function/Function;)Levz$a;
 
 
-