feat: working block implementation
This commit is contained in:
parent
23981fb9ca
commit
802bbb6c7b
31 changed files with 1580 additions and 51 deletions
18
generate_textures.py
Normal file
18
generate_textures.py
Normal 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!")
|
||||
Loading…
Add table
Add a link
Reference in a new issue