Uses of Class
net.minecraft.loot.LootDataType
-
Uses of LootDataType in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootDataType<LootFunction>
LootDataType.ITEM_MODIFIERS
static final LootDataType<LootTable>
LootDataType.LOOT_TABLES
static final LootDataType<LootCondition>
LootDataType.PREDICATES
private final LootDataType<T>
LootDataKey.type
The field for thetype
record component.Modifier and TypeFieldDescriptionprivate Multimap<LootDataType<?>,
Identifier> LootManager.typeToIds
Modifier and TypeMethodDescriptionLootDataKey.type()
Returns the value of thetype
record component.Modifier and TypeMethodDescriptiondefault <T> T
LootDataLookup.getElement
(LootDataType<T> type, Identifier id) default <T> Optional<T>
LootDataLookup.getElementOptional
(LootDataType<T> type, Identifier id) LootManager.getIds
(LootDataType<?> type) private static <T> CompletableFuture<?>
LootManager.load
(LootDataType<T> type, ResourceManager resourceManager, Executor executor, Map<LootDataType<?>, Map<Identifier, ?>> results) Modifier and TypeMethodDescriptionprivate static <T> CompletableFuture<?>
LootManager.load
(LootDataType<T> type, ResourceManager resourceManager, Executor executor, Map<LootDataType<?>, Map<Identifier, ?>> results) private void
LootManager.validate
(Map<LootDataType<?>, Map<Identifier, ?>> lootData) -
Uses of LootDataType in net.minecraft.loot.context
Modifier and TypeFieldDescriptionprivate final LootDataType<T>
LootContext.Entry.type
The field for thetype
record component.