register Builtin Resource Pack
static boolean registerBuiltinResourcePack(Identifier id, String subPath, ModContainer container, ResourcePackActivationType activationType)
Content copied to clipboard
Registers a built-in resource pack. Internal implementation.
Return
{@code true}
if successfully registered the resource pack, else {@code false}
See also
net.fabricmc.fabric.api.resource.ResourceManagerHelper
ResourceManagerHelper#registerBuiltinResourcePack(Identifier, String, ModContainer, boolean)
Parameters
id
the identifier of the resource pack
subPath
the sub path in the mod resources
container
the mod container
activationType
the activation type of the resource pack
Sources
jvm source
Link copied to clipboard