-
Notifications
You must be signed in to change notification settings - Fork 4
Common Problems
MORIMORI0317 edited this page Sep 23, 2024
·
5 revisions
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.
Only item and block models are supported; rendering and animation of entities such as players is not supported.
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.
Original documentation written by, @MORIMORI0317_jp rewritten by @starboyceleste.
Thank you starboyceleste!