Added render offsets to items in BP

This commit is contained in:
DaanV2
2021-03-11 12:05:51 +01:00
parent 2a815a59d1
commit c2ccd3d9e1
4 changed files with 42 additions and 0 deletions

View File

@@ -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"
}
}
}

View File

@@ -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" },

View File

@@ -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"
}
}
}

View File

@@ -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" },