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
Nested ClassesModifier and TypeClassDescriptionstatic classLootEntry.Builder<T extends LootEntry.Builder<T>>static classLootEntry.Serializer<T extends LootEntry> -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Predicate<LootContext>protected final ILootCondition[]Fields inherited from interface net.minecraft.loot.ILootEntry
ALWAYS_FALSE, ALWAYS_TRUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final booleancanRun(LootContext p_216141_1_) abstract LootPoolEntryTypegetType()voidvalidate(ValidationTracker p_225579_1_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.loot.ILootEntry
and, expand, or
-
Field Details
-
conditions
-
compositeCondition
-
-
Constructor Details
-
LootEntry
-
-
Method Details
-
validate
-
canRun
-
getType
-