forked from starninjas/nextgen_bows
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nodes.lua
26 lines (26 loc) · 785 Bytes
/
nodes.lua
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
minetest.register_node('nextgen_bows:arrow_node', {
drawtype = 'nodebox',
node_box = {
type = 'fixed',
fixed = {
{-0.1875, 0, -0.5, 0.1875, 0, 0.5},
{0, -0.1875, -0.5, 0, 0.1875, 0.5},
{-0.5, -0.5, -0.5, 0.5, 0.5, -0.5},
}
},
-- Textures of node; +Y, -Y, +X, -X, +Z, -Z
-- Textures of node; top, bottom, right, left, front, back
tiles = {
'nextgen_bows_arrow_tile_point_top.png',
'nextgen_bows_arrow_tile_point_bottom.png',
'nextgen_bows_arrow_tile_point_right.png',
'nextgen_bows_arrow_tile_point_left.png',
'nextgen_bows_arrow_tile_tail.png',
'nextgen_bows_arrow_tile_tail.png'
},
groups = {not_in_creative_inventory=1},
sunlight_propagates = true,
paramtype = 'light',
collision_box = {0, 0, 0, 0, 0, 0},
selection_box = {0, 0, 0, 0, 0, 0}
})