Started by
RealEthanPlayzDev
on
Topic category: General discussion
Information:
Using MCreator 2020.3 and Minecraft Java 1.15.2 (Forge mod)
Windows 10 x64 (x86_64) Pro
I had JDK 8 installed (don't ask why tho)
So apparently, Minecraft does not want to load my obj wavefront file that I created in Blockbench (I have blender but it's hard using blender).
When I run the client and placed the block, it shows the missing/error texture (the magenta and black texture thing)
Can anyone help me?
Link to the object file (with the mtl and texture): https://drive.google.com/drive/folders/1nyAchwB9rc63_l5SFxMHq9x81K9Lkud…
The error:
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 Caused by: net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: more_blocks:models/item/glassStairs.obs.mtl
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:30)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:39)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraft.util.ResourceLocation.<init>(ResourceLocation.java:39)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraftforge.client.model.obj.OBJModel.<init>(OBJModel.java:130)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraftforge.client.model.obj.OBJModel.<init>(OBJModel.java:130)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraftforge.client.model.obj.OBJLoader.lambda$loadModel$0(OBJLoader.java:86)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 at net.minecraftforge.client.model.obj.OBJLoader.lambda$loadModel$0(OBJLoader.java:86)
32:57.08 [Server-Worker-1/INFO] [STDERR/]: [java.lang.Throwable:printStackTrace:635 ... 39 more
33:57.08 [Server-Worker-1/WARN] [minecraft/ModelBakery]: Unable to load model: 'more_blocks:block/glass_stair' referenced from: more_blocks:glass_stair#: java.lang.RuntimeException: Could not read OBJ model
Full console log:
https://pastebin.com/2KB8aHtW
https://mcreator.net/wiki/minecraft-1144-resourcelocationexception-non-z0-9-character-path-location
Oh!
Thanks
But when possible, use JSON instead, OBJ support is very very limited.
Sorry but its still showing the magenta and black block.
Any ways to fix this?
Also how to make the json version? (I don't know how to do it using json)
It is supposed to look like this:
When I opened one of the json on the Minecraft texture (inside the game .jar file) it shows this: (stone brick stairs)
{
"parent": "block/stairs",
"textures": {
"bottom": "block/stone_bricks",
"top": "block/stone_bricks",
"side": "block/stone_bricks"
}
}
Using the stair preset works but the texture is super weird:
I want it to use my edit texture so it will look at least more real
blah blah aint gonna work anyways
https://mcreator.net/forum/61342/obj-models-are-not-showing-20201-updat…