From f590443e42ba713c66532c1de559940735f1daba Mon Sep 17 00:00:00 2001 From: Chris Hildebrand Date: Thu, 15 Oct 2020 22:32:45 -0400 Subject: [PATCH] Add include for youtube videos --- _includes/youtube_embed.html | 1 + guide/creating-entity-visuals.md | 260 +++++++++++++++---------------- 2 files changed, 131 insertions(+), 130 deletions(-) create mode 100644 _includes/youtube_embed.html diff --git a/_includes/youtube_embed.html b/_includes/youtube_embed.html new file mode 100644 index 00000000..bea669b6 --- /dev/null +++ b/_includes/youtube_embed.html @@ -0,0 +1 @@ + diff --git a/guide/creating-entity-visuals.md b/guide/creating-entity-visuals.md index 0201bdfe..94757910 100644 --- a/guide/creating-entity-visuals.md +++ b/guide/creating-entity-visuals.md @@ -38,9 +38,9 @@ Let's get started. 1. Now you are ready to create your own model! For more in-depth tutorials on modeling please check out the videos by Everbloom Studio below. -[Minecraft Modeling Basics](https://youtu.be/XqzxL_-XjA0) +{% include youtube_embed.html id="XqzxL_-XjA0" %} -[How to make Minecraft Models](https://youtu.be/j7ISUImhgpc) +{% include youtube_embed.html id="j7ISUImhgpc" %} # Texturing @@ -80,141 +80,141 @@ Simply go to *File>Save Model* or *File>Export Bedrock Geometry*. Save the model *Meanwhile, why not upgrading the visuals of your own unique entities' or creating another one?* `RP/models/entity/skele_yaklin.geo.json` -``` +```jsonc { - "format_version": "1.12.0", - "minecraft:geometry": [ - { - "description": { - "identifier": "geometry.skele_yaklin", - "texture_width": 128, - "texture_height": 128, - "visible_bounds_width": 3, - "visible_bounds_height": 2, - "visible_bounds_offset": [0, 1, 0] - }, - "bones": [ - { - "name": "body", - "pivot": [0, 19, 2], - "mirror": true, - "cubes": [ - {"origin": [-5.875, -10, 12], "size": [11.75, 13, 9], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [0, 23], "mirror": false}, - {"origin": [-4.9, -10, 13], "size": [10.75, 12, 7], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [2, 70], "mirror": false}, - {"origin": [-5.6, -9, 12.85], "size": [10.75, 10, 8], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [2, 70], "mirror": false}, - {"origin": [-4, 21, 6], "size": [9, 11, 0], "uv": [83, 46], "mirror": false}, - {"origin": [0, 21, 1], "size": [0, 8, 10], "uv": [82, 39], "mirror": false}, - {"origin": [-7, 3.98018, 9.88757], "size": [14, 12, 11], "pivot": [0, 0, 0], "rotation": [70, 0, 0], "uv": [0, 0], "mirror": false} - ] - }, - { - "name": "tail", - "parent": "body", - "pivot": [0, 17.5, 10.5], - "rotation": [15, 0, 0], - "cubes": [ - {"origin": [-1, 7, 10], "size": [2, 12, 2], "pivot": [0, 0, 0], "rotation": [5, 0, 0], "uv": [48, 53]}, - {"origin": [-1.5, 5, 9.5], "size": [3, 4, 3], "pivot": [0, 0, 0], "rotation": [5, 0, 0], "uv": [58, 60]} - ] - }, - { - "name": "head", - "pivot": [0, 20, -8], - "rotation": [30, 0, 0], - "mirror": true, - "cubes": [ - {"origin": [-4, 17, -19], "size": [8, 8, 10], "uv": [30, 35], "mirror": false}, - {"origin": [-2.25, 18.85, -18], "size": [6, 6, 8], "uv": [41, 74], "mirror": false}, - {"origin": [4, 21, -14], "size": [10, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [40, 29], "mirror": false}, - {"origin": [12, 24, -14], "size": [2, 2, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [46, 29], "mirror": false}, - {"origin": [-13, 21, -14], "size": [2, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [0, 3], "mirror": false}, - {"origin": [-11, 21, -14], "size": [7, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [31, 23], "mirror": false} - ] - }, - { - "name": "leg0", - "pivot": [4, 12, 7], - "mirror": true, - "cubes": [ - {"origin": [2, 0, 5], "size": [4, 12, 4], "uv": [32, 53], "mirror": false} - ] - }, - { - "name": "leg1", - "pivot": [-4, 12, 7], - "mirror": true, - "cubes": [ - {"origin": [-6, 0, 5], "size": [4, 12, 4], "uv": [50, 0], "mirror": false} - ] - }, - { - "name": "leg2", - "pivot": [4.125, 14, -5], - "mirror": true, - "cubes": [ - {"origin": [2, 0, -7], "size": [4.25, 16, 4], "uv": [16, 49], "mirror": false}, - {"origin": [3.75, 0, -6.85], "size": [2.25, 16, 3], "uv": [75, 69], "mirror": false} - ] - }, - { - "name": "leg3", - "pivot": [-4, 16, -6], - "mirror": true, - "cubes": [ - {"origin": [-6.25, 0, -7], "size": [4.25, 16, 4], "uv": [0, 46], "mirror": false} - ] - } - ] - } - ] + "format_version": "1.12.0", + "minecraft:geometry": [ + { + "description": { + "identifier": "geometry.skele_yaklin", + "texture_width": 128, + "texture_height": 128, + "visible_bounds_width": 3, + "visible_bounds_height": 2, + "visible_bounds_offset": [0, 1, 0] + }, + "bones": [ + { + "name": "body", + "pivot": [0, 19, 2], + "mirror": true, + "cubes": [ + {"origin": [-5.875, -10, 12], "size": [11.75, 13, 9], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [0, 23], "mirror": false}, + {"origin": [-4.9, -10, 13], "size": [10.75, 12, 7], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [2, 70], "mirror": false}, + {"origin": [-5.6, -9, 12.85], "size": [10.75, 10, 8], "pivot": [0.125, 0, 0], "rotation": [90, 0, 0], "uv": [2, 70], "mirror": false}, + {"origin": [-4, 21, 6], "size": [9, 11, 0], "uv": [83, 46], "mirror": false}, + {"origin": [0, 21, 1], "size": [0, 8, 10], "uv": [82, 39], "mirror": false}, + {"origin": [-7, 3.98018, 9.88757], "size": [14, 12, 11], "pivot": [0, 0, 0], "rotation": [70, 0, 0], "uv": [0, 0], "mirror": false} + ] + }, + { + "name": "tail", + "parent": "body", + "pivot": [0, 17.5, 10.5], + "rotation": [15, 0, 0], + "cubes": [ + {"origin": [-1, 7, 10], "size": [2, 12, 2], "pivot": [0, 0, 0], "rotation": [5, 0, 0], "uv": [48, 53]}, + {"origin": [-1.5, 5, 9.5], "size": [3, 4, 3], "pivot": [0, 0, 0], "rotation": [5, 0, 0], "uv": [58, 60]} + ] + }, + { + "name": "head", + "pivot": [0, 20, -8], + "rotation": [30, 0, 0], + "mirror": true, + "cubes": [ + {"origin": [-4, 17, -19], "size": [8, 8, 10], "uv": [30, 35], "mirror": false}, + {"origin": [-2.25, 18.85, -18], "size": [6, 6, 8], "uv": [41, 74], "mirror": false}, + {"origin": [4, 21, -14], "size": [10, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [40, 29], "mirror": false}, + {"origin": [12, 24, -14], "size": [2, 2, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [46, 29], "mirror": false}, + {"origin": [-13, 21, -14], "size": [2, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [0, 3], "mirror": false}, + {"origin": [-11, 21, -14], "size": [7, 3, 3], "pivot": [0, 0, 0], "rotation": [-5, 0, 0], "uv": [31, 23], "mirror": false} + ] + }, + { + "name": "leg0", + "pivot": [4, 12, 7], + "mirror": true, + "cubes": [ + {"origin": [2, 0, 5], "size": [4, 12, 4], "uv": [32, 53], "mirror": false} + ] + }, + { + "name": "leg1", + "pivot": [-4, 12, 7], + "mirror": true, + "cubes": [ + {"origin": [-6, 0, 5], "size": [4, 12, 4], "uv": [50, 0], "mirror": false} + ] + }, + { + "name": "leg2", + "pivot": [4.125, 14, -5], + "mirror": true, + "cubes": [ + {"origin": [2, 0, -7], "size": [4.25, 16, 4], "uv": [16, 49], "mirror": false}, + {"origin": [3.75, 0, -6.85], "size": [2.25, 16, 3], "uv": [75, 69], "mirror": false} + ] + }, + { + "name": "leg3", + "pivot": [-4, 16, -6], + "mirror": true, + "cubes": [ + {"origin": [-6.25, 0, -7], "size": [4.25, 16, 4], "uv": [0, 46], "mirror": false} + ] + } + ] + } + ] } ``` `RP/animations/skele_yaklin.animations.json` -``` +```jsonc { - "format_version": "1.8.0", - "animations": { - "animation.skele_yaklin.walk": { - "animation_length": 1, - "bones": { - "tail": { - "rotation": [15, 0, 0] - }, - "head": { - "rotation": [-10, 0, 0] - }, - "leg0": { - "rotation": { - "0.0": [-20, 0, 0], - "0.5": [25, 0, 0], - "1.0": [-20, 0, 0] - } - }, - "leg1": { - "rotation": { - "0.0": [35, 0, 0], - "0.5": [-30, 0, 0], - "1.0": [35, 0, 0] - } - }, - "leg2": { - "rotation": { - "0.0": [-40, 0, 0], - "0.5": [25, 0, 0], - "1.0": [-40, 0, 0] - } - }, - "leg3": { - "rotation": { - "0.0": [30, 0, 0], - "0.5": [-55, 0, 0], - "1.0": [30, 0, 0] - } - } - } - } + "format_version": "1.8.0", + "animations": { + "animation.skele_yaklin.walk": { + "animation_length": 1, + "bones": { + "tail": { + "rotation": [15, 0, 0] + }, + "head": { + "rotation": [-10, 0, 0] + }, + "leg0": { + "rotation": { + "0.0": [-20, 0, 0], + "0.5": [25, 0, 0], + "1.0": [-20, 0, 0] + } + }, + "leg1": { + "rotation": { + "0.0": [35, 0, 0], + "0.5": [-30, 0, 0], + "1.0": [35, 0, 0] + } + }, + "leg2": { + "rotation": { + "0.0": [-40, 0, 0], + "0.5": [25, 0, 0], + "1.0": [-40, 0, 0] + } + }, + "leg3": { + "rotation": { + "0.0": [30, 0, 0], + "0.5": [-55, 0, 0], + "1.0": [30, 0, 0] + } } + } + } + } } ```