Add glass group
This commit is contained in:
parent
2a359b0d13
commit
a7fdfa13ef
3 changed files with 3 additions and 2 deletions
|
@ -90,6 +90,7 @@ These groups are used mostly for informational purposes
|
|||
* `bed=1`: Bed
|
||||
* `door=1`: Door
|
||||
* `door=2`: Trapdoor
|
||||
* `glass=1`: Glass (full cubes only)
|
||||
* `rail=1`: Rail
|
||||
* `music_record`: Music Disc (rating is track ID)
|
||||
* `tnt=1`: Block is TNT
|
||||
|
|
|
@ -577,7 +577,7 @@ function mcl_core.add_glass(desc, recipeitem, color)
|
|||
paramtype = "light",
|
||||
use_texture_alpha = true,
|
||||
stack_max = 64,
|
||||
groups = {handy=1, building_block=1},
|
||||
groups = {handy=1, glass=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
drop = "",
|
||||
_mcl_blast_resistance = 1.5,
|
||||
|
|
|
@ -1116,7 +1116,7 @@ minetest.register_node("mcl_core:glass", {
|
|||
paramtype = "light",
|
||||
sunlight_propagates = true,
|
||||
stack_max = 64,
|
||||
groups = {handy=1, building_block=1},
|
||||
groups = {handy=1, glass=1, building_block=1},
|
||||
sounds = mcl_sounds.node_sound_glass_defaults(),
|
||||
drop = "",
|
||||
_mcl_blast_resistance = 1.5,
|
||||
|
|
Reference in a new issue