1
0
mirror of https://github.com/GeyserMC/GeyserOptionalPack.git synced 2025-12-19 14:59:14 +00:00
Files
GeyserOptionalPack/copy_java_files_to_pack.sh
Kastle 850736f829 Requested Fixes
- Use imagemagick to create sprites on the CI
- Fix barrier particle UV
- Make bubble and underwater particles visible out of water
- Increase acceleration of landing particles
- Fix warped spore particle color
2021-04-21 14:28:36 -07:00

13 lines
662 B
Bash
Executable File

wget https://launcher.mojang.com/v1/objects/37fd3c903861eeff3bc24b71eed48f828b5269c8/client.jar
unzip client.jar -d extracted/
IFS=' '
while read -r p || [ -n "$p" ]; do
read -rafilesToCopy<<< "$p"
echo "extracted/${filesToCopy[0]} ${filesToCopy[1]}"
mkdir -p "${filesToCopy[1]}"
cp "extracted/${filesToCopy[0]}" "${filesToCopy[1]}"
done <required_files.txt
convert -append extracted/assets/minecraft/textures/particle/sweep_*.png -define png:format=png8 textures/particle/sweep_attack.png
convert -append extracted/assets/minecraft/textures/particle/bubble_pop_*.png -define png:format=png8 textures/particle/bubble_pop.png
rm client.jar
rm -r extracted