Skip to content

Common Problems

MORIMORI0317 edited this page Sep 23, 2024 · 5 revisions

Older versions.

If you want to use the same functionality as Special Model Loader in 1.15, 1.17, 1.18 and other versions, please use Myron, FOML, etc.

Entities and animations.

Only item and block models are supported; rendering and animation of entities such as players is not supported.

Unable to load model: 'special-model-loader:builtin/obj'

If the model loading scope is not defined, it will not be loaded. Please refer to: "Specify the scope of model loading."

public class ExampleModClient implements ClientModInitializer {
    @Override
    public void onInitializeClient() {
        SpecialModelLoaderEvents.LOAD_SCOPE.register(() -> {
            return (resourceManager, location) -> ExampleMod.MODID.equals(location.getNamespace());
        });
    }
}

Caused by: java.lang.IllegalStateException: trying to load net.fabricmc.loader.impl.FabricLoaderImpl from target class loader

Use the latest version of SML or downgrade Fabric Loom from 1.1 to 1.0.