Block Attributes

redstoneOnly

This attribute defines whether the door, trap door or fence gate can only opened with a redstone signal.

Examples

redstoneOnly = true;

// Default value
redstoneOnly = false;