Bektor Posted October 27, 2017 Posted October 27, 2017 Hi, I'm wondering how I can achieve the following with JSON files (just did some fast renderer with Blender Cycles): I've already got the basic model shape done. It should be noted that the model part of this is the base model and the rest of the model are just connections. These connections can apply to any possible side and when there is no connection the middle part should look like the end parts on all sides. The properties my block has: public static final PropertyBool NORTH = PropertyBool.create("north"); public static final PropertyBool EAST = PropertyBool.create("east"); public static final PropertyBool SOUTH = PropertyBool.create("south"); public static final PropertyBool WEST = PropertyBool.create("west"); public static final PropertyBool UP = PropertyBool.create("up"); public static final PropertyBool DOWN = PropertyBool.create("down"); My current JSON model files: cable_side.json { "textures": { "particle": "#side" }, "elements": [ { "from": [ 4, 4, 0 ], "to": [ 12, 12, 4 ], "faces": { "down": { "texture": "#side" }, "up": { "texture": "#side" }, "north": { "texture": "#side" }, "south": { "texture": "#side" }, "west": { "texture": "#side" }, "east": { "texture": "#side" } }, "__comment": "North cable side" } ] } cable_base.json { "textures": { "particle": "#centre" }, "elements": [ { "from": [ 4, 4, 4 ], "to": [ 12, 12, 12 ], "faces": { "down": { "texture": "#centre" }, "up": { "texture": "#centre" }, "north": { "texture": "#centre" }, "south": { "texture": "#centre" }, "west": { "texture": "#centre" }, "east": { "texture": "#centre" } }, "__comment": "Center cable cube" } ] } Meaning I've got the basic model already done, but I'm struggling mostly with figuring out the texture stuff and which texture to put where and when. So just the main model file remains as long as I don't have to edit those model files somewhere. Note: I've got a texture which contains the red lines and the green inner part and I've got a seperate texture for the start and end part of the model. Thx in advance. Bektor Quote Developer of Primeval Forest.
Bektor Posted October 29, 2017 Author Posted October 29, 2017 Does anyone got a clue how I can get it done like in the 3D model from Blender with the straight lines? If not I guess I'm going with dynamic rendering stuff like a friend of mine (who got no clue about Minecraft Modding, but OpenGL 4.5) suggest to me for solving this problem. Quote Developer of Primeval Forest.
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.