@@ -228,8 +228,9 @@ The doors mod allows modders to register custom doors and trapdoors.
228228 gain_open = 0.3, -- optional, defaults to 0.3
229229 gain_close = 0.3, -- optional, defaults to 0.3
230230 protected = false, -- If true, only placer can open the door (locked for others)
231- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
231+ on_rightclick = function(pos, node, clicker, itemstack, pointed_thing),
232232 -- optional function containing the on_rightclick callback, defaults to a doors.door_toggle-wrapper
233+ use_texture_alpha = "clip",
233234
234235### Trapdoor definition
235236
@@ -249,10 +250,9 @@ The doors mod allows modders to register custom doors and trapdoors.
249250 gain_open = 0.3, -- optional, defaults to 0.3
250251 gain_close = 0.3, -- optional, defaults to 0.3
251252 protected = false, -- If true, only placer can open the door (locked for others)
252- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
253- -- function containing the on_rightclick callback
254- on_rightclick = function(pos, node, clicker, itemstack, pointed_thing)
253+ on_rightclick = function(pos, node, clicker, itemstack, pointed_thing),
255254 -- function containing the on_rightclick callback
255+ use_texture_alpha = "clip",
256256
257257### Fence gate definition
258258
0 commit comments