Compare commits
36 commits
Author | SHA1 | Date | |
---|---|---|---|
2d10dd80a1 | |||
0e5ffbc18d | |||
37221a9d72 | |||
8695c508a8 | |||
0ac2a577d4 | |||
46f54ed5c4 | |||
2c37feeb6f | |||
20d34a9e86 | |||
8a19dd0c2a | |||
97ea672d51 | |||
0e9242f46f | |||
51c7310b05 | |||
|
d61e1b5f77 | ||
|
2dc704b20d | ||
ea4b41fef4 | |||
2e0aaed9e8 | |||
0f5280da70 | |||
ced7e64b8f | |||
1a7830a435 | |||
|
33d883f138 | ||
|
fbd3ca0f34 | ||
|
63b66e243b | ||
|
381bc7de40 | ||
|
0d334883ef | ||
|
55cf666e04 | ||
|
52739aa9a9 | ||
939e927344 | |||
|
d64b20a9c7 | ||
|
4297f7d23f | ||
|
3e73099b23 | ||
|
bb6d32fda2 | ||
|
c007f967c4 | ||
e1950c05e4 | |||
14c8843c5f | |||
|
f2f82ee262 | ||
829637407c |
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
build/
|
Before Width: | Height: | Size: 6.9 KiB |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 272 B |
Before Width: | Height: | Size: 259 B |
Before Width: | Height: | Size: 5.8 KiB |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 459 B |
Before Width: | Height: | Size: 432 B |
Before Width: | Height: | Size: 479 B |
Before Width: | Height: | Size: 5.6 KiB |
Before Width: | Height: | Size: 586 B |
Before Width: | Height: | Size: 497 B |
Before Width: | Height: | Size: 274 B |
Before Width: | Height: | Size: 263 B |
Before Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 276 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 272 B |
|
@ -1,6 +0,0 @@
|
|||
{
|
||||
"pack":{
|
||||
"pack_format":7,
|
||||
"description":"§7The old ore textures\n§6§oCopper made by G2"
|
||||
}
|
||||
}
|
Before Width: | Height: | Size: 5.6 KiB |
19
README.md
|
@ -1,9 +1,22 @@
|
|||
# Old Ores
|
||||
|
||||
## Where to download
|
||||
### Recommended
|
||||
Download latest file from the **[Releases](https://github.com/G2-Games/Old-Ores-MC/releases)**
|
||||
|
||||
### Other
|
||||
Also available for download from **[Curseforge](https://www.curseforge.com/minecraft/texture-packs/old-ores-copper/)**, **[Modrinth](https://modrinth.com/resourcepack/old-ores-copper)**, and **[Planet Minecraft](https://www.planetminecraft.com/texture-pack/old-ore-textures-pre-1-17-includes-copper/)**.
|
||||
|
||||
## What is this pack for?
|
||||
- Reverts all ores to the pre-1.17 textures
|
||||
- Also changes the deepslate variants
|
||||
The changes it makes to the game are:
|
||||
- Reverts all ore textures to pre-1.17
|
||||
- Reverts deepslate variants
|
||||
- Changes copper to a custom texture that I think fits with the old ores
|
||||
|
||||
## Texture Showcase
|
||||
<p align="center">
|
||||
<img src="https://github.com/user-attachments/assets/50587777-bb85-4442-858a-9a649f2d766e" />
|
||||
</p>
|
||||
|
||||
## Compatibility
|
||||
This pack is compatible with 1.17.x for now. It will be updated as Minecraft is updated.
|
||||
This pack is compatible with 1.17.x and up for now. It will be updated as Minecraft is updated.
|
||||
|
|
68
build.sh
Executable file
|
@ -0,0 +1,68 @@
|
|||
#!/bin/bash
|
||||
version="2.1.3"
|
||||
|
||||
# Inputs:
|
||||
# 1: Base layer
|
||||
# 2: Output Prefix
|
||||
# 3: Output Suffix
|
||||
# 4: Skip file match
|
||||
# 5: Remove from original name
|
||||
# 6: Output Folder
|
||||
overlay_on() {
|
||||
for file in ../textures/ore_overlays/*; do
|
||||
file_basename=$(basename "$file")
|
||||
|
||||
if [[ "$4" != "" ]] && [[ $file_basename == *"$4"* ]]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
file_basename=${file_basename//"$5"/}
|
||||
magick "$1" "$file" -strip -gravity center -composite PNG8:"$6/$2${file_basename%.*}_ore$3.png"
|
||||
done
|
||||
}
|
||||
|
||||
currentdir=$(pwd)
|
||||
|
||||
mkdir -p ./build/
|
||||
cd ./build/ || exit 1
|
||||
|
||||
echo -e "---\nBuilding Java"
|
||||
|
||||
# Create Java directory structure
|
||||
mkdir -p ./java/assets/minecraft/models/block/
|
||||
mkdir -p ./java/assets/minecraft/textures/block/
|
||||
|
||||
echo "Copying Java metafiles"
|
||||
cp "../src/pack.mcmeta" "./java/pack.mcmeta"
|
||||
cp "../src/pack.png" "./java/pack.png"
|
||||
|
||||
echo "Copying block models"
|
||||
cp ../src/models/* ./java/assets/minecraft/models/block/
|
||||
|
||||
echo "Overlaying textures"
|
||||
overlay_on "../textures/stones/ore_stone.png" "" "" "coal_deepslate.png" "" "./java/assets/minecraft/textures/block/"
|
||||
overlay_on "../textures/stones/deepslate.png" "deepslate_" "" "coal.png" "_deepslate" "./java/assets/minecraft/textures/block/"
|
||||
overlay_on "../textures/stones/deepslate_top.png" "deepslate_" "_top" "coal.png" "_deepslate" "./java/assets/minecraft/textures/block/"
|
||||
|
||||
echo "Packaging to \"Old.Ores.$version-Java.zip\""
|
||||
rm "Old.Ores.$version-Java.zip" 2> /dev/null
|
||||
7z a -tzip "Old.Ores.$version-Java.zip" -w ./java/* > /dev/null
|
||||
|
||||
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/"
|
||||
|
||||
echo "Packaging to \"Old.Ores.$version-Bedrock.mcpack\""
|
||||
rm "Old.Ores.$version-Bedrock.mcpack" 2> /dev/null
|
||||
7z a -tzip "Old.Ores.$version-Bedrock.mcpack" -w ./bedrock/* > /dev/null
|
||||
|
||||
cd "$currentdir" || exit 1
|
|
@ -3,16 +3,16 @@
|
|||
"header": {
|
||||
"description": "§7The old ore textures\n§6§oCopper made by G2",
|
||||
"name": "Old Ores",
|
||||
"uuid": "66c6e9a8-3093-462a-9c36-dbb052165822",
|
||||
"version": [0, 0, 1],
|
||||
"min_engine_version": [ 1, 17, 10 ]
|
||||
"uuid": "509d7359-84d8-43bd-9260-43c38b1f0013",
|
||||
"version": [2, 1, 4],
|
||||
"min_engine_version": [ 1, 21, 44 ]
|
||||
},
|
||||
"modules": [
|
||||
{
|
||||
"description": "§7The old ore textures\n§6§oCopper made by G2",
|
||||
"type": "resources",
|
||||
"uuid": "743f6949-53be-44b6-b326-398005028819",
|
||||
"version": [0, 0, 1]
|
||||
"uuid": "471c09f2-d4cc-4c5b-9d44-cc323b491fef",
|
||||
"version": [2, 1, 4]
|
||||
}
|
||||
]
|
||||
}
|
7
src/models/deepslate_coal_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_coal_ore_top",
|
||||
"side": "minecraft:block/deepslate_coal_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_copper_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_copper_ore_top",
|
||||
"side": "minecraft:block/deepslate_copper_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_diamond_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_diamond_ore_top",
|
||||
"side": "minecraft:block/deepslate_diamond_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_emerald_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_emerald_ore_top",
|
||||
"side": "minecraft:block/deepslate_emerald_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_gold_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_gold_ore_top",
|
||||
"side": "minecraft:block/deepslate_gold_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_iron_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_iron_ore_top",
|
||||
"side": "minecraft:block/deepslate_iron_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_lapis_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_lapis_ore_top",
|
||||
"side": "minecraft:block/deepslate_lapis_ore"
|
||||
}
|
||||
}
|
7
src/models/deepslate_mirrored.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column_mirrored",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_top",
|
||||
"side": "minecraft:block/deepslate"
|
||||
}
|
||||
}
|
7
src/models/deepslate_redstone_ore.json
Normal file
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"parent": "minecraft:block/cube_column",
|
||||
"textures": {
|
||||
"end": "minecraft:block/deepslate_redstone_ore_top",
|
||||
"side": "minecraft:block/deepslate_redstone_ore"
|
||||
}
|
||||
}
|
6
src/pack.mcmeta
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"pack": {
|
||||
"pack_format": 42,
|
||||
"description": "§7The old ore textures\n§6§oCopper made by G2"
|
||||
}
|
||||
}
|
BIN
src/pack.png
Normal file
After Width: | Height: | Size: 254 B |
BIN
src/pack_icon.png
Normal file
After Width: | Height: | Size: 540 B |
BIN
textures/ore_overlays/coal.png
Normal file
After Width: | Height: | Size: 4.6 KiB |
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.9 KiB |
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 5.8 KiB |
BIN
textures/ore_overlays/diamond.png
Normal file
After Width: | Height: | Size: 5.9 KiB |
BIN
textures/ore_overlays/emerald.png
Normal file
After Width: | Height: | Size: 5.8 KiB |
BIN
textures/ore_overlays/gold.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
textures/ore_overlays/iron.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
textures/ore_overlays/lapis.png
Normal file
After Width: | Height: | Size: 5.5 KiB |
BIN
textures/ore_overlays/redstone.png
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
textures/stones/deepslate.png
Normal file
After Width: | Height: | Size: 240 B |
BIN
textures/stones/deepslate_top.png
Normal file
After Width: | Height: | Size: 254 B |
BIN
textures/stones/ore_stone.png
Normal file
After Width: | Height: | Size: 4.4 KiB |
BIN
textures/stones/stone.png
Normal file
After Width: | Height: | Size: 215 B |