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 official dro
intermediary net/minecraft/class_65
named net/minecraft/loot/entry/AlternativeEntry
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.loot.entry.CombinedEntry
CombinedEntry.Factory<T extends CombinedEntry>
Nested classes/interfaces inherited from class net.minecraft.loot.entry.LootPoolEntry
LootPoolEntry.Serializer<T extends LootPoolEntry>
-
Field Summary
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
(EntryCombiner[] children) getType()
void
validate
(LootTableReporter reporter) Methods inherited from class net.minecraft.loot.entry.CombinedEntry
createSerializer, expand
Methods inherited from class net.minecraft.loot.entry.LootPoolEntry
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
-
Constructor Details
-
AlternativeEntry
AlternativeEntry(LootPoolEntry[] children, LootCondition[] conditions) - Mappings:
Namespace Name Mixin selector official <init>
Ldrq;<init>([Ldrx;[Ldtz;)V
intermediary <init>
Lnet/minecraft/class_69;<init>([Lnet/minecraft/class_79;[Lnet/minecraft/class_5341;)V
named <init>
Lnet/minecraft/loot/entry/CombinedEntry;<init>([Lnet/minecraft/loot/entry/LootPoolEntry;[Lnet/minecraft/loot/condition/LootCondition;)V
-
-
Method Details
-
getType
- Specified by:
getType
in classLootPoolEntry
- Mappings:
Namespace Name Mixin selector official a
Ldrx;a()Ldry;
intermediary method_29318
Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;
named getType
Lnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;
-
combine
- Specified by:
combine
in classCombinedEntry
- Mappings:
Namespace Name Mixin selector official a
Ldrq;a([Ldrp;)Ldrp;
intermediary method_394
Lnet/minecraft/class_69;method_394([Lnet/minecraft/class_64;)Lnet/minecraft/class_64;
named combine
Lnet/minecraft/loot/entry/CombinedEntry;combine([Lnet/minecraft/loot/entry/EntryCombiner;)Lnet/minecraft/loot/entry/EntryCombiner;
-
validate
- Overrides:
validate
in classCombinedEntry
- Mappings:
Namespace Name Mixin selector official a
Ldrx;a(Ldrn;)V
intermediary method_415
Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)V
named validate
Lnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
builder
- Mappings:
Namespace Name Mixin selector official a
Ldro;a([Ldrx$a;)Ldro$a;
intermediary method_386
Lnet/minecraft/class_65;method_386([Lnet/minecraft/class_79$class_80;)Lnet/minecraft/class_65$class_66;
named builder
Lnet/minecraft/loot/entry/AlternativeEntry;builder([Lnet/minecraft/loot/entry/LootPoolEntry$Builder;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
-
builder
public static <E> AlternativeEntry.Builder builder(Collection<E> children, Function<E, LootPoolEntry.Builder<?>> toBuilderFunction) - Mappings:
Namespace Name Mixin selector official a
Ldro;a(Ljava/util/Collection;Ljava/util/function/Function;)Ldro$a;
intermediary method_43734
Lnet/minecraft/class_65;method_43734(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/class_65$class_66;
named builder
Lnet/minecraft/loot/entry/AlternativeEntry;builder(Ljava/util/Collection;Ljava/util/function/Function;)Lnet/minecraft/loot/entry/AlternativeEntry$Builder;
-