Arqade Asked on May 24, 2021
How do I add multiple textures (Like top, bottom, side, etc.) to a block with only one texture (Such as planks, dirt, etc.)?
In your blocks.json
in the top of the directory (i.e. myresourcepack/blocks.json
) have the block texture defined with these. Example blocks.json
with a furnace:
{
"furnace" : {
"sound" : "stone",
"textures" : {
"down" : "furnace_top",
"east" : "furnace_side",
"north" : "furnace_side",
"south" : "furnace_front_off",
"up" : "furnace_top",
"west" : "furnace_side"
}
}
}
furnace
- ID of blockfurnace_top
, furnace_side
... - Name you registered the texture understone
- The sound. Name the sound is registered under (optional)The different sides should point to a registered texture. If you don't know how to register textures, here is an example:
Have a file named terrain_texture.json
. The file path should be: myresourcepack/textures/terrain_texture.json
. Inside the file, have this:
{
"num_mip_levels" : 4,
"padding" : 8,
"resource_pack_name" : "vanilla",
"texture_data" : {
"acacia_planks" : {
"textures" : "textures/blocks/planks_acacia"
}
}
}
In that example, we defined a texture called acacia_planks
with the file path to the actual image textures/blocks/planks_acacia
. This points to the planks_acacia
file in our myresourcepack/textures/blocks/planks_acacia.png
; the .png
is implied.
acacia_planks
- Whatever you want to name the textureplanks_acacia
- The name of the PNG file in blocks/
, omit the .png
Correct answer by Penguin on May 24, 2021
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP