forked from MeatWheeze/NeepMeat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathgenresources.py
executable file
·67 lines (59 loc) · 1.29 KB
/
genresources.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#! ~/opt/mcpython/bin/pythn
import mcresources
from mcresources import block_states
rm = mcresources.ResourceManager('neepmeat')
blocks = [
'grey_rough_concrete',
'yellow_rough_concrete',
'white_rough_concrete',
'red_rough_concrete',
'blue_rough_concrete',
'yellow_tiles',
'filled_scaffold',
'caution_block',
'polished_metal_small_bricks',
'dirty_red_tiles',
'dirty_white_tiles',
'sandy_bricks',
'meat_steel_block',
'duat_stone',
'duat_cobblestone',
'bloody_bricks',
'bloody_tiles',
'asbestos_tile',
'asbestos_shingle'
]
wood_blocks = [
# 'blood_bubble_planks',
]
doors = [
'caution_block'
]
# bl = rm.block('asbestos')
# bl.with_blockstate()
# bl.with_block_model()
# bl.with_item_model()
for name in blocks:
bl = rm.block(name)
bl.with_blockstate()
bl.with_block_model()
bl.with_item_model()
bl.make_slab()
bl.make_stairs()
bl.make_wall()
for name in wood_blocks:
bl = rm.block(name)
bl.with_blockstate()
bl.with_block_model()
bl.with_item_model()
bl.make_slab()
bl.make_stairs()
bl.make_wall()
bl.make_trapdoor()
bl.make_door()
bl.make_button()
bl.make_pressure_plate()
bl.make_fence_gate()
for name in doors:
bl = rm.block(name)
bl.make_door()