Block Documentation - minecraft:crafting_table
minecraft:crafting_table
is a JSON Object
component that makes your block into a custom crafting table which enables the crafting table UI and the ability to craft recipes. This component supports only recipe_shaped
and recipe_shapeless
typed recipes and not others like recipe_furnace
or recipe_brewing_mix
. If there are two recipes for one item, the recipe book will pick the first that was parsed. If two input recipes are the same, crafting may assert and the resulting item may vary.
Default Value of the Component
This component is specified as a JSON Object
, so it does not have a default value. You must provide this component in order for your block to become a custom crafting table.
Parameters
Name | Default Value | Type | Description |
---|---|---|---|
crafting_tags | not set | Array | Defines the tags recipes should define to be crafted on this table. Limited to 64 tags. Each tag is limited to 64 characters. |
table_name | not set | String | Specifies the language file key that maps to what text will be displayed in the UI of this table. If the string given can not be resolved as a loc string, the raw string given will be displayed. If this field is omitted, the name displayed will default to the name specified in the "display_name" component. If this block has no "display_name" component, the name displayed will default to the name of the block. |
Example
"minecraft:crafting_table": {
"crafting_tags": ["crafting_table", "custom_crafting_tag"],
"table_name": "My Crafting Table"
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for