declare namespace org {
    namespace bukkit {
        namespace block {
            namespace data {
                namespace type {
                    // @ts-ignore
                    interface TechnicalPiston extends org.bukkit.block.data.Directional {
                        /**
                         * Gets the value of the 'type' property.
                         */
                         getType(): org.bukkit.block.data.type.TechnicalPiston.Type;
                        /**
                         * Sets the value of the 'type' property.
                         */
                         setType(type: org.bukkit.block.data.type.TechnicalPiston.Type): void;
                    }
                }
            }
        }
    }
}
