Openables iron door / trapdoor icon

Openables iron door / trapdoor -----

That script allow players to open iron doors / trapdoors



Code (Text):
on right click on iron door:
    cancel event
    if clicked block's data is 1:
        open clicked block
    else:
        close clicked block

on right click on iron trapdoor:
    cancel event
    if clicked block's data is 0:
        open clicked block
    else:
        close clicked block
Resource Information
Author:
----------
Total Downloads: 20
First Release: Oct 6, 2024
Last Update: Oct 6, 2024
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings