diff --git a/source/behaviour/items/1.16.100/components/minecraft.render_offsets.json b/source/behaviour/items/1.16.100/components/minecraft.render_offsets.json new file mode 100644 index 00000000..a30384b8 --- /dev/null +++ b/source/behaviour/items/1.16.100/components/minecraft.render_offsets.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "blockception.minecraft.behaviour.1.16.100.items.minecraft:render_offsets", + "title": "Render offsets", + "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", + "type": "object", + "additionalProperties": false, + "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" + } + } +} diff --git a/source/behaviour/items/1.16.100/items.json b/source/behaviour/items/1.16.100/items.json index f024b323..f07da040 100644 --- a/source/behaviour/items/1.16.100/items.json +++ b/source/behaviour/items/1.16.100/items.json @@ -64,6 +64,7 @@ "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, + "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" }, diff --git a/source/behaviour/items/1.16.200/components/minecraft.render_offsets.json b/source/behaviour/items/1.16.200/components/minecraft.render_offsets.json new file mode 100644 index 00000000..7f66453a --- /dev/null +++ b/source/behaviour/items/1.16.200/components/minecraft.render_offsets.json @@ -0,0 +1,20 @@ +{ + "$schema": "http://json-schema.org/draft-07/schema", + "$id": "blockception.minecraft.behaviour.1.16.200.items.minecraft:render_offsets", + "title": "Render offsets", + "description": "Render offsets component: optional values can be given to offset the way the item is rendered.", + "type": "object", + "additionalProperties": false, + "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" + } + } +} diff --git a/source/behaviour/items/1.16.200/items.json b/source/behaviour/items/1.16.200/items.json index ea633c57..87abe20b 100644 --- a/source/behaviour/items/1.16.200/items.json +++ b/source/behaviour/items/1.16.200/items.json @@ -64,6 +64,7 @@ "minecraft:on_use_on": { "$ref": "./components/minecraft.on_use_on.json" }, "minecraft:projectile": { "$ref": "./components/minecraft.projectile.json" }, "minecraft:repairable": { "$ref": "./components/minecraft.repairable.json" }, + "minecraft:render_offsets": { "$ref": "./components/minecraft.render_offsets.json" }, "minecraft:shooter": { "$ref": "./components/minecraft.shooter.json" }, "minecraft:throwable": { "$ref": "./components/minecraft.throwable.json" }, "minecraft:weapon": { "$ref": "./components/minecraft.weapon.json" },