When a player joins your server without your resource pack installed, you can now show them a fallback Minecraft block instead of an untextured custom block!
Check out
https://github.com/jojodmo/CustomItems/wiki/Adding-Custom-Textures-to-Blocks#fallback-textures for more info!
Just add the following in your config.yml:
Code (YAML):
# Whether or not to enable fallback block textures
#
# Set this to true to and players who do not have your resource pack downloaded
# Will see the fallback Minecraft texture for custom textured blocks
#
# You can set a block's fallback texture under "fallback" in the "texture" section of the "blocks" section in your item yml file
#
# default: false
doFallbackTextures
: false
# The default fallback texture for blocks
#
# If "doFallbackTextures" is "true", and a custom-textured block doesn't have a fallback texture,
# players will see the block like this Minecraft block instead.
#
# You can ONLY set this to a Minecraft block (like "minecraft:GOLD_BLOCK" or "minecraft:COBBLESTONE") - can not be
# an non-placeable item.
#
# default: NULL
defaultFallbackTexture
: NULL
And set "doFallbackTextures" to "true" to enable fallback textures! You can then set "fallback" under "texture" of "block" in the item yml file to set the block's fallback texture:
Code (YAML):
block :
texture :
fallback
:
"minecraft:DIAMOND_BLOCK"
textureID
: 42
Players with your resource pack will see textureID 42, and those without it will see a diamond block!