Add Item Examples (#182)
Add Examples to Item Components from MS-Learn Website
This commit is contained in:
@@ -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]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user