Uses of Record Class
net.minecraft.loot.LootDataKey
-
Uses of LootDataKey in net.minecraft.loot
Modifier and TypeFieldDescriptionstatic final LootDataKey<LootTable>
LootManager.EMPTY_LOOT_TABLE
Modifier and TypeFieldDescriptionprivate Map<LootDataKey<?>,
?> LootManager.keyToValue
private final Set<LootDataKey<?>>
LootTableReporter.referenceStack
Modifier and TypeMethodDescription<T> T
LootDataLookup.getElement
(LootDataKey<T> key) <T> T
LootManager.getElement
(LootDataKey<T> key) default <T> Optional<T>
LootDataLookup.getElementOptional
(LootDataKey<T> key) boolean
LootTableReporter.isInStack
(LootDataKey<?> key) LootTableReporter.makeChild
(String name, LootDataKey<?> currentKey) void
LootDataType.Validator.run
(LootTableReporter reporter, LootDataKey<T> key, T value) void
LootDataType.validate
(LootTableReporter reporter, LootDataKey<T> key, T value) private static <T> void
LootManager.validate
(LootTableReporter reporter, LootDataKey<T> key, Object value) ModifierConstructorDescriptionLootTableReporter
(Multimap<String, String> messages, Supplier<String> nameFactory, LootContextType contextType, LootDataLookup dataLookup, Set<LootDataKey<?>> referenceStack)