thenewpotato Posted April 2, 2016 Share Posted April 2, 2016 Hello everyone! I want to change the texture of the middle column of the stair I created, something like this: But when I go through the block models, the only options are "top", "bottom", and "sides" Is achieving this possible? Quote Link to comment Share on other sites More sharing options...
DestinySpork Posted April 2, 2016 Share Posted April 2, 2016 That is because it's stored in the parent class. Change the parent to your own model with the right textures. Acacia stairs: { "parent": "block/stairs", "textures": { "bottom": "blocks/planks_acacia", "top": "blocks/planks_acacia", "side": "blocks/planks_acacia" } } Stairs.json: { "parent": "block/block", "display": { "gui": { "rotation": [ 30, 135, 0 ], "translation": [ 0, 0, 0], "scale":[ 0.625, 0.625, 0.625 ] }, "head": { "rotation": [ 0, -90, 0 ], "translation": [ 0, 0, 0 ], "scale": [ 1, 1, 1 ] }, "thirdperson_lefthand": { "rotation": [ 75, -135, 0 ], "translation": [ 0, 2.5, 0], "scale": [ 0.375, 0.375, 0.375 ] } }, "textures": { "particle": "#side" }, "elements": [ { "from": [ 0, 0, 0 ], "to": [ 16, 8, 16 ], "faces": { "down": { "uv": [ 0, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" }, "up": { "uv": [ 0, 0, 16, 16 ], "texture": "#top" }, "north": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "north" }, "south": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "south" }, "west": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "west" }, "east": { "uv": [ 0, 8, 16, 16 ], "texture": "#side", "cullface": "east" } } }, { "from": [ 8, 8, 0 ], "to": [ 16, 16, 16 ], "faces": { "down": { "uv": [ 8, 0, 16, 16 ], "texture": "#bottom", "cullface": "down" }, "up": { "uv": [ 8, 0, 16, 16 ], "texture": "#top", "cullface": "up" }, "north": { "uv": [ 0, 0, 8, 8 ], "texture": "#side", "cullface": "north" }, "south": { "uv": [ 8, 0, 16, 8 ], "texture": "#side", "cullface": "south" }, "west": { "uv": [ 0, 0, 16, 8 ], "texture": "#side" }, "east": { "uv": [ 0, 0, 16, 8 ], "texture": "#side", "cullface": "east" } } } ] } Quote 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.