diff --git a/README.md b/README.md new file mode 100644 index 0000000..b170f0b --- /dev/null +++ b/README.md @@ -0,0 +1,5 @@ +# About +This repository contains resources needed to complete the tutorials from the [Regolith Documentation](regolith-docs.readthedocs.io/en/). The resources are organized by tutorial. They can be downloaded from the release pages of this repository. + +## Contents +- `getting-started` - Contains the fully finished code for the Getting Started tutorial. diff --git a/getting-started/.gitignore b/getting-started/.gitignore new file mode 100644 index 0000000..3f195ca --- /dev/null +++ b/getting-started/.gitignore @@ -0,0 +1,2 @@ +/build +/.regolith \ No newline at end of file diff --git a/getting-started/README.md b/getting-started/README.md new file mode 100644 index 0000000..595577c --- /dev/null +++ b/getting-started/README.md @@ -0,0 +1 @@ +This is the product of finishing the Getting Started tutorial from the [Regolit Documentation](regolith-docs.readthedocs.io/en/). diff --git a/getting-started/config.json b/getting-started/config.json new file mode 100644 index 0000000..ba5bb7b --- /dev/null +++ b/getting-started/config.json @@ -0,0 +1,33 @@ +{ + "$schema": "https://raw.githubusercontent.com/Bedrock-OSS/regolith-schemas/main/config/v1.4.json", + "author": "Bedrock-OSS", + "name": "regolith-getting-started", + "packs": { + "behaviorPack": "./packs/BP", + "resourcePack": "./packs/RP" + }, + "regolith": { + "dataPath": "./packs/data", + "filterDefinitions": { + "texture_list": { + "url": "github.com/Bedrock-OSS/regolith-filters", + "version": "1.1.3" + } + }, + "formatVersion": "1.4.0", + "profiles": { + "default": { + "export": { + "build": "standard", + "readOnly": false, + "target": "development" + }, + "filters": [ + { + "filter": "texture_list" + } + ] + } + } + } +} diff --git a/getting-started/packs/BP/entities/frog_statue.behavior.json b/getting-started/packs/BP/entities/frog_statue.behavior.json new file mode 100644 index 0000000..4a5f044 --- /dev/null +++ b/getting-started/packs/BP/entities/frog_statue.behavior.json @@ -0,0 +1,24 @@ +{ + "format_version": "1.20.80", + "minecraft:entity": { + "description": { + "identifier": "bedrockoss:frog_statue", + "is_spawnable": true, + "is_summonable": true + }, + "components": { + "minecraft:health": { + "value": 1, + "max": 1 + }, + "minecraft:collision_box": { + "height": 1, + "width": 1 + }, + "minecraft:type_family": { + "family": ["inanimate"] + }, + "minecraft:physics": {} + } + } +} diff --git a/getting-started/packs/BP/manifest.json b/getting-started/packs/BP/manifest.json new file mode 100644 index 0000000..b8295f1 --- /dev/null +++ b/getting-started/packs/BP/manifest.json @@ -0,0 +1,27 @@ +{ + "format_version": 2, + "header": { + "description": "pack.description", + "name": "pack.name", + "uuid": "3356ff0d-f4f3-4c6d-9838-dc53eb576cdf", + "pack_scope": "world", + "version": [1, 0, 0], + "min_engine_version": [1, 21, 30] + }, + "modules": [ + { + "type": "data", + "uuid": "fdc75f28-7eaf-4e5c-9781-e3a201aea4a2", + "version": [1, 0, 0] + } + ], + "dependencies": [ + { + "uuid": "001e5085-2f93-4c41-94a0-f74b9e577d89", + "version": [1, 0, 0] + } + ], + "metadata": { + "product_type": "addon" + } +} diff --git a/getting-started/packs/BP/pack_icon.png b/getting-started/packs/BP/pack_icon.png new file mode 100644 index 0000000..e54bb8b Binary files /dev/null and b/getting-started/packs/BP/pack_icon.png differ diff --git a/getting-started/packs/BP/texts/en_US.lang b/getting-started/packs/BP/texts/en_US.lang new file mode 100644 index 0000000..b516ff1 --- /dev/null +++ b/getting-started/packs/BP/texts/en_US.lang @@ -0,0 +1,2 @@ +pack.name=Regolith Getting Started +pack.description=The "Getting Started" tutorial from Regolith documentation. \ No newline at end of file diff --git a/getting-started/packs/BP/texts/languages.json b/getting-started/packs/BP/texts/languages.json new file mode 100644 index 0000000..818bf4c --- /dev/null +++ b/getting-started/packs/BP/texts/languages.json @@ -0,0 +1,3 @@ +[ + "en_US" +] diff --git a/getting-started/packs/RP/entity/frog_statue.entity.json b/getting-started/packs/RP/entity/frog_statue.entity.json new file mode 100644 index 0000000..058d44e --- /dev/null +++ b/getting-started/packs/RP/entity/frog_statue.entity.json @@ -0,0 +1,22 @@ +{ + "format_version": "1.10.0", + "minecraft:client_entity": { + "description": { + "identifier": "bedrockoss:frog_statue", + "materials": { + "default": "entity_alphatest" + }, + "textures": { + "default": "textures/entity/frog_statue" + }, + "geometry": { + "default": "geometry.frog" + }, + "render_controllers": ["controller.render.default"], + "spawn_egg": { + "base_color": "#757575", + "overlay_color": "#303030" + } + } + } +} diff --git a/getting-started/packs/RP/manifest.json b/getting-started/packs/RP/manifest.json new file mode 100644 index 0000000..e25619f --- /dev/null +++ b/getting-started/packs/RP/manifest.json @@ -0,0 +1,27 @@ +{ + "format_version": 2, + "header": { + "description": "pack.description", + "name": "pack.name", + "uuid": "001e5085-2f93-4c41-94a0-f74b9e577d89", + "pack_scope": "world", + "version": [1, 0, 0], + "min_engine_version": [1, 21, 30] + }, + "modules": [ + { + "type": "resources", + "uuid": "356be28b-df26-4c6e-91e4-5b5e0e5a8a61", + "version": [1, 0, 0] + } + ], + "dependencies": [ + { + "uuid": "3356ff0d-f4f3-4c6d-9838-dc53eb576cdf", + "version": [1, 0, 0] + } + ], + "metadata": { + "product_type": "addon" + } +} diff --git a/getting-started/packs/RP/pack_icon.png b/getting-started/packs/RP/pack_icon.png new file mode 100644 index 0000000..e54bb8b Binary files /dev/null and b/getting-started/packs/RP/pack_icon.png differ diff --git a/getting-started/packs/RP/texts/en_US.lang b/getting-started/packs/RP/texts/en_US.lang new file mode 100644 index 0000000..b516ff1 --- /dev/null +++ b/getting-started/packs/RP/texts/en_US.lang @@ -0,0 +1,2 @@ +pack.name=Regolith Getting Started +pack.description=The "Getting Started" tutorial from Regolith documentation. \ No newline at end of file diff --git a/getting-started/packs/RP/texts/languages.json b/getting-started/packs/RP/texts/languages.json new file mode 100644 index 0000000..818bf4c --- /dev/null +++ b/getting-started/packs/RP/texts/languages.json @@ -0,0 +1,3 @@ +[ + "en_US" +] diff --git a/getting-started/packs/RP/textures/entity/frog_statue.png b/getting-started/packs/RP/textures/entity/frog_statue.png new file mode 100644 index 0000000..edb8213 Binary files /dev/null and b/getting-started/packs/RP/textures/entity/frog_statue.png differ