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

minecraft:item_visual

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

Overview

minecraft:item_visual is a block component: it goes in the components object of a custom block. Sets how the block's item looks in the hand and inventory, by giving it its own model and textures. Use it when the item should look different from the placed block.

Fields

FieldTypeDefaultDescription
geometryGeometrynoneThe model used for the item.
material_instancesMaterial Instances ComponentnoneThe textures and materials used for the item.

Example

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

BP/blocks/<name>.json
{
  "minecraft:item_visual": {
    "geometry": {},
    "material_instances": {}
  }
}

Blocks: Behavior pack

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