Add Item Examples (#182)

Add Examples to Item Components from MS-Learn Website
This commit is contained in:
DW623
2023-08-17 11:04:39 -07:00
committed by GitHub
parent 2abff2794e
commit d3a8c7a4a4
16 changed files with 112 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
{
"$id": "blockception.minecraft.behavior.items.minecraft:render_offsets",
"title": "Render Offsets",
"description": "Render offsets component: optional values can be given to offset the way the item is rendered.",
"description": "Render offsets component: optional values can be given to offset the way the item is rendered. Depreciated in json formats 1.20.10 and higher",
"type": "object",
"additionalProperties": false,
"definitions": {
@@ -64,5 +64,11 @@
"properties": {
"main_hand": { "title": "Main Hand", "description": "Right hand transform data.", "type": "string" },
"off_hand": { "title": "Off Hand", "description": "Left hand transform data.", "type": "string" }
}
},
"examples": [
{
"main_hand": [0,0,0],
"off_hand":[0,0.5,0]
}
]
}