Skip to main content

content_block_model

Function content_block_model 

Source
pub fn content_block_model(
    root: &Path,
    id: &str,
) -> Option<(Vec<Value>, HashMap<String, Vec<u8>>)>
Expand description

The model of the mod’s block id as its .yblock gives it: its elements and its textures by variable (png bytes). None: not a block of the mod, or its model has no elements of its own.