Package net.minecraft.loot.entry
Class LootPoolEntry
java.lang.Object
net.minecraft.loot.entry.LootPoolEntry
- All Implemented Interfaces:
EntryCombiner
- Direct Known Subclasses:
CombinedEntry,LeafEntry
public abstract class LootPoolEntry extends Object implements EntryCombiner
- Mappings:
Namespace Name official dfeintermediary net/minecraft/class_79named net/minecraft/loot/entry/LootPoolEntry
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLootPoolEntry.Builder<T extends LootPoolEntry.Builder<T>>static classLootPoolEntry.Serializer<T extends LootPoolEntry> -
Field Summary
Fields Modifier and Type Field Description private Predicate<LootContext>conditionPredicateprotected LootCondition[]conditionsFields inherited from interface net.minecraft.loot.entry.EntryCombiner
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
Constructors Modifier Constructor Description protectedLootPoolEntry(LootCondition[] conditions) -
Method Summary
Modifier and Type Method Description abstract LootPoolEntryTypegetType()protected booleantest(LootContext context)voidvalidate(LootTableReporter reporter)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.entry.EntryCombiner
and, expand, or
-
Field Details
-
conditions
- Mappings:
Namespace Name Mixin selector official dLdfe;d:[Ldhe;intermediary field_988Lnet/minecraft/class_79;field_988:[Lnet/minecraft/class_5341;named conditionsLnet/minecraft/loot/entry/LootPoolEntry;conditions:[Lnet/minecraft/loot/condition/LootCondition;
-
conditionPredicate
- Mappings:
Namespace Name Mixin selector official cLdfe;c:Ljava/util/function/Predicate;intermediary field_989Lnet/minecraft/class_79;field_989:Ljava/util/function/Predicate;named conditionPredicateLnet/minecraft/loot/entry/LootPoolEntry;conditionPredicate:Ljava/util/function/Predicate;
-
-
Constructor Details
-
LootPoolEntry
- Mappings:
Namespace Name Mixin selector official <init>Ldfe;<init>([Ldhe;)Vintermediary <init>Lnet/minecraft/class_79;<init>([Lnet/minecraft/class_5341;)Vnamed <init>Lnet/minecraft/loot/entry/LootPoolEntry;<init>([Lnet/minecraft/loot/condition/LootCondition;)V
-
-
Method Details
-
validate
- Mappings:
Namespace Name Mixin selector official aLdfe;a(Ldeu;)Vintermediary method_415Lnet/minecraft/class_79;method_415(Lnet/minecraft/class_58;)Vnamed validateLnet/minecraft/loot/entry/LootPoolEntry;validate(Lnet/minecraft/loot/LootTableReporter;)V
-
test
- Mappings:
Namespace Name Mixin selector official aLdfe;a(Ldem;)Zintermediary method_414Lnet/minecraft/class_79;method_414(Lnet/minecraft/class_47;)Znamed testLnet/minecraft/loot/entry/LootPoolEntry;test(Lnet/minecraft/loot/context/LootContext;)Z
-
getType
- Mappings:
Namespace Name Mixin selector official aLdfe;a()Ldff;intermediary method_29318Lnet/minecraft/class_79;method_29318()Lnet/minecraft/class_5338;named getTypeLnet/minecraft/loot/entry/LootPoolEntry;getType()Lnet/minecraft/loot/entry/LootPoolEntryType;
-