feat: working block implementation

This commit is contained in:
Andrew 2026-04-06 02:03:46 +07:00
parent 23981fb9ca
commit 802bbb6c7b
31 changed files with 1580 additions and 51 deletions

18
generate_textures.py Normal file
View file

@ -0,0 +1,18 @@
from PIL import Image
import os
textures_dir = "src/main/resources/assets/enct/textures/block"
os.makedirs(textures_dir, exist_ok=True)
colors = {
"enchantment_transferrer_top": (120, 80, 200),
"enchantment_transferrer_bottom": (80, 80, 80),
"enchantment_transferrer_side": (100, 100, 120),
"enchantment_transferrer_front": (140, 100, 220),
}
for name, color in colors.items():
img = Image.new('RGBA', (16, 16), color + (255,))
img.save(f"{textures_dir}/{name}.png", 'PNG')
print("Textures generated successfully!")