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

minecraft:crafting_table

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

Overview

minecraft:crafting_table is a block component: it goes in the components object of a custom block. Turns the block into a crafting station that opens the 3x3 crafting screen. Recipes with a matching tag can be crafted on it.

Fields

FieldTypeDefaultDescription
crafting_tagsstring[]noneTags that recipes list in their "tags" to be made on this table, like "crafting_table" or your own tag.
table_namestring""Title shown at the top of the crafting screen: a translation key or plain text. If left out, the block's name is used.

Example

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

BP/blocks/<name>.json
{
  "minecraft:crafting_table": {
    "crafting_tags": [],
    "table_name": ""
  }
}

Blocks: Behavior pack

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