Uses of Interface
io.papermc.paper.datapack.DatapackRegistrar.Configurer
-
Uses of DatapackRegistrar.Configurer in io.papermc.paper.datapack
Modifier and TypeMethodDescriptionDatapackRegistrar.Configurer.autoEnableOnServerStart
(boolean autoEnableOnServerStart) Sets whether this pack is going to be automatically enabled on server starts even if previously disabled.DatapackRegistrar.Configurer.position
(boolean fixed, Datapack.Position position) Configures the position in the load order of this datapack.Changes the title of the datapack from the default which is just the "id" in theregisterPack
methods.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.DatapackRegistrar.discoverPack
(URI uri, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedURI
with the id.DatapackRegistrar.discoverPack
(Path path, String id, Consumer<DatapackRegistrar.Configurer> configurer) Discovers a datapack at the specifiedPath
with the id.