Introducing CUSTOM BLOCK TEXTURES! (Real blocks! No Armor Stands!) [1.9 and up — to 1.14.2]
You can now add custom textures to your custom blocks!!!
To do so, just edit add the following info to your item .yml file:
Code (YAML):
name
:
"Compressed Cobblestone"
item:
material
:
"minecraft:gold_block"
displayName
:
"&bCUI Golden Block"
canBeUsedGenerically
: false
canBePlaced
: true
block:
drops:
"minecraft:diamond"
: 3
"minecraft:gold_ingot"
: 4
texture:
textureID
: 13
color
:
"444444"
You can use
https://codecrafted.net/blockdesigner to design your pack, also, and use the "layer" system like so:
Code (YAML):
block:
drops:
oreBlock
: 1
texture:
layer0:
textureID
: 13
color
:
"444444"
layer1:
textureID
: 31
color
:
"00AAFF"
layer2:
textureID
: 37
color
:
"33AAFF"
If you design your own resource pack: If you're using 1.14 or above, "texutureID" is the CustomModelData of whatever you set "material" to in that layer. If "material" is a leather armor item, "color" is the dye color of the layer. If you're using a version under 1.14, then "texutureID" will correspond to the damage on the item. By default the item is "minecraft:leather_boots"