No nether, no dust

This commit is contained in:
Nathan Fritzler 2022-06-29 22:15:08 -06:00
parent f57399e162
commit 424a697565
Signed by: Lazerbeak12345
GPG Key ID: 736DE8D7C58AD7FE
1 changed files with 0 additions and 25 deletions

View File

@ -1,25 +0,0 @@
import png
s = [
[
'1',
],
[
'11',
],
[
'111',
'111',
],
]
# R, G, B, Alpha (0xFF = opaque):
palette=[(0x00,0x00,0x00,0x00), (0x8F,0x69,0x66,0x9F)]
#palette=[(0x00,0x00,0x00,0x00), (0xF0,0xF0,0xF0,0x80)]
for i in range(0, len(s)):
print(str(i)+"/"+str(len(s)))
q = [[int(c) for c in row] for row in s[i]]
w = png.Writer(len(q[0]), len(q), palette=palette, bitdepth=1)
f = open('mcl_particles_nether_dust'+str(i+1)+'.png', 'wb')
w.write(f, q)