Added bedrock autobuild

This commit is contained in:
G2-Games 2024-10-05 02:29:30 -05:00
parent 97ea672d51
commit 8a19dd0c2a
19 changed files with 17 additions and 20 deletions

View file

@ -1,18 +0,0 @@
{
"format_version": 2,
"header": {
"description": "§7The old ore textures\n§6§oCopper made by G2",
"name": "Old Ores",
"uuid": "66c6e9a8-3093-462a-9c36-dbb052165822",
"version": [2, 1, 2],
"min_engine_version": [ 1, 20, 0 ]
},
"modules": [
{
"description": "§7The old ore textures\n§6§oCopper made by G2",
"type": "resources",
"uuid": "743f6949-53be-44b6-b326-398005028819",
"version": [2, 1, 2]
}
]
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 263 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 271 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 310 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 272 B

View file

@ -1,5 +1,5 @@
#!/bin/bash
version="2.1.2"
version="2.1.3"
# Inputs:
# 1: Base layer
@ -47,6 +47,21 @@ overlay_on "../textures/stones/deepslate_top.png" "deepslate_" "_top" "coal.png"
echo "Packaging"
7z a -tzip "Old.Ores.$version-Java.zip" -w ./java/* > /dev/null
#7z a -tzip "Old.Ores.$version-Bedrock.mcpack" ../Bedrock/*
echo -e "\n---\nBuilding Bedrock"
# Create Bedrock directory structure
mkdir -p ./bedrock/textures/blocks/deepslate/
echo "Copying Bedrock metafiles"
cp "../src/manifest.json" "./bedrock/manifest.json"
cp "../src/pack_icon.png" "./bedrock/pack_icon.png"
echo "Overlaying textures"
overlay_on "../textures/stones/ore_stone.png" "" "" "coal_deepslate.png" "" "./bedrock/textures/blocks/"
overlay_on "../textures/stones/deepslate.png" "deepslate_" "" "coal.png" "_deepslate" "./bedrock/textures/blocks/deepslate/"
#overlay_on "../textures/stones/deepslate_top.png" "deepslate_" "_top" "coal.png" "_deepslate" "./java/assets/minecraft/textures/block/"
7z a -tzip "Old.Ores.$version-Bedrock.zip" -w ./bedrock/* > /dev/null
cd "$currentdir" || exit 1