Cadiboo Posted July 29, 2018 Share Posted July 29, 2018 (edited) I'm trying to load a JSON Block Model (/models/block/wire_extension.json), set texture variables from the JSON in code and then render the model with translation & rotations. What would the best way to do this be? Edited July 29, 2018 by Cadiboo 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...
Cadiboo Posted July 29, 2018 Author Share Posted July 29, 2018 (edited) I've found this thread, but I want to do it without having the model be associated with a variant of an item Edited July 29, 2018 by Cadiboo 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...
Animefan8888 Posted July 29, 2018 Share Posted July 29, 2018 58 minutes ago, Cadiboo said: I'm trying to load a JSON Block Model (/models/block/wire_extension.json), set texture variables from the JSON in code and then render the model with translation & rotations. What would the best way to do this be? Use the forge BlockState JSON, it has submodels, and you can declare translations and rotations. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Cadiboo Posted July 29, 2018 Author Share Posted July 29, 2018 2 minutes ago, Animefan8888 said: Use the forge BlockState JSON, it has submodels, and you can declare translations and rotations. I have 6^6 possible variants 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...
Animefan8888 Posted July 29, 2018 Share Posted July 29, 2018 Just now, Cadiboo said: I have 6^6 possible variants We are just talking the directions right, NORTH, SOUTH, EAST, WEST, UP, DOWN. Then it is very simple in the forge BlockState json. Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Cadiboo Posted July 29, 2018 Author Share Posted July 29, 2018 17 minutes ago, Animefan8888 said: We are just talking the directions right, NORTH, SOUTH, EAST, WEST, UP, DOWN. Then it is very simple in the forge BlockState json. Sorry, did my maths wrong. Aren't forge block states depreciated? 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...
Animefan8888 Posted July 29, 2018 Share Posted July 29, 2018 (edited) 12 minutes ago, Cadiboo said: Sorry, did my maths wrong. Aren't forge block states depreciated? I have not heard for sure that forge blockstates are being removed and if so it wouldn't matter using it is the correct way to do it in 1.12. Edited July 29, 2018 by Animefan8888 Typo Quote VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator. Link to comment Share on other sites More sharing options...
Cadiboo Posted July 29, 2018 Author Share Posted July 29, 2018 Ok thanks, I'm going to use your block state generator. 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.