MCreator can not identify MTL exported by Blender

Published by solidviper on Thu, 10/25/2018 - 07:11
Status
Works as designed
Product/platform
MCreator/macOS
Priority
Normal
Issue description

I'm testing a very simple custom model for block, the texture of block always missing...  console log show that .mtl has been skipped, where did I do wrong?

 

[14:59:26] [Thread-3/INFO] [FML]: Using sync timing. 200 frames of Display.update took 708665117 nanos

[14:59:27] [Forge Version Check/INFO] [forge.VersionCheck]: [forge] Found status: OUTDATED Target: 14.23.5.2768

[14:59:28] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Starting up SoundSystem...

[14:59:29] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager]: Initializing LWJGL OpenAL

[14:59:29] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager]: (The LWJGL binding of OpenAL.  For more information, see http://www.lwjgl.org)

[14:59:29] [Thread-4/INFO] [net.minecraft.client.audio.SoundManager]: OpenAL initialized.

[14:59:29] [Sound Library Loader/INFO] [net.minecraft.client.audio.SoundManager]: Sound engine started

[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ns' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping

[14:59:31] [main/INFO] [FML]: OBJModel: A color has already been defined for material 'Material.001' in 'testenvironmentmod:models/item/simplebox.mtl'. The color defined by key 'Ks' will not be applied!

[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ke' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping

[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ni' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping

[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'illum' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping

[14:59:31] [main/INFO] [FML]: OBJLoader.Parser: command 's' (model: 'testenvironmentmod:models/item/simplebox.obj') is not currently supported, skipping. Line: 60 's 1'

[14:59:31] [main/INFO] [FML]: Max texture size: 16384

[14:59:32] [main/INFO] [net.minecraft.client.renderer.texture.TextureMap]: Created: 512x512 textures-atlas

[14:59:33] [main/INFO] [FML]: Applying holder lookups

[14:59:33] [main/INFO] [FML]: Holder lookups applied

[14:59:33] [main/INFO] [FML]: Injecting itemstacks

[14:59:33] [main/INFO] [FML]: Itemstack injection complete

[14:59:33] [main/INFO] [FML]: Forge Mod Loader has successfully loaded 5 mods

[14:59:33] [main/WARN] [net.minecraft.client.settings.GameSettings]: Skipping bad option: lastServer:

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: The following texture errors were found.

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:   DOMAIN minecraft

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: --------------------------------------------------

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:   domain minecraft is missing 1 texture

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:     domain minecraft has 4 locations:

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:       unknown resourcepack type net.minecraft.client.resources.DefaultResourcePack : Default

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:       unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Forge Mod Loader

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:       unknown resourcepack type net.minecraft.client.resources.LegacyV2Adapter : FMLFileResourcePack:Minecraft Forge

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:       mod testenvironmentmod resources at /Users/xiaolu/Desktop/Minecraft Plan/MCreator/forge/build/libs/modid-1.0.jar

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:     The missing resources for domain minecraft are:

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:       textures/light.png.png

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: -------------------------

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]:     No other errors exist for domain minecraft

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: ==================================================

[14:59:34] [main/ERROR] [FML.TEXTURE_ERRORS]: +=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=

[14:59:38] [Realms Notification Availability checker #1/INFO] [com.mojang.realmsclient.client.RealmsClient]: Could not authorize you against Realms server: Invalid session id

[15:01:14] [main/INFO] [net.minecraft.client.Minecraft]: Stopping!

[15:01:14] [main/INFO] [net.minecraft.client.audio.SoundManager]: SoundSystem shutting down...

AL lib: (WW) FreeDevice: (0x7fcb89a0f000) Deleting 3 Buffer(s)

[15:01:14] [main/WARN] [net.minecraft.client.audio.SoundManager]: Author: Paul Lamb, www.paulscode.com

BUILD SUCCESSFUL

Total time: 2 mins 11.731 secs

Task completed with return code 0 in 132539 milliseconds

Attachment Size
light.png8.56 KB 8.56 KB

Issue comments

Minecraft supports very very basic mtl files only. There are some tutorials on YouTube how to properly export your model for Minecraft. The best bet is to use solid colors only. These lines indicate what types of model instructions your model file has and tell that they are not supported. The mtl support is not developed by us but is integrated in Minecraft so there is no much help I can provide except for making the model simpler and following export instructions as per the reliable tutorial.

[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ns' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping
[14:59:31] [main/INFO] [FML]: OBJModel: A color has already been defined for material 'Material.001' in 'testenvironmentmod:models/item/simplebox.mtl'. The color defined by key 'Ks' will not be applied!
[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ke' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping
[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'Ni' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping
[14:59:31] [main/INFO] [FML]: OBJLoader.MaterialLibrary: key 'illum' (model: 'testenvironmentmod:models/item/simplebox.mtl') is not currently supported, skipping
[14:59:31] [main/INFO] [FML]: OBJLoader.Parser: command 's' (model: 'testenvironmentmod:models/item/simplebox.obj') is not currently supported, skipping. Line: 60 's 1'
[14:59:31] [main/INFO] [FML]: Max texture size: 16384

 



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.