diff --git a/README.md b/README.md index 98c88b5..a3f6a3f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ AstraPlus экспортирует сюда свой набор при вклю исполняемых классов AstraContent, AstraCauldron и AstraSpears. Их JAR оставлены пустыми совместимыми маркерами для существующих сборок. -Исходные декларации находятся в `src/starter`: 288 объектов, 141 модель +Исходные декларации находятся в `src/starter`: 290 объектов, 142 модели Blockbench и исходные текстуры объединяются с ресурсами AstraContent при сборке AstraPlus. Пять наборов правил описаны в `manifest.json`. Конкретные значения хранятся в JSON, общие исполнители — в AstraPlus. diff --git a/src/starter/files/astraplus/contents/astraplus/items/glider.json b/src/starter/files/astraplus/contents/astraplus/items/glider.json new file mode 100644 index 0000000..a42e6d1 --- /dev/null +++ b/src/starter/files/astraplus/contents/astraplus/items/glider.json @@ -0,0 +1,101 @@ +{ + "name": "Планер", + "material": "minecraft:crossbow", + "model": "astraplus:item/glider", + "iconTexture": "astraplus:item/glider", + "components": { + "minecraft:max_stack_size": 1, + "minecraft:max_damage": 100, + "minecraft:charged_projectiles": [ + { "id": "minecraft:arrow" } + ], + "minecraft:tooltip_display": { + "hide_tooltip": false, + "hidden_components": ["minecraft:charged_projectiles"] + } + }, + "display": { + "ground": { + "rotation": [0, 0, 0], + "translation": [-3, -2, -4], + "scale": [0.35, 0.35, 0.35] + }, + "fixed": { + "rotation": [90, 0, 0], + "translation": [-3, -3, -4], + "scale": [0.35, 0.35, 0.35] + }, + "head": { + "rotation": [0, 0, 0], + "translation": [-3, 2, -4], + "scale": [0.45, 0.45, 0.45] + }, + "on_shelf": { + "rotation": [20, 0, 0], + "translation": [-3, -2, -4], + "scale": [0.35, 0.35, 0.35] + }, + "thirdperson_righthand": { + "rotation": [67.75, 0, 0], + "translation": [-6, 3.25, 23], + "scale": [1, 1, 1] + }, + "thirdperson_lefthand": { + "rotation": [67.75, 180, 0], + "translation": [6, 3.25, 23], + "scale": [1, 1, 1] + }, + "firstperson_righthand": { + "rotation": [67.75, 0, 0], + "translation": [-3, -1, 8], + "scale": [0.45, 0.45, 0.45] + }, + "firstperson_lefthand": { + "rotation": [67.75, 180, 0], + "translation": [3, -1, 8], + "scale": [0.45, 0.45, 0.45] + } + }, + "logic": { + "version": 1, + "nodes": [ + { "id": "flight_tick", "type": "event:owner_tick", "inputs": { "itemScope": "either_hand", "interval": 1 }, "x": 40, "y": 40 }, + { "id": "vertical_speed", "type": "context:number", "inputs": { "path": "actor.velocity_y" }, "x": 40, "y": 240 }, + { "id": "descending", "type": "compare:lt", "inputs": { "b": 0 }, "x": 360, "y": 240 }, + { "id": "airborne", "type": "context:boolean", "inputs": { "path": "actor.airborne" }, "x": 360, "y": 420 }, + { "id": "can_glide", "type": "boolean:and", "inputs": {}, "x": 680, "y": 240 }, + { "id": "flight_gate", "type": "flow:branch", "inputs": {}, "x": 1000, "y": 40 }, + { "id": "owner", "type": "context:entity", "inputs": { "path": "actor.entity" }, "x": 1000, "y": 420 }, + { "id": "smooth_descent", "type": "action:approach_velocity", "inputs": { "x": 0, "y": -0.22, "z": 0, "blendX": 0, "blendY": 0.35, "blendZ": 0 }, "x": 1320, "y": 40 }, + { "id": "safe_landing", "type": "action:reset_fall_distance", "inputs": {}, "x": 1640, "y": 40 }, + + { "id": "wear_tick", "type": "event:owner_tick", "inputs": { "itemScope": "either_hand", "interval": 20 }, "x": 40, "y": 650 }, + { "id": "wear_gate", "type": "flow:branch", "inputs": {}, "x": 1000, "y": 650 }, + { "id": "wear", "type": "action:item_damage", "inputs": { "slot": -1, "amount": 1 }, "x": 1320, "y": 650 }, + + { "id": "use_air", "type": "event:use_in_air", "inputs": { "itemScope": "either_hand" }, "x": 40, "y": 900 }, + { "id": "use_block", "type": "event:use_on_block", "inputs": { "itemScope": "either_hand" }, "x": 40, "y": 1080 }, + { "id": "use_entity", "type": "event:use_entity", "inputs": { "itemScope": "either_hand" }, "x": 40, "y": 1260 }, + { "id": "cancel_crossbow", "type": "action:cancel", "inputs": {}, "x": 360, "y": 1080 } + ], + "edges": [ + { "from": { "node": "flight_tick", "port": "next" }, "to": { "node": "flight_gate", "port": "in" } }, + { "from": { "node": "vertical_speed", "port": "value" }, "to": { "node": "descending", "port": "a" } }, + { "from": { "node": "descending", "port": "value" }, "to": { "node": "can_glide", "port": "a" } }, + { "from": { "node": "airborne", "port": "value" }, "to": { "node": "can_glide", "port": "b" } }, + { "from": { "node": "can_glide", "port": "value" }, "to": { "node": "flight_gate", "port": "condition" } }, + { "from": { "node": "flight_gate", "port": "true" }, "to": { "node": "smooth_descent", "port": "in" } }, + { "from": { "node": "owner", "port": "value" }, "to": { "node": "smooth_descent", "port": "entity" } }, + { "from": { "node": "smooth_descent", "port": "next" }, "to": { "node": "safe_landing", "port": "in" } }, + { "from": { "node": "owner", "port": "value" }, "to": { "node": "safe_landing", "port": "entity" } }, + + { "from": { "node": "wear_tick", "port": "next" }, "to": { "node": "wear_gate", "port": "in" } }, + { "from": { "node": "can_glide", "port": "value" }, "to": { "node": "wear_gate", "port": "condition" } }, + { "from": { "node": "wear_gate", "port": "true" }, "to": { "node": "wear", "port": "in" } }, + + { "from": { "node": "use_air", "port": "next" }, "to": { "node": "cancel_crossbow", "port": "in" } }, + { "from": { "node": "use_block", "port": "next" }, "to": { "node": "cancel_crossbow", "port": "in" } }, + { "from": { "node": "use_entity", "port": "next" }, "to": { "node": "cancel_crossbow", "port": "in" } } + ] + } +} diff --git a/src/starter/files/astraplus/contents/astraplus/recipes/glider.json b/src/starter/files/astraplus/contents/astraplus/recipes/glider.json new file mode 100644 index 0000000..d4d7d54 --- /dev/null +++ b/src/starter/files/astraplus/contents/astraplus/recipes/glider.json @@ -0,0 +1,20 @@ +{ + "station": "crafting", + "name": "Планер", + "inputs": [ + { "id": "" }, + { "id": "minecraft:phantom_membrane" }, + { "id": "" }, + { "id": "minecraft:stick" }, + { "id": "minecraft:phantom_membrane" }, + { "id": "minecraft:stick" }, + { "id": "minecraft:phantom_membrane" }, + { "id": "minecraft:leather" }, + { "id": "minecraft:phantom_membrane" } + ], + "shapeless": false, + "result": { + "id": "astraplus:glider", + "count": 1 + } +} diff --git a/src/starter/files/astraplus/models/astraplus/item/glider.bbmodel b/src/starter/files/astraplus/models/astraplus/item/glider.bbmodel new file mode 100644 index 0000000..c8ce19c --- /dev/null +++ b/src/starter/files/astraplus/models/astraplus/item/glider.bbmodel @@ -0,0 +1,920 @@ +{ + "meta": { + "format_version": "5.0", + "model_format": "java_block", + "box_uv": false + }, + "name": "plane", + "parent": "", + "java_block_version": "26.3", + "ambientocclusion": true, + "front_gui_light": false, + "visible_box": [ + 1, + 1, + 0 + ], + "variable_placeholders": "", + "multi_file_ruleset": "", + "variable_placeholder_buttons": [], + "unhandled_root_fields": {}, + "resolution": { + "width": 32, + "height": 32 + }, + "elements": [ + { + "name": "plane_left_1", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + -2, + 16, + 0 + ], + "to": [ + 8, + 16, + 14 + ], + "autouv": 0, + "color": 9, + "rotation": [ + 0, + 0, + 7.5 + ], + "origin": [ + 8, + 16, + 8 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 0 + }, + "east": { + "uv": [ + 0, + 0, + 14, + 0 + ], + "texture": 0 + }, + "south": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 0 + }, + "west": { + "uv": [ + 0, + 0, + 14, + 0 + ], + "texture": 0 + }, + "up": { + "uv": [ + 0, + 0, + 10, + 14 + ], + "texture": 0 + }, + "down": { + "uv": [ + 10, + 0, + 20, + 14 + ], + "texture": 0 + } + }, + "type": "cube", + "uuid": "b27bae37-d856-16b9-3ac9-bc5c1cfa3a96" + }, + { + "name": "plane_right_1", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + 8, + 16, + 0 + ], + "to": [ + 18, + 16, + 14 + ], + "autouv": 0, + "color": 9, + "rotation": [ + 0, + 0, + -7.5 + ], + "origin": [ + 8, + 16, + 8 + ], + "faces": { + "north": { + "uv": [ + 1, + 1, + 11, + 1 + ] + }, + "east": { + "uv": [ + 0, + 1, + 14, + 1 + ] + }, + "south": { + "uv": [ + 0, + 1, + 10, + 1 + ] + }, + "west": { + "uv": [ + 0, + 1, + 14, + 1 + ] + }, + "up": { + "uv": [ + 10, + 0, + 0, + 14 + ], + "texture": 0 + }, + "down": { + "uv": [ + 20, + 0, + 10, + 14 + ], + "texture": 0 + } + }, + "type": "cube", + "uuid": "2c947009-5084-7a35-6b4f-0c2afe0c056c" + }, + { + "name": "plane_left_2", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + -11.9, + 14.7, + 3 + ], + "to": [ + -1.9, + 14.7, + 13 + ], + "autouv": 0, + "color": 0, + "rotation": [ + 0, + 0, + 17.5 + ], + "origin": [ + -1.9, + 14.7, + 8 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 1 + }, + "east": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 1 + }, + "south": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 1 + }, + "west": { + "uv": [ + 0, + 0, + 10, + 0 + ], + "texture": 1 + }, + "up": { + "uv": [ + 0, + 0, + 10, + 10 + ], + "texture": 1 + }, + "down": { + "uv": [ + 0, + 10, + 10, + 20 + ], + "texture": 1 + } + }, + "type": "cube", + "uuid": "15c3846a-3537-49a1-56f5-c2d1eaf8da17" + }, + { + "name": "plane_right_2", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + 17.9, + 14.7, + 3 + ], + "to": [ + 27.9, + 14.7, + 13 + ], + "autouv": 0, + "color": 0, + "rotation": [ + 0, + 0, + -17.5 + ], + "origin": [ + 17.9, + 14.7, + 8 + ], + "faces": { + "north": { + "uv": [ + 1, + 1, + 11, + 1 + ] + }, + "east": { + "uv": [ + 0, + 1, + 10, + 1 + ] + }, + "south": { + "uv": [ + 0, + 1, + 10, + 1 + ] + }, + "west": { + "uv": [ + 0, + 1, + 10, + 1 + ] + }, + "up": { + "uv": [ + 10, + 0, + 0, + 10 + ], + "texture": 1 + }, + "down": { + "uv": [ + 10, + 10, + 0, + 20 + ], + "texture": 1 + } + }, + "type": "cube", + "uuid": "09cb2ea3-1eff-f7e9-5c46-61493e2c8a57" + }, + { + "name": "tail_2", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + 8, + 16, + 14 + ], + "to": [ + 15, + 16, + 32 + ], + "autouv": 0, + "color": 8, + "rotation": [ + 0, + 0, + -7.5 + ], + "origin": [ + 8, + 16, + 19 + ], + "faces": { + "north": { + "uv": [ + 4, + 1, + 11, + 1 + ] + }, + "east": { + "uv": [ + 0, + 1, + 16, + 1 + ] + }, + "south": { + "uv": [ + 0, + 1, + 7, + 1 + ] + }, + "west": { + "uv": [ + 0, + 1, + 16, + 1 + ] + }, + "up": { + "uv": [ + 7, + 0, + 0, + 18 + ], + "texture": 2 + }, + "down": { + "uv": [ + 14, + 0, + 7, + 18 + ], + "texture": 2 + } + }, + "type": "cube", + "uuid": "9ec352cc-f2e2-0920-5e01-03d20c296a06" + }, + { + "name": "tail_1", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + 1, + 16, + 14 + ], + "to": [ + 8, + 16, + 32 + ], + "autouv": 0, + "color": 8, + "rotation": [ + 0, + 0, + 7.5 + ], + "origin": [ + 8, + 16, + 19 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 7, + 0 + ], + "texture": 2 + }, + "east": { + "uv": [ + 0, + 0, + 18, + 0 + ], + "texture": 2 + }, + "south": { + "uv": [ + 0, + 0, + 7, + 0 + ], + "texture": 2 + }, + "west": { + "uv": [ + 0, + 0, + 18, + 0 + ], + "texture": 2 + }, + "up": { + "uv": [ + 0, + 0, + 7, + 18 + ], + "texture": 2 + }, + "down": { + "uv": [ + 7, + 0, + 14, + 18 + ], + "texture": 2 + } + }, + "type": "cube", + "uuid": "143535fe-6716-5f23-bc26-482919ca9f01" + }, + { + "name": "hand_1", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + -1.7936, + 4.83468, + 0 + ], + "to": [ + -1.7936, + 14.83468, + 14 + ], + "autouv": 0, + "color": 2, + "rotation": [ + 0, + 0, + 7.5 + ], + "origin": [ + -0.7936, + 13.83468, + 4 + ], + "faces": { + "north": { + "uv": [ + 0, + 0, + 0, + 10 + ], + "texture": 3 + }, + "east": { + "uv": [ + 0, + 0, + 14, + 10 + ], + "texture": 3 + }, + "south": { + "uv": [ + 0, + 0, + 0, + 10 + ], + "texture": 3 + }, + "west": { + "uv": [ + 0, + 10, + 14, + 20 + ], + "texture": 3 + }, + "up": { + "uv": [ + 0, + 0, + 0, + 14 + ], + "texture": 3 + }, + "down": { + "uv": [ + 0, + 0, + 0, + 14 + ], + "texture": 3 + } + }, + "type": "cube", + "uuid": "0a5e6154-abad-aba5-becd-eadac5a686bb" + }, + { + "name": "hand_2", + "box_uv": false, + "render_order": "default", + "rescale": false, + "locked": false, + "shade_direction_override": "", + "light_emission": 0, + "export": true, + "scope": 0, + "allow_mirror_modeling": true, + "from": [ + 17.79261, + 4.83481, + 0 + ], + "to": [ + 17.79261, + 14.83481, + 14 + ], + "autouv": 0, + "color": 2, + "rotation": [ + 0, + 0, + -7.5 + ], + "origin": [ + 16.79261, + 13.83481, + 4 + ], + "faces": { + "north": { + "uv": [ + 2, + 0, + 2, + 10 + ] + }, + "east": { + "uv": [ + 14, + 10, + 0, + 20 + ], + "texture": 3 + }, + "south": { + "uv": [ + 0, + 0, + 0, + 10 + ] + }, + "west": { + "uv": [ + 14, + 0, + 0, + 10 + ], + "texture": 3 + }, + "up": { + "uv": [ + 0, + 0, + 0, + 14 + ] + }, + "down": { + "uv": [ + 0, + 0, + 0, + 14 + ] + } + }, + "type": "cube", + "uuid": "96c63d57-3035-c0bf-6f93-291d5cecf350" + } + ], + "groups": [], + "outliner": [ + { + "name": "glider", + "origin": [ + 8, + 8, + 8 + ], + "rotation": [ + 0, + 0, + 0 + ], + "visibility": true, + "export": true, + "uuid": "a89d1b2b-48a0-4fa2-93f0-53d4803be72e", + "children": [ + "b27bae37-d856-16b9-3ac9-bc5c1cfa3a96", + "15c3846a-3537-49a1-56f5-c2d1eaf8da17", + "2c947009-5084-7a35-6b4f-0c2afe0c056c", + "09cb2ea3-1eff-f7e9-5c46-61493e2c8a57", + "143535fe-6716-5f23-bc26-482919ca9f01", + "9ec352cc-f2e2-0920-5e01-03d20c296a06", + "0a5e6154-abad-aba5-becd-eadac5a686bb", + "96c63d57-3035-c0bf-6f93-291d5cecf350" + ] + } + ], + "textures": [ + { + "name": "plane_1.png", + "relative_path": "plane_1.png", + "folder": "", + "namespace": "", + "id": "0", + "group": "", + "scope": 0, + "width": 32, + "height": 32, + "uv_width": 32, + "uv_height": 32, + "particle": true, + "use_as_default": false, + "layers_enabled": false, + "sync_to_project": "", + "file_format": "png", + "render_mode": "default", + "render_sides": "auto", + "wrap_mode": "limited", + "pbr_channel": "color", + "fps": 7, + "frame_time": 1, + "frame_order_type": "loop", + "frame_order": "", + "frame_interpolate": false, + "visible": true, + "internal": true, + "saved": true, + "uuid": "2de249d7-17a1-f24c-ffe4-9fc5ab1a6452", + "source": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACu0lEQVR4AexWTUhUURT+5uVq8I32K86UIhGUQ9gihAwSiiCrRRZlRFQm1aIoCBkYpCJIBicJWrSJIoghokVFRIHlkEFGEpQMI0VYaMxERWkms6nmdb/D3MdEar5ZtJB3mO/dd+85537nnnPuYwxMIesao9aW5piAZpVL6i2OXD+5v826djps49Gldoug3gkmDWB5/Q7raUsburY14/to2t6T6y0rRrC0Mgt/oNiGbeDwRQIIH91nERc6wxZPSXCfxWcbsepyO8bHvoDEPn8ZvEVVVAmxvKhHOjWOeG9GoKaOfgaJ+95Xg3iQDCJ0qA7R0AaMpT8KGcmP7yyVTRfMWYljawybnKQkfzVkYG2dF03by8XOycOIJ8vE3iz148NwAlfvZ3Hx3iwJgsSdoWr4K/wSDFNPMhITJGUZOM4PlKAQMYp9c2HmyKFEzxnEueujaI0OID2cBtdJTjINkmoo14J+0gM8Ob1JYqpgoMRUI+fIyYlNPyTNmpBjToXPqW/o70sJ9Np0R8NURFBCMlO9s+PXB5MgDm78BZaBJSAhgTzRpOyDmtoAiDz1tF4NfXpaLzMfYuvqEdx8Mlugy0AdoU+qRxJqUF8IpAQ8fe2iAbAheRNMlQkCOWEP8LT6pMwEiRlIPnLmjgYJgB4kz/x8Jx8dXQZdgpeJ15JeTcpgiL0dXdBgcFzjXk5g3wI68Z5/+vrcLgNvwZnYCyysKEew4YiHBCQMx3pB0IcfJyISH8T5x1kuOYLRfSvk0X1A8s01XugysDTeoirMK/HJprtORTxDb3r+ABW0IWjPuRPYJXjW3eGh493+DAbf3pFSsCH3NNgmVP+FRM8N8SO5qXoHDkV21+TcTIOZOdwa8RBNB8JCMtne9Kf97Su7p7SbyF8CmEjxv9bcANwMuBlwM+BmwM2Am4GZn4F//a/4DQAA//8wMaOqAAAABklEQVQDADlGRlCCHpRAAAAAAElFTkSuQmCC" + }, + { + "name": "plane_2.png", + "relative_path": "plane_2.png", + "folder": "", + "namespace": "", + "id": "1", + "group": "", + "scope": 0, + "width": 32, + "height": 32, + "uv_width": 32, + "uv_height": 32, + "particle": false, + "use_as_default": false, + "layers_enabled": false, + "sync_to_project": "", + "file_format": "png", + "render_mode": "default", + "render_sides": "auto", + "wrap_mode": "limited", + "pbr_channel": "color", + "fps": 7, + "frame_time": 1, + "frame_order_type": "loop", + "frame_order": "", + "frame_interpolate": false, + "visible": true, + "internal": true, + "saved": true, + "uuid": "28dd7109-1b7c-85bc-dc5f-d39530198f7e", + "source": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAACBklEQVR4AexWTShEURQ+77KSGf//DBZWspOUhZWF7Cz8Leys7CRloaQkQlJKlGI1UmxEFmxE2Els1SRDEYbGgoz7Hc700itT7t1obvPdc889733fuefd7h1F321ucjC2ujjG2N9Zjgkwh9j3Y8aNAjmwsv1B08FHWthKoeH5W5oKplD/xAXPGVd1EaqrUJggnu7PIcCXWUwA6VYUqKG+jkyOa9fKjz+BWzgcOqPnx2sWE8uOpU7tnRfEVwxxSUb07p4ihEqIb9pyBUDqtdrWhgcuv1cM75iAwop/EkGwqfqcxb3iP5//i88VgOBL5J6Od8ed3Y0BB4TYnLAAYrA2oEAuoiIgvjshiZm2XAEvUmxOr3nTc+omdMScYtnRndt3j3XI6C9ega7mSqPEiZIpf3EBlVc1xtwvwJd5GbvjJsdcAYiBFGI1jW0x8WELA/UIWYNKS/0q/eZplPAZxBcbfb8kGdvIgg8iEcDO725WLIgDCPP52bU03um3oc2cqq7sgm9BCPGM7iCuDd8BQy1vGFoD7wGfvoJJNwivH2QR7gDtUsXrCQzllWSwtdGp0kAR4dz36SRwKgK5Gf74Dbl3GCWbTfX2jzkAksCfDwCCsvpI9JlW18KYsgL+BGBGEu09g45gJjjrCEaWRvmCwnOmEU/ANHGifMkEkhVIViBZgf9fgd9OxE8AAAD//xhXzU8AAAAGSURBVAMA7me9QZ3qITMAAAAASUVORK5CYII=" + }, + { + "name": "tail_1.png", + "relative_path": "tail_1.png", + "folder": "", + "namespace": "", + "id": "2", + "group": "", + "scope": 0, + "width": 32, + "height": 32, + "uv_width": 32, + "uv_height": 32, + "particle": false, + "use_as_default": false, + "layers_enabled": false, + "sync_to_project": "", + "file_format": "png", + "render_mode": "default", + "render_sides": "auto", + "wrap_mode": "limited", + "pbr_channel": "color", + "fps": 7, + "frame_time": 1, + "frame_order_type": "loop", + "frame_order": "", + "frame_interpolate": false, + "visible": true, + "internal": true, + "saved": true, + "uuid": "6fef92ed-8d17-98ea-c02a-5afc27be6118", + "source": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABxklEQVR4AexVXSgEURQ+sym1bUtL1i47G+UnNVklaV9WlFJepBQJD569b5QSbSQPSnmSB0VeeaW8KD8liaQ82D+S303yZOw3Ndvsz91pZpt90Exz5sw9373n++65M/daKHkJgSGxZ2BJDE5NSB7tteWgmIRy3uiXE9ARlARcHe1yX4lXOo20EDzyRMOPcIabJEBmeX47p7E+C82MtpFPaJLDhvqUgJODRa6/1Urre/e0fewhN+82lFhOnhKAwOG1k6oc7TTsj6DJtFrexcS0AmkCUIUOzw3Nb11ozaO7f5oAZNm//IajeDgueaMfWQLwR1hL6vLyVpbZ8+JawCwBGIylgC+G5RQA4pfPBJzhxhTAYvY2BMSVnQ8WrDmuSQDIq/lOGvf9aCZiDdAkAOQ2ewXdxZjHBIuHGWcKUJ4FmDkOKBcvkFAapcYajplQK8AUoExkdzsJv2av40wiL7dblXBB76oCMHtsz1h3EMMKYswYrCoAsx+sj5FMfPtgIVhGHt1NVQEo/dO7TSIFcbP3l7r9RViC0Oqm9KVhV5zbWOBkG5kNcV2T0xKme9qKgaoVUPQ15NUUYFbArIBZAbMC/78CagfIHwAAAP//MxvQbAAAAAZJREFUAwB3r2xBWj28uwAAAABJRU5ErkJggg==" + }, + { + "name": "hand_1.png", + "relative_path": "hand_1.png", + "folder": "", + "namespace": "", + "id": "3", + "group": "", + "scope": 0, + "width": 32, + "height": 32, + "uv_width": 32, + "uv_height": 32, + "particle": false, + "use_as_default": false, + "layers_enabled": false, + "sync_to_project": "", + "file_format": "png", + "render_mode": "default", + "render_sides": "auto", + "wrap_mode": "limited", + "pbr_channel": "color", + "fps": 7, + "frame_time": 1, + "frame_order_type": "loop", + "frame_order": "", + "frame_interpolate": false, + "visible": true, + "internal": true, + "saved": true, + "uuid": "89e16562-f691-fa7a-809f-6c223f46ea91", + "source": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABTElEQVR4AeyUvwrCMBCHrWIdxDcTxNHNyWdw0UEXn8HJzVEE30wcbNHabyjkSC40bbNIhcP0/v2+JtcMB8Zvu5oXxqNY+mIiMfBBAExnY7U8nYzUWJuAAMizr9prnIpUNS80ILpm749a74NTi2oEBAD5x83SmoP9elH44KhragLgdH0krjdFnFhTEV+dANASYw0gehYAb0vAtFgDiIYFgNOcA9avZ447ilkAnDWCCDN8rPFFUS+bCgAES98Awd35lhwu94Q1virGuksTAL6z9sXaAAkA1yfYpnmdWgHg+gKqJrHgBABiDB//puHzwZm5oWsBwMBpb0ostHmdfAGgFWhQWn6I3wJwbbXLFyLiy7UASObM+cfMNc9dmwXAWXP7cfEgzvbj61q46mcBEECQW7C6DfHFMidALDFX3x6g34F+B/od+P8dcN1+pu8HAAD//w/X+bMAAAAGSURBVAMAIoR8Qdg0+HsAAAAASUVORK5CYII=" + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [ + 67.75, + 0, + 0 + ], + "translation": [ + -6, + 3.25, + 23 + ] + } + } +} diff --git a/src/starter/files/astraplus/resources/assets/astraplus/models/item/glider.json b/src/starter/files/astraplus/resources/assets/astraplus/models/item/glider.json new file mode 100644 index 0000000..db2ca8f --- /dev/null +++ b/src/starter/files/astraplus/resources/assets/astraplus/models/item/glider.json @@ -0,0 +1,132 @@ +{ + "format_version": "26.2", + "credit": "Made with Blockbench", + "texture_size": [32, 32], + "textures": { + "0": "astraplus:item/glider/plane_1", + "1": "astraplus:item/glider/plane_2", + "2": "astraplus:item/glider/tail_1", + "3": "astraplus:item/glider/hand_1", + "particle": "astraplus:item/glider/plane_1" + }, + "elements": [ + { + "name": "plane_left_1", + "from": [-2, 16, 0], + "to": [8, 16, 14], + "rotation": {"angle": 7.5, "axis": "z", "origin": [8, 16, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0], "texture": "#0"}, + "east": {"uv": [0, 0, 7, 0], "texture": "#0"}, + "south": {"uv": [0, 0, 5, 0], "texture": "#0"}, + "west": {"uv": [0, 0, 7, 0], "texture": "#0"}, + "up": {"uv": [0, 0, 5, 7], "texture": "#0"}, + "down": {"uv": [5, 0, 10, 7], "texture": "#0"} + } + }, + { + "name": "plane_left_2", + "from": [-11.9, 14.7, 3], + "to": [-1.9, 14.7, 13], + "rotation": {"angle": 17.5, "axis": "z", "origin": [-1.9, 14.7, 8]}, + "faces": { + "north": {"uv": [0, 0, 5, 0], "texture": "#1"}, + "east": {"uv": [0, 0, 5, 0], "texture": "#1"}, + "south": {"uv": [0, 0, 5, 0], "texture": "#1"}, + "west": {"uv": [0, 0, 5, 0], "texture": "#1"}, + "up": {"uv": [0, 0, 5, 5], "texture": "#1"}, + "down": {"uv": [0, 5, 5, 10], "texture": "#1"} + } + }, + { + "name": "plane_right_1", + "from": [8, 16, 0], + "to": [18, 16, 14], + "rotation": {"angle": -7.5, "axis": "z", "origin": [8, 16, 8]}, + "faces": { + "north": {"uv": [0.5, 0.5, 5.5, 0.5], "texture": "#0"}, + "east": {"uv": [0, 0.5, 7, 0.5], "texture": "#0"}, + "south": {"uv": [0, 0.5, 5, 0.5], "texture": "#0"}, + "west": {"uv": [0, 0.5, 7, 0.5], "texture": "#0"}, + "up": {"uv": [5, 0, 0, 7], "texture": "#0"}, + "down": {"uv": [10, 0, 5, 7], "texture": "#0"} + } + }, + { + "name": "plane_right_2", + "from": [17.9, 14.7, 3], + "to": [27.9, 14.7, 13], + "rotation": {"angle": -17.5, "axis": "z", "origin": [17.9, 14.7, 8]}, + "faces": { + "north": {"uv": [0.5, 0.5, 5.5, 0.5], "texture": "#1"}, + "east": {"uv": [0, 0.5, 5, 0.5], "texture": "#1"}, + "south": {"uv": [0, 0.5, 5, 0.5], "texture": "#1"}, + "west": {"uv": [0, 0.5, 5, 0.5], "texture": "#1"}, + "up": {"uv": [5, 0, 0, 5], "texture": "#1"}, + "down": {"uv": [5, 5, 0, 10], "texture": "#1"} + } + }, + { + "name": "tail_1", + "from": [1, 16, 14], + "to": [8, 16, 32], + "rotation": {"angle": 7.5, "axis": "z", "origin": [8, 16, 19]}, + "faces": { + "north": {"uv": [0, 0, 3.5, 0], "texture": "#2"}, + "east": {"uv": [0, 0, 9, 0], "texture": "#2"}, + "south": {"uv": [0, 0, 3.5, 0], "texture": "#2"}, + "west": {"uv": [0, 0, 9, 0], "texture": "#2"}, + "up": {"uv": [0, 0, 3.5, 9], "texture": "#2"}, + "down": {"uv": [3.5, 0, 7, 9], "texture": "#2"} + } + }, + { + "name": "tail_2", + "from": [8, 16, 14], + "to": [15, 16, 32], + "rotation": {"angle": -7.5, "axis": "z", "origin": [8, 16, 19]}, + "faces": { + "north": {"uv": [2, 0.5, 5.5, 0.5], "texture": "#2"}, + "east": {"uv": [0, 0.5, 8, 0.5], "texture": "#2"}, + "south": {"uv": [0, 0.5, 3.5, 0.5], "texture": "#2"}, + "west": {"uv": [0, 0.5, 8, 0.5], "texture": "#2"}, + "up": {"uv": [3.5, 0, 0, 9], "texture": "#2"}, + "down": {"uv": [7, 0, 3.5, 9], "texture": "#2"} + } + }, + { + "name": "hand_1", + "from": [-1.7936, 4.83468, 0], + "to": [-1.7936, 14.83468, 14], + "rotation": {"angle": 7.5, "axis": "z", "origin": [-0.7936, 13.83468, 4]}, + "faces": { + "north": {"uv": [0, 0, 0, 5], "texture": "#3"}, + "east": {"uv": [0, 0, 7, 5], "texture": "#3"}, + "south": {"uv": [0, 0, 0, 5], "texture": "#3"}, + "west": {"uv": [0, 5, 7, 10], "texture": "#3"}, + "up": {"uv": [0, 0, 0, 7], "texture": "#3"}, + "down": {"uv": [0, 0, 0, 7], "texture": "#3"} + } + }, + { + "name": "hand_2", + "from": [17.79261, 4.83481, 0], + "to": [17.79261, 14.83481, 14], + "rotation": {"angle": -7.5, "axis": "z", "origin": [16.79261, 13.83481, 4]}, + "faces": { + "north": {"uv": [1, 0, 1, 5], "texture": "#3"}, + "east": {"uv": [7, 5, 0, 10], "texture": "#3"}, + "south": {"uv": [0, 0, 0, 5], "texture": "#3"}, + "west": {"uv": [7, 0, 0, 5], "texture": "#3"}, + "up": {"uv": [0, 0, 0, 7], "texture": "#3"}, + "down": {"uv": [0, 0, 0, 7], "texture": "#3"} + } + } + ], + "display": { + "thirdperson_righthand": { + "rotation": [67.75, 0, 0], + "translation": [-6, 3.25, 23] + } + } +} diff --git a/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider.png b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider.png new file mode 100644 index 0000000..8fc8cb3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider.png differ diff --git a/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/hand_1.png b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/hand_1.png new file mode 100644 index 0000000..35c0886 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/hand_1.png differ diff --git a/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_1.png b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_1.png new file mode 100644 index 0000000..3e583a4 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_1.png differ diff --git a/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_2.png b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_2.png new file mode 100644 index 0000000..918cce8 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/plane_2.png differ diff --git a/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/tail_1.png b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/tail_1.png new file mode 100644 index 0000000..3c817c3 Binary files /dev/null and b/src/starter/files/astraplus/resources/assets/astraplus/textures/item/glider/tail_1.png differ