Minecraft doesn't want to load my object file? (MCreator 2020.3 and Java 1.15.2)

Started by RealEthanPlayzDev on

Topic category: General discussion

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Minecraft doesn't want to load my object file? (MCreator 2020.3 and Java 1.15.2)

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…

 

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The error: 32:57.08 [Server…
Sun, 05/31/2020 - 08:57

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

net.minecraft.util…
Sun, 05/31/2020 - 10:12

net.minecraft.util.ResourceLocationException: Non [a-z0-9/._-] character in path of location: more_blocks:models/item/glassStairs.obs.mtl

https://mcreator.net/wiki/minecraft-1144-resourcelocationexception-non-z0-9-character-path-location

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Oh! Thanks
Mon, 06/01/2020 - 07:50

Oh!

Thanks

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Sorry but its still showing…
Mon, 06/01/2020 - 15:17

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)

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It is supposed to look like…
Mon, 06/01/2020 - 15:22

It is supposed to look like this:

Supposed block model

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
When I opened one of the…
Mon, 06/01/2020 - 15:25

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"
    }
}

Last seen on 08:04, 2. Jun 2020
Joined Feb 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using the stair preset works…
Mon, 06/01/2020 - 15:36

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

Stair