Posted October 23, 20195 yr I've been fiddling with OBJLoader for a week now and I keep getting the unable to load model error. I think the OBJLoader is not called properly because I used the tutorial from older versions. does anyone know how to call OBJLoader.INSTANCE.addDomain properly?
October 23, 20195 yr In the <mod>.java file i have FMLJavaModLoadingContext.get().getModEventBus().addListener(this::doClientStuff); private void doClientStuff(final FMLClientSetupEvent event) { if (FMLEnvironment.dist.isDedicatedServer()) return; Logger.info("Got game settings {}", event.getMinecraftSupplier().get().gameSettings); OBJLoader.INSTANCE.addDomain("<your mod name>"); } forget it, i see you have it Edited October 23, 20195 yr by blinky000 dumb answer
October 24, 20195 yr 9 hours ago, jun2040 said: does anyone know how to call OBJLoader.INSTANCE.addDomain properly? You only call it on the client side, like so: private void doClientStuff(final FMLClientSetupEvent event) { ... OBJLoader.INSTANCE.addDomain({modid}); ... } You can see how I did it here. Edited October 24, 20195 yr by TheMikeste1
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.