DavidM Posted February 18, 2019 Share Posted February 18, 2019 (edited) Down below is a json blockstate file I used in my mod back in 1.12.2. { "forge_marker": 1, "defaults": { "model": "forge:multi-layer", "transform": "forge:default-block" }, "variants": { "normal": [{ "custom": { "base": "tinymobfarm:ultimate_farm#base", "Solid": "tinymobfarm:ultimate_farm#base", "Cutout": "tinymobfarm:ultimate_farm#glass" } }], "base": [{ "model": "tinymobfarm:ultimate_farm" }], "glass": [{ "model": "tinymobfarm:glass_panel" }], "inventory": [{ "custom": { "base": "tinymobfarm:ultimate_farm#base", "Solid": "tinymobfarm:ultimate_farm#base", "Cutout": "tinymobfarm:ultimate_farm#glass" } }] } } However, multiple errors are thrown when I use this blockstate file in 1.13.2. [17:19:44.920] [Client thread/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'tinymobfarm:blockstates/ultimate_farm.json' in resourcepack: 'main' for variant: 'base': Unknown blockstate property: 'base' [17:19:44.920] [Client thread/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'tinymobfarm:blockstates/ultimate_farm.json' in resourcepack: 'main' for variant: 'glass': Unknown blockstate property: 'glass' [17:19:44.920] [Client thread/WARN] [minecraft/ModelBakery]: Exception loading blockstate definition: 'tinymobfarm:blockstates/ultimate_farm.json' in resourcepack: 'main' for variant: 'inventory': Unknown blockstate property: 'inventory' I'm interpreting that blockstates are defined differently in 1.13.2 with a new variants system? Or is it just because the keywords changed? How would I fix it? Edited February 20, 2019 by DavidM Quote 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 More sharing options...
DavidM Posted February 18, 2019 Author Share Posted February 18, 2019 Due to my block is rendered on both the Solid layer and the Cutout layer, I used two different models (base and glass), one on each layer. Quote 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 More sharing options...
DavidM Posted February 18, 2019 Author Share Posted February 18, 2019 (edited) Update: [18:22:24.990] [Client thread/ERROR] [ne.mi.fm.ModLoader/]: Skipping lifecycle event ENQUEUE_IMC, 1 errors found. [18:22:24.990] [Client thread/FATAL] [ne.mi.fm.ModLoader/]: Failed to complete lifecycle event ENQUEUE_IMC, 1 errors found What does this error mean and how would I fix it? Edited February 18, 2019 by DavidM Quote 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 More sharing options...
JTK222 Posted February 18, 2019 Share Posted February 18, 2019 That is a Forge only feature, therefore probably not yet updated. Quote Link to comment Share on other sites More sharing options...
Cadiboo Posted February 18, 2019 Share Posted February 18, 2019 Forge blockstates are in the latest (and only the latest) 1.13.2 beta. Quote About Me Spoiler My Discord - Cadiboo#8887 My Website - Cadiboo.github.io My Mods - Cadiboo.github.io/projects My Tutorials - Cadiboo.github.io/tutorials Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support. When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible. Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme) Link to comment Share on other sites More sharing options...
Recommended Posts
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.