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 eqq
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.entry.CombinedEntry
CombinedEntry.Factory<T extends CombinedEntry>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<AlternativeEntry> Fields inherited from class net.minecraft.loot.entry.CombinedEntry
children
Fields inherited from class net.minecraft.loot.entry.LootPoolEntry
conditions
Fields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E> AlternativeEntry.Builder
builder
(Collection<E> children, Function<E, LootPoolEntry.Builder<?>> toBuilderFunction) static AlternativeEntry.Builder
builder
(LootPoolEntry.Builder<?>[] children) protected EntryCombiner
combine
(List<? extends EntryCombiner> terms) getType()
void
validate
(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.CombinedEntry
createCodec, expand
Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
addConditionsField, test
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, 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
Leqq;a:Lcom/mojang/serialization/MapCodec;
-
-
Constructor Details
-
AlternativeEntry
AlternativeEntry(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>
Leqs;<init>(Ljava/util/List;Ljava/util/List;)V
-
-
Method Details
-
getType
- Specified by:
getType
in classLootPoolEntry
- 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
Leqz;a()Lera;
-
combine
- Specified by:
combine
in classCombinedEntry
- 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
Leqs;a(Ljava/util/List;)Leqr;
-
validate
- Overrides:
validate
in classCombinedEntry
- 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
Leqz;a(Leqp;)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
Leqq;a([Leqz$a;)Leqq$a;
-
builder
public 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
Leqq;a(Ljava/util/Collection;Ljava/util/function/Function;)Leqq$a;
-