Uses of Class
net.minecraft.loot.LootDataType
Packages that use LootDataType
-
Uses of LootDataType in net.minecraft.loot
Fields in net.minecraft.loot declared as LootDataTypeModifier 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.Fields in net.minecraft.loot with type parameters of type LootDataTypeModifier and TypeFieldDescriptionprivate Multimap<LootDataType<?>,
Identifier> LootManager.typeToIds
Methods in net.minecraft.loot that return LootDataTypeModifier and TypeMethodDescriptionLootDataKey.type()
Returns the value of thetype
record component.Methods in net.minecraft.loot that return types with arguments of type LootDataTypeMethods in net.minecraft.loot with parameters of type LootDataTypeModifier 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) Method parameters in net.minecraft.loot with type arguments of type LootDataTypeModifier 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) Constructors in net.minecraft.loot with parameters of type LootDataType -
Uses of LootDataType in net.minecraft.loot.context
Fields in net.minecraft.loot.context declared as LootDataTypeModifier and TypeFieldDescriptionprivate final LootDataType<T>
LootContext.Entry.type
The field for thetype
record component.Methods in net.minecraft.loot.context that return LootDataTypeModifier and TypeMethodDescriptionLootContext.Entry.type()
Returns the value of thetype
record component.Constructors in net.minecraft.loot.context with parameters of type LootDataType