1. Wiki
  2. /Blocks
  3. /minecraft:material_instances

minecraft:material_instances

Don't want to write this by hand? GodCraft sets minecraft:material_instances for you with a switch.Get GodCraft

Overview

minecraft:material_instances is a block component: it goes in the components object of a custom block. Assigns textures and render settings to the faces of the block's model. Use "*" for every face, or names like "up", "down" and "north" for single sides.

Fields

FieldTypeDefaultDescription
Material InstanceJSON ObjectnoneA face or material name with its texture, render method (like "opaque" or "alpha_test") and shading options. "*" covers any face not named.

Example

Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):

BP/blocks/<name>.json
{
  "minecraft:material_instances": {
    "Material Instance": {}
  }
}

Blocks: Behavior pack

We use cookies to improve your experience and analyse site traffic. Learn more