]> git.lizzy.rs Git - Crafter.git/blob - mods/redstone/wire
Push incomplete version of doubletap running due to possible hardware failure
[Crafter.git] / mods / redstone / wire
1 minetest.register_node("redstone:wire",{
2       description = "Redstone Dust",
3       wield_image = "redstone_dust_item.png",
4       paramtype = "light",
5       drawtype = "nodebox",
6       --paramtype2 = "wallmounted",
7       walkable = false,
8       node_box = {
9             type = "connected",
10             --{xmin, ymin, zmin, xmax, ymax, zmax}
11
12             fixed = {-1/16, -1/2, -1/16, 1/16, -7/16, 1/16},
13             
14             disconnected_sides  = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16},
15
16             connect_top = {-1/16, -1/2, -1/16, 1/16, 1/2, 1/16},
17             -- connect_bottom =
18             connect_front = {-1/16, -1/2, -1/2, 1/16, -7/16, 1/16},
19             connect_left =  {-1/2, -1/2, -1/16, 1/16, -7/16, 1/16},
20             connect_back =  {-1/16, -1/2, -1/16, 1/16, -7/16, 1/2},
21             connect_right = {-1/16, -1/2, -1/16, 1/2, -7/16, 1/16},
22       },
23       collision_box = {
24             type = "connected",
25             --{xmin, ymin, zmin, xmax, ymax, zmax}
26
27             fixed = {-1/16, -1/2, -1/16, 1/16, -7/16, 1/16},
28             -- connect_top =
29             -- connect_bottom =
30             connect_front = {-1/16, -1/2, -1/2, 1/16, -7/16, 1/16},
31             connect_left =  {-1/2, -1/2, -1/16, 1/16, -7/16, 1/16},
32             connect_back =  {-1/16, -1/2, -1/16, 1/16, -7/16, 1/2},
33             connect_right = {-1/16, -1/2, -1/16, 1/2, -7/16, 1/16},
34       },
35       connects_to = {"group:redstone"},
36       inventory_image = fence_texture,
37       wield_image = fence_texture,
38       tiles = {"redstone_dust.png"},
39       sunlight_propagates = true,
40       is_ground_content = false,
41       groups = {redstone =1, instant=1},
42 })