Package net.minecraft.loot
Class LootEntry
java.lang.Object
net.minecraft.loot.LootEntry
- All Implemented Interfaces:
ILootEntry
- Direct Known Subclasses:
ParentedLootEntry
,StandaloneLootEntry
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
LootEntry.Builder<T extends LootEntry.Builder<T>>
static class
LootEntry.Serializer<T extends LootEntry>
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Predicate<LootContext>
protected final ILootCondition[]
Fields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected final boolean
canRun
(LootContext p_216141_1_) abstract LootPoolEntryType
getType()
void
validate
(ValidationTracker p_225579_1_) 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.ILootEntry
and, expand, or
-
Field Details
-
conditions
-
compositeCondition
-
-
Constructor Details
-
LootEntry
-
-
Method Details
-
validate
-
canRun
-
getType
-