Uses of Interface
io.papermc.paper.datapack.DiscoveredDatapack
-
Uses of DiscoveredDatapack in io.papermc.paper.datapack
Modifier and TypeInterfaceDescriptioninterface
This is a snapshot of a datapack on the server.Modifier and TypeMethodDescriptionDatapackRegistrar.discoverPack
(PluginMeta pluginMeta, URI uri, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedURI
with the id.DatapackRegistrar.discoverPack
(PluginMeta pluginMeta, Path path, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedPath
with the id.default @Nullable DiscoveredDatapack
DatapackRegistrar.discoverPack
(URI uri, String id) Discovers a datapack at the specifiedURI
with the id.DatapackRegistrar.discoverPack
(URI uri, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedURI
with the id.default @Nullable DiscoveredDatapack
DatapackRegistrar.discoverPack
(Path path, String id) Discovers a datapack at the specifiedPath
with the id.DatapackRegistrar.discoverPack
(Path path, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedPath
with the id.DatapackRegistrar.getDiscoveredPack
(String name) Gets a discovered datapack by its name.Modifier and TypeMethodDescriptionDatapackRegistrar.getDiscoveredPacks()
Gets all discovered datapacks.