From 5f6173b999329225ceac28f6b9aa15abfba44360 Mon Sep 17 00:00:00 2001 From: James David Clarke Date: Fri, 29 Dec 2023 16:16:37 +0000 Subject: [PATCH] Some fixes to the conversion script to make rails work in MC1.9+ Packs --- tools/Texture_Converter.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/Texture_Converter.py b/tools/Texture_Converter.py index f03d6b7fd..5de4e7ec1 100755 --- a/tools/Texture_Converter.py +++ b/tools/Texture_Converter.py @@ -311,9 +311,9 @@ def convert_textures(): ("rail_activator_powered.png", "rail_normal_turned.png", "mcl_minecarts_rail_activator_d_t_junction.png", "mcl_minecarts_rail_activator_powered_crossing.png"), ] for r in rails: - os.system("composite -compose Dst_Over "+tex_dir+"/blocks/"+r[0]+" "+tex_dir+"/blocks/"+r[1]+" "+target_dir("/mods/ENTITIES/mcl_minecarts/textures")+"/"+r[2]) - os.system("convert "+tex_dir+"/blocks/"+r[0]+" -rotate 90 "+tempfile1.name) - os.system("composite -compose Dst_Over "+tempfile1.name+" "+tex_dir+"/blocks/"+r[0]+" "+target_dir("/mods/ENTITIES/mcl_minecarts/textures")+"/"+r[3]) + os.system("composite -compose Dst_Over "+tex_dir+"/block/"+r[0]+" "+tex_dir+"/block/"+r[1]+" "+target_dir("/mods/ENTITIES/mcl_minecarts/textures")+"/"+r[2]) + os.system("convert "+tex_dir+"/block/"+r[0]+" -rotate 90 "+tempfile1.name) + os.system("composite -compose Dst_Over "+tempfile1.name+" "+tex_dir+"/block/"+r[0]+" "+target_dir("/mods/ENTITIES/mcl_minecarts/textures")+"/"+r[3]) # Convert banner overlays overlays = [