User Tools

Site Tools


items:item_components:block

This is an old revision of the document!


Table of Contents

minecraft:block

The minecraft:block item component allows its user to place a block state. The block used is obtained from the specified block picker when you use it on a block, which then determines the block state to place.

Fields

Name Description Type Default Value
block The block to place. A block picker
operator_only Whether only operated players may place this block or not. An optional boolean false

Example

{
  "block": "minecraft:cobblestone"
}
items/item_components/block.1713533223.txt.gz · Last modified: 2024/04/19 13:27 by errorcraft