1
0
Fork 0

Add glass group

This commit is contained in:
Wuzzy 2017-03-01 15:19:51 +01:00
parent 2a359b0d13
commit a7fdfa13ef
3 changed files with 3 additions and 2 deletions

View File

@ -90,6 +90,7 @@ These groups are used mostly for informational purposes
* `bed=1`: Bed * `bed=1`: Bed
* `door=1`: Door * `door=1`: Door
* `door=2`: Trapdoor * `door=2`: Trapdoor
* `glass=1`: Glass (full cubes only)
* `rail=1`: Rail * `rail=1`: Rail
* `music_record`: Music Disc (rating is track ID) * `music_record`: Music Disc (rating is track ID)
* `tnt=1`: Block is TNT * `tnt=1`: Block is TNT

View File

@ -577,7 +577,7 @@ function mcl_core.add_glass(desc, recipeitem, color)
paramtype = "light", paramtype = "light",
use_texture_alpha = true, use_texture_alpha = true,
stack_max = 64, stack_max = 64,
groups = {handy=1, building_block=1}, groups = {handy=1, glass=1, building_block=1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "", drop = "",
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 1.5,

View File

@ -1116,7 +1116,7 @@ minetest.register_node("mcl_core:glass", {
paramtype = "light", paramtype = "light",
sunlight_propagates = true, sunlight_propagates = true,
stack_max = 64, stack_max = 64,
groups = {handy=1, building_block=1}, groups = {handy=1, glass=1, building_block=1},
sounds = mcl_sounds.node_sound_glass_defaults(), sounds = mcl_sounds.node_sound_glass_defaults(),
drop = "", drop = "",
_mcl_blast_resistance = 1.5, _mcl_blast_resistance = 1.5,