Jump to content

Models For blocks not loading correctly: [11:19:05] [Client thread/ERROR] [FML]: Exception loading model for variant ...


RedWolf

Recommended Posts

Show your json files.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

{
     "parent": "block/cube_all",
     "textures": {
          "all": "greenstonemod:blocks/greenstone_ore"
    }
}
{
     "parent": "block/cube_all",
     "textures": {
          "all": "greenstonemod:blocks/greenstone_block"
     }
}

Models

{
     "forge_marker": 1,
     "defaults": {
          "model": "greensonemod:greenstone_ore"
     },
    "varients": {
          "normal": [{}],
          "inventory": [{}]
    }
}
{
     "forge_marker": 1,
     "defaults": {
          "model": "greeenstonemod:greenstone_block"
    },
    "variants": {
         "normal": [{}],
         "inventory": [{}]
   }
}

Blockstates

Link to comment
Share on other sites

Post the new log.

What is the current problem (after fixing the spelling)?

Edited by DavidM

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

Your ore block should be working now; however, the item form of it is missing a model.

Create a model for the item form of your ore. The tutorial you are following should cover creating a model for item.

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

I created the model and it works but the name of the ore is still tile.greenstonemod.oreGreenstone.name instead of Greenstone ore even though I have a language file that is supposed to change the name. The language file works for the item I have made, but it dosen't work for the block.

item.greenstonemod.ingotGreenstone.name=Greenstone Ingot

tile.greenstonemod.blockGreenstone.name=Greenstone Block

tile.greenstonemod.oreGreenstone.name=Greenstone Ore

itemGroup.greenstonemod.tabGreenstoneMod=Greenstone Mod

(the language file)

Link to comment
Share on other sites

Check the lang file and make sure the name on the left side of the equal sign matches the unlocalized name of the block.

  • Thanks 1

Some tips:

Spoiler

Modder Support:

Spoiler

1. Do not follow tutorials on YouTube, especially TechnoVision (previously called Loremaster) and HarryTalks, due to their promotion of bad practice and usage of outdated code.

2. Always post your code.

3. Never copy and paste code. You won't learn anything from doing that.

4. 

Quote

Programming via Eclipse's hotfixes will get you nowhere

5. Learn to use your IDE, especially the debugger.

6.

Quote

The "picture that's worth 1000 words" only works if there's an obvious problem or a freehand red circle around it.

Support & Bug Reports:

Spoiler

1. Read the EAQ before asking for help. Remember to provide the appropriate log(s).

2. Versions below 1.11 are no longer supported due to their age. Update to a modern version of Minecraft to receive support.

 

 

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • I recently reset my laptop entirely cuz i wanted to start fresh, ever since then its done this, it used to not.   ---- Minecraft Crash Report ---- WARNING: coremods are present:   XaeroMinimapPlugin (Xaeros_Minimap_24.1.1_Forge_1.12.jar)   TransformLoader (DynamicSurroundings-1.12.2-3.6.3.jar) Contact their authors BEFORE contacting forge // This doesn't make any sense! Time: 6/2/24 7:37 AM Description: Ticking memory connection java.lang.RuntimeException: PLAYER target expects a Player arg     at net.minecraftforge.fml.common.network.FMLOutboundHandler$OutboundTarget$4.validateArgs(FMLOutboundHandler.java:136)     at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:367)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:111)     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:704)     at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1017)     at io.netty.channel.AbstractChannel.write(AbstractChannel.java:286)     at io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:341)     at bspkrs.treecapitator.CommonProxy.onPlayerLoggedIn(CommonProxy.java:58)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_231_CommonProxy_onPlayerLoggedIn_PlayerLoggedInEvent.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:575)     at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:219)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205)     at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285)     at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)     at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)     at java.lang.Thread.run(Thread.java:745) A detailed walkthrough of the error, its code path and all known details is as follows: --------------------------------------------------------------------------------------- -- Head -- Thread: Server thread Stacktrace:     at net.minecraftforge.fml.common.network.FMLOutboundHandler$OutboundTarget$4.validateArgs(FMLOutboundHandler.java:136)     at net.minecraftforge.fml.common.network.FMLOutboundHandler.write(FMLOutboundHandler.java:367)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)     at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:111)     at io.netty.handler.codec.MessageToMessageCodec.write(MessageToMessageCodec.java:116)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite0(AbstractChannelHandlerContext.java:738)     at io.netty.channel.AbstractChannelHandlerContext.invokeWrite(AbstractChannelHandlerContext.java:730)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:816)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:723)     at io.netty.channel.AbstractChannelHandlerContext.write(AbstractChannelHandlerContext.java:704)     at io.netty.channel.DefaultChannelPipeline.write(DefaultChannelPipeline.java:1017)     at io.netty.channel.AbstractChannel.write(AbstractChannel.java:286)     at io.netty.channel.embedded.EmbeddedChannel.writeOutbound(EmbeddedChannel.java:341)     at bspkrs.treecapitator.CommonProxy.onPlayerLoggedIn(CommonProxy.java:58)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_231_CommonProxy_onPlayerLoggedIn_PlayerLoggedInEvent.invoke(.dynamic)     at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)     at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)     at net.minecraftforge.fml.common.FMLCommonHandler.firePlayerLoggedIn(FMLCommonHandler.java:575)     at net.minecraft.server.management.PlayerList.initializeConnectionToPlayer(PlayerList.java:219)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.completeServerSideConnection(NetworkDispatcher.java:255)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher.access$100(NetworkDispatcher.java:72)     at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.func_73660_a(NetworkDispatcher.java:205)     at net.minecraft.network.NetworkManager.func_74428_b(NetworkManager.java:285) -- Ticking connection -- Details:     Connection: net.minecraft.network.NetworkManager@336bc43d Stacktrace:     at net.minecraft.network.NetworkSystem.func_151269_c(NetworkSystem.java:180)     at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:790)     at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:668)     at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:279)     at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)     at java.lang.Thread.run(Thread.java:745) -- System Details -- Details:     Minecraft Version: 1.12.2     Operating System: Windows 10 (amd64) version 10.0     Java Version: 1.8.0_51, Oracle Corporation     Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation     Memory: 650962680 bytes (620 MB) / 1375731712 bytes (1312 MB) up to 2147483648 bytes (2048 MB)     JVM Flags: 8 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance_javaw.exe_minecraft.exe.heapdump -Xmx2G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M     IntCache: cache: 0, tcache: 0, allocated: 12, tallocated: 94     FML: MCP 9.42 Powered by Forge 14.23.5.2847 Optifine OptiFine_1.12.2_HD_U_G5 24 mods loaded, 24 mods active     States: 'U' = Unloaded 'L' = Loaded 'C' = Constructed 'H' = Pre-initialized 'I' = Initialized 'J' = Post-initialized 'A' = Available 'D' = Disabled 'E' = Errored     | State  | ID                  | Version      | Source                                        | Signature                                |     |:------ |:------------------- |:------------ |:--------------------------------------------- |:---------------------------------------- |     | LCHIJA | minecraft           | 1.12.2       | minecraft.jar                                 | None                                     |     | LCHIJA | mcp                 | 9.42         | minecraft.jar                                 | None                                     |     | LCHIJA | FML                 | 8.0.99.99    | forge-1.12.2-14.23.5.2847.jar                 | None                                     |     | LCHIJA | forge               | 14.23.5.2847 | forge-1.12.2-14.23.5.2847.jar                 | None                                     |     | LCHIJA | xaerominimap_core   | 1.12.2-1.0   | minecraft.jar                                 | None                                     |     | LCHIJA | bspkrscore          | 8.0.0        | [1.12.2]bspkrscore-universal-8.0.1.jar        | None                                     |     | LCHIJA | damageindicatorsmod | 1.0          | [1.12.2]DamageIndicatorsMod-3.5.1.jar         | None                                     |     | LCHIJA | treecapitator       | 1.43.0       | [1.12]TreeCapitator-client-1.43.0.jar         | None                                     |     | LCHIJA | bibliocraft         | 2.4.6        | BiblioCraft[v2.4.6][MC1.12.2].jar             | None                                     |     | LCHIJA | biomesoplenty       | 7.0.1.2444   | BiomesOPlenty-1.12.2-7.0.1.2444-universal.jar | None                                     |     | LCHIJA | doggytalents        | 1.15.1.6     | DoggyTalents-1.12.2-1.15.1.6.jar              | None                                     |     | LCHIJA | dragonmounts        | 1.12.2-1.6.4 | DragonMounts3-1.12.2-1.6.4.jar                | None                                     |     | LCHIJA | mocreatures         | 12.0.5       | DrZharks MoCreatures Mod-12.0.5.jar           | None                                     |     | LCHIJA | orelib              | 3.6.0.1      | OreLib-1.12.2-3.6.0.1.jar                     | 7a2128d395ad96ceb9d9030fbd41d035b435753a |     | LCHIJA | dsurround           | @VERSION@    | DynamicSurroundings-1.12.2-3.6.3.jar          | None                                     |     | LCHIJA | fastfurnace         | 1.3.1        | FastFurnace-1.12.2-1.3.1.jar                  | None                                     |     | LCHIJA | jei                 | 4.16.1.1012  | jei_1.12.2-4.16.1.1012.jar                    | None                                     |     | LCHIJA | radixcore           | 1.12.x-2.2.1 | RadixCore-1.12.x-2.2.1-universal.jar          | None                                     |     | LCHIJA | mca                 | 1.12.2-5.3.1 | MCA-1.12.x-5.3.1-universal.jar                | None                                     |     | LCHIJA | morecreeps          | 1.0.26       | morecreeps-1.0.26.jar                         | None                                     |     | LCHIJA | travelersbackpack   | 1.0.35       | TravelersBackpack-1.12.2-1.0.35.jar           | None                                     |     | LCHIJA | waymoreoresmod      | 1.3.0        | Way More Ores 1.5.5.jar                       | None                                     |     | LCHIJA | waystones           | 4.1.0        | Waystones_1.12.2-4.1.0.jar                    | None                                     |     | LCHIJA | xaerominimap        | 24.1.1       | Xaeros_Minimap_24.1.1_Forge_1.12.jar          | None                                     |     Loaded coremods (and transformers):  XaeroMinimapPlugin (Xaeros_Minimap_24.1.1_Forge_1.12.jar)   xaero.common.core.transformer.ChunkTransformer   xaero.common.core.transformer.NetHandlerPlayClientTransformer   xaero.common.core.transformer.EntityPlayerTransformer   xaero.common.core.transformer.AbstractClientPlayerTransformer   xaero.common.core.transformer.WorldClientTransformer   xaero.common.core.transformer.EntityPlayerMPTransformer   xaero.common.core.transformer.EntityPlayerSPTransformer   xaero.common.core.transformer.PlayerListTransformer   xaero.common.core.transformer.SaveFormatTransformer   xaero.common.core.transformer.GuiIngameForgeTransformer   xaero.common.core.transformer.MinecraftServerTransformer   xaero.common.core.transformer.GuiBossOverlayTransformer   xaero.common.core.transformer.ModelRendererTransformer TransformLoader (DynamicSurroundings-1.12.2-3.6.3.jar)        GL info: ~~ERROR~~ RuntimeException: No OpenGL context found in the current thread.     Profiler Position: N/A (disabled)     Player Count: 1 / 8; [EntityPlayerMP['PastelLovers'/944, l='Lifes work Zoo', x=-221.95, y=64.00, z=273.23]]     Type: Integrated Server (map_client.txt)     Is Modded: Definitely; Client brand changed to 'fml,forge'     OptiFine Version: OptiFine_1.12.2_HD_U_G5     OptiFine Build: 20210124-142939     Render Distance Chunks: 12     Mipmaps: 0     Anisotropic Filtering: 1     Antialiasing: 0     Multitexture: false     Shaders: null     OpenGlVersion: 4.6.0 - Build 27.20.100.9664     OpenGlRenderer: Intel(R) UHD Graphics 630     OpenGlVendor: Intel     CpuCount: 12
    • here's my log ---> https://pastebin.com/EL7bq7UR pls help with this
    • Usually, the errors only tell you what the problem is, not what mod it is in. Post the full log.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.