2

[solved] Wall textures - side/post/top. What/how/where?

crusnik's Avatar crusnik7/12/21 8:39 am
2 emeralds 340 1
7/17/2021 7:57 am
crusnik's Avatar crusnik
Changing wall textures for side (wall) and post are easy, just tweak the relative models files, example stone_brick_wall.json

But how do i add texture on top of the wall, between the posts? It needs some modifications to the template_wall_xxxx.json files to tell to the game that this part has a texture for it? What/how/where? Tried some changes but all i got was black and purple in the game
Posted by crusnik's Avatar
crusnik
Level 19 : Journeyman Explorer
10

Create an account or sign in to comment.

1

crusnik
07/17/2021 7:57 am
Level 19 : Journeyman Explorer
history
crusnik's Avatar
Hopefully this rambling help others. In this are examples how i solved the wall texture problem. Just simple tweak, after lots of trial and errors, to the original MC .json files

First, a picture of some of the walls after the modified side(wall)/post/top settings. Do notice that i use custom mash up texture pack
White one is diorite, below to it is bricks, then end_stone_brick. Next row has nether_brick and lastly stone_bricks wall

How the tweaked walls look - custom texture pack!
Few examples


Next is the .json files that are located in texture_pack_name\assets\minecraft\models\block. Do notice that textures for walls are located in folder texture_pack_name\assets\minecraft\models\block\wall to keep the textures easily managable, you see all the wall textures at once. Nether_brick wall is little different than the others when high wall - 2 blocks or more, please check the nether_brick_wall_side_tall.json

Brick wall
brick_wall_inventory.json{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "minecraft:block/wall/brick_wall",
"top": "minecraft:block/wall/brick_wall_top"
}
}
brick_wall_post.json{
"parent": "minecraft:block/template_wall_post",
"textures": {
"wall": "minecraft:block/wall/brick_wall_post"
}
}
brick_wall_side.json{
"parent": "minecraft:block/template_wall_side",
"textures": {
"wall": "minecraft:block/wall/brick_wall",
"top": "minecraft:block/wall/brick_wall_top"
}
}
brick_wall_side_tall.json{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "minecraft:block/wall/brick_wall",
"top": "minecraft:block/wall/brick_wall_top"
}
}


Diorite wall
diorite_wall_inventory.json{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "minecraft:block/wall/diorite_wall",
"top": "minecraft:block/wall/diorite_wall_top"
}
}
diorite_wall_post.json{
"parent": "minecraft:block/template_wall_post",
"textures": {
"wall": "minecraft:block/wall/diorite_wall_post"
}
}
diorite_wall_side.json{
"parent": "minecraft:block/template_wall_side",
"textures": {
"wall": "minecraft:block/wall/diorite_wall",
"top": "minecraft:block/wall/diorite_wall_top"
}
}
diorite_wall_side_tall.json{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "minecraft:block/wall/diorite_wall",
"top": "minecraft:block/wall/diorite_wall_top"
}
}


End_stone_brick wall
end_stone_brick_wall_inventory.json{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "minecraft:block/wall/end_bricks_wall",
"top": "minecraft:block/wall/end_bricks_wall_top"
}
}
end_stone_brick_wall_post.json{
"parent": "minecraft:block/template_wall_post",
"textures": {
"wall": "minecraft:block/wall/end_stone_bricks_wall_post"
}
}
end_stone_brick_wall_side.json{
"parent": "minecraft:block/template_wall_side",
"textures": {
"wall": "minecraft:block/wall/end_bricks_wall",
"top": "minecraft:block/wall/end_bricks_wall_top"
}
}
end_stone_brick_wall_side_tall.json{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "minecraft:block/wall/end_bricks_wall",
"top": "minecraft:block/wall/end_bricks_wall_top"
}
}


Nether_brick_wall
nether_brick_wall_inventory.json{
"parent": "minecraft:block/custom_wall_inventory",
"textures": {
"wall": "minecraft:block/wall/nether_brick_wall",
"top": "minecraft:block/wall/nether_brick_wall_top"
}
}
nether_brick_wall_post.json{
"parent": "minecraft:block/custom_wall_post",
"textures": {
"wall": "minecraft:block/wall/nether_brick_wall_post",
"top": "minecraft:block/wall/nether_brick_wall_top"
}
}
nether_brick_wall_side.json{
"parent": "minecraft:block/custom_wall_side",
"textures": {
"wall": "minecraft:block/wall/nether_brick_wall",
"top": "minecraft:block/wall/nether_brick_wall_top"
}
}
nether_brick_wall_side_tall.json{
"parent": "minecraft:block/custom_wall_side_tall",
"textures": {
"wall": "minecraft:block/wall/nether_brick_wall_tall",
"top": "minecraft:block/wall/nether_brick_wall_top"
}
}


Stone_brick_wall
stone_brick_wall_inventory.json{
"parent": "minecraft:block/custom_wall_inventory",
"textures": {
"wall": "minecraft:block/wall/stone_bricks_wall",
"top": "minecraft:block/wall/stone_bricks_wall_top"
}
}
stone_brick_wall_post.json{
"parent": "minecraft:block/custom_wall_post",
"textures": {
"wall": "minecraft:block/wall/stone_bricks_wall_post",
"top": "minecraft:block/wall/stone_bricks_wall_post_top"
}
}
stone_brick_wall_side.json{
"parent": "minecraft:block/custom_wall_side",
"textures": {
"wall": "minecraft:block/wall/stone_bricks_wall",
"top": "minecraft:block/wall/stone_bricks_wall_top"
}
}
stone_brick_wall_side_tall.json{
"parent": "minecraft:block/custom_wall_side_tall",
"textures": {
"wall": "minecraft:block/wall/stone_bricks_wall",
"top": "minecraft:block/wall/stone_bricks_wall_top"
}
}




For above mentioned walls to work, you need these files, total of 8, in the folder texture_pack_name\assets\minecraft\models\block. Files named template_wall_something.json are original MC files, these here have one or two tweaks for the top wall texture and custom_wall_something.json are needed to add texture on top of the posts without affecting the ones that do not have it

custom_wall_inventory.json
{ "parent": "block/block",
"display": {
"gui": {
"rotation": [ 30, 135, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.625, 0.625, 0.625 ]
},
"fixed": {
"rotation": [ 0, 90, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 0.5, 0.5, 0.5 ]
}
},
"ambientocclusion": false,
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 4, 0, 4 ],
"to": [ 12, 16, 12 ],
"faces": {
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#wall", "cullface": "down" },
"up": { "uv": [ 4, 4, 12, 12 ], "texture": "#top" },
"north": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"south": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"west": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"east": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" }
},
"__comment": "Center post"
},
{ "from": [ 5, 0, 0 ],
"to": [ 11, 13, 16 ],
"faces": {
"down": { "uv": [ 5, 0, 11, 16 ], "texture": "#wall", "cullface": "down" },
"up": { "uv": [ 5, 0, 11, 16 ], "texture": "#top" },
"north": { "uv": [ 5, 3, 11, 16 ], "texture": "#wall", "cullface": "north" },
"south": { "uv": [ 5, 3, 11, 16 ], "texture": "#wall", "cullface": "south" },
"west": { "uv": [ 0, 3, 16, 16 ], "texture": "#wall" },
"east": { "uv": [ 0, 3, 16, 16 ], "texture": "#wall" }
},
"__comment": "Full wall"
}
]
}
custom_wall_post.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 4, 0, 4 ],
"to": [ 12, 16, 12 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#top", "cullface": "up" },
"north": { "texture": "#wall" },
"south": { "texture": "#wall" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
},
"__comment": "Center post"
}
]
}
custom_wall_side.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 5, 0, 0 ],
"to": [ 11, 14, 8 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#top" },
"north": { "texture": "#wall", "cullface": "north" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
},
"__comment": "wall"
}
]
}
custom_wall_side_tall.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 5, 0, 0 ],
"to": [ 11, 16, 8 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#top", "cullface": "top" },
"north": { "texture": "#wall", "cullface": "north" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
}
}
]
}
template_wall_post.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 4, 0, 4 ],
"to": [ 12, 16, 12 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#wall", "cullface": "up" },
"north": { "texture": "#wall" },
"south": { "texture": "#wall" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
},
"__comment": "Center post"
}
]
}
template_wall_side.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 5, 0, 0 ],
"to": [ 11, 14, 8 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#top" },
"north": { "texture": "#wall", "cullface": "north" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
},
"__comment": "wall"
}
]
}
template_wall_side_tall.json
{
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 5, 0, 0 ],
"to": [ 11, 16, 8 ],
"faces": {
"down": { "texture": "#wall", "cullface": "down" },
"up": { "texture": "#top", "cullface": "top" },
"north": { "texture": "#wall", "cullface": "north" },
"west": { "texture": "#wall" },
"east": { "texture": "#wall" }
}
}
]
}
wall_invenroy.json
{ "parent": "block/block",
"display": {
"gui": {
"rotation": [ 30, 135, 0 ],
"translation": [ 0, 0, 0],
"scale":[ 0.625, 0.625, 0.625 ]
},
"fixed": {
"rotation": [ 0, 90, 0 ],
"translation": [ 0, 0, 0 ],
"scale": [ 0.5, 0.5, 0.5 ]
}
},
"ambientocclusion": false,
"textures": {
"particle": "#wall"
},
"elements": [
{ "from": [ 4, 0, 4 ],
"to": [ 12, 16, 12 ],
"faces": {
"down": { "uv": [ 4, 4, 12, 12 ], "texture": "#wall", "cullface": "down" },
"up": { "uv": [ 4, 4, 12, 12 ], "texture": "#wall" },
"north": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"south": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"west": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" },
"east": { "uv": [ 4, 0, 12, 16 ], "texture": "#wall" }
},
"__comment": "Center post"
},
{ "from": [ 5, 0, 0 ],
"to": [ 11, 13, 16 ],
"faces": {
"down": { "uv": [ 5, 0, 11, 16 ], "texture": "#wall", "cullface": "down" },
"up": { "uv": [ 5, 0, 11, 16 ], "texture": "#top" },
"north": { "uv": [ 5, 3, 11, 16 ], "texture": "#wall", "cullface": "north" },
"south": { "uv": [ 5, 3, 11, 16 ], "texture": "#wall", "cullface": "south" },
"west": { "uv": [ 0, 3, 16, 16 ], "texture": "#wall" },
"east": { "uv": [ 0, 3, 16, 16 ], "texture": "#wall" }
},
"__comment": "Full wall"
}
]
}
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome