Textures
Model precedence
When loading or rendering a model namespace:path (eg. minecraft:item/stick), the following options will be attempted in this order; the first to successfully load will be used.
- Generic
minecraft:item/stick
hexdoc.toml:doc/hexdoc.toml[textures.overrides.models]
{namespace}:{path}" = ...- Internal resources:
assets/{namespace}/hexdoc/renders/{path}.{png,gif}- If multiple formats exist, the one configured in
props.textures.animated.format(default: APNG) will be used.
- If multiple formats exist, the one configured in
- On-demand model rendering:
assets/{namespace}/models/{path}.json - External resources:
assets/{namespace}/hexdoc/renders/{path}.{png,gif}
hexdoc.toml:doc/hexdoc.toml[textures.overrides.models]
minecraft:item/stick" = ...- Internal resources:
assets/minecraft/hexdoc/renders/item/stick.{png,gif}- If multiple formats exist, the one configured in
props.textures.animated.format(default: APNG) will be used.
- If multiple formats exist, the one configured in
- On-demand model rendering:
assets/minecraft/models/item/stick.json - External resources:
assets/minecraft/hexdoc/renders/item/stick.{png,gif}
note
In hexdoc.toml, if textures.strict is True (the default) and none of the above options are successfully loaded, the build will fail.