--- title: Structure - --- //[KSpigot](../../index.md)/[net.axay.kspigot.structures](../index.md)/[Structure](index.md) # Structure [jvm] data class [Structure](index.md)(**structureData**: [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[SingleStructureData](../-single-structure-data/index.md)>) ## Constructors | Name| Summary| |---|---| | [Structure](-structure.md)| [jvm] fun [Structure](-structure.md)(vararg structureDataSets: [Array](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-array/index.html)>)
## Functions | Name| Summary| |---|---| | [component1](component1.md)| [jvm]
Content
operator fun [component1](component1.md)(): [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[SingleStructureData](../-single-structure-data/index.md)>


| [copy](copy.md)| [jvm]
Content
fun [copy](copy.md)(structureData: [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[SingleStructureData](../-single-structure-data/index.md)>): [Structure](index.md)


| [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)| [jvm]
Content
open operator override fun [equals](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/equals/#kotlin.Any?/PointingToDeclaration/)(other: [Any](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)?): [Boolean](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)


| [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)| [jvm]
Content
open override fun [hashCode](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/hashCode/#/PointingToDeclaration/)(): [Int](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)


| [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)| [jvm]
Content
open override fun [toString](../../net.axay.kspigot.utils/-registerable-command/index.md#kotlin/Any/toString/#/PointingToDeclaration/)(): [String](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)


## Properties | Name| Summary| |---|---| | [structureData](index.md#net.axay.kspigot.structures/Structure/structureData/#/PointingToDeclaration/)| [jvm] val [structureData](index.md#net.axay.kspigot.structures/Structure/structureData/#/PointingToDeclaration/): [Set](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-set/index.html)<[SingleStructureData](../-single-structure-data/index.md)>
## Extensions | Name| Summary| |---|---| | [buildAt](../build-at.md)| [jvm]
Content
fun [Structure](index.md).[buildAt](../build-at.md)(loc: Location)


| [rotate](../rotate.md)| [jvm]
Content
inline fun [Structure](index.md).[rotate](../rotate.md)(angle: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html), vectorRotation: (Vector, [Double](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html)) -> Vector): [Structure](index.md)


| [rotateAroundX](../rotate-around-x.md)| [jvm]
Content
fun [Structure](index.md).[rotateAroundX](../rotate-around-x.md)(angle: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html)): [Structure](index.md)


| [rotateAroundY](../rotate-around-y.md)| [jvm]
Content
fun [Structure](index.md).[rotateAroundY](../rotate-around-y.md)(angle: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html)): [Structure](index.md)


| [rotateAroundZ](../rotate-around-z.md)| [jvm]
Content
fun [Structure](index.md).[rotateAroundZ](../rotate-around-z.md)(angle: [Number](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html)): [Structure](index.md)