Uses of Interface
io.papermc.paper.datapack.DiscoveredDatapack
Packages that use DiscoveredDatapack
-
Uses of DiscoveredDatapack in io.papermc.paper.datapack
Subinterfaces of DiscoveredDatapack in io.papermc.paper.datapackModifier and TypeInterfaceDescriptioninterface
This is a snapshot of a datapack on the server.Methods in io.papermc.paper.datapack that return DiscoveredDatapackModifier 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.Methods in io.papermc.paper.datapack that return types with arguments of type DiscoveredDatapackModifier and TypeMethodDescriptionDatapackRegistrar.getDiscoveredPacks()
Gets all discovered datapacks.