glass.lua 363 B

1234567891011
  1. minetest.register_node('levels:glass_01', {
  2. description = 'Glass',
  3. drawtype = 'glasslike_framed',
  4. tiles = {'levels_glass.png', 'levels_glass_detail.png'},
  5. use_texture_alpha = 'clip', -- only needed for stairs API
  6. paramtype = 'light',
  7. sunlight_propagates = true,
  8. groups = {breakable = 1},
  9. -- sounds = default.node_sound_glass_defaults(),
  10. })