2022-06-07 20:42:18 +02:00
|
|
|
{
|
2022-07-20 21:25:32 +02:00
|
|
|
"$id": "blockception.minecraft.behavior.items.minecraft:render_offsets",
|
2022-06-07 20:42:18 +02:00
|
|
|
"title": "Render Offsets",
|
|
|
|
|
"description": "Render offsets component: optional values can be given to offset the way the item is rendered.",
|
|
|
|
|
"type": "object",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"definitions": {
|
|
|
|
|
"offset_spec": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Offset",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "UNDOCUMENTED.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"first_person": {
|
|
|
|
|
"title": "First Person",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "UNDOCUMENTED.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
|
|
|
|
"$ref": "#/definitions/mode"
|
|
|
|
|
},
|
|
|
|
|
"thrid_person": {
|
|
|
|
|
"title": "Thrid Person",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "UNDOCUMENTED.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
|
|
|
|
"$ref": "#/definitions/mode"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"mode": {
|
|
|
|
|
"type": "object",
|
|
|
|
|
"title": "Mode",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "UNDOCUMENTED.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$comment": "UNDOCUMENTED",
|
|
|
|
|
"additionalProperties": false,
|
|
|
|
|
"properties": {
|
|
|
|
|
"position": {
|
|
|
|
|
"title": "Position",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "The position transformation.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$ref": "#/definitions/vec3"
|
|
|
|
|
},
|
|
|
|
|
"rotation": {
|
|
|
|
|
"title": "Rotation",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "The rotation transformation.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$ref": "#/definitions/vec3"
|
|
|
|
|
},
|
|
|
|
|
"scale": {
|
|
|
|
|
"title": "Scale",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "The scale transformation.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"$ref": "#/definitions/vec3"
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"vec3": {
|
|
|
|
|
"type": "array",
|
|
|
|
|
"title": "Vector",
|
2022-07-22 19:41:04 +02:00
|
|
|
"description": "X Y Z.",
|
2022-06-07 20:42:18 +02:00
|
|
|
"items": [
|
2022-07-22 19:41:04 +02:00
|
|
|
{ "title": "X", "description": "The X tranformation.", "type": "number" },
|
|
|
|
|
{ "title": "Y", "description": "The Y tranformation.", "type": "number" },
|
|
|
|
|
{ "title": "Z", "description": "The Z tranformation.", "type": "number" }
|
2022-06-07 20:42:18 +02:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
"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" }
|
|
|
|
|
}
|
|
|
|
|
}
|