--- title: StructureDataEntity - --- //[KSpigot](../../index.md)/[net.axay.kspigot.structures](../index.md)/[StructureDataEntity](index.md) # StructureDataEntity [jvm] data class [StructureDataEntity](index.md)(**entityType**: EntityType, **nbtData**: [NBTData](../../net.axay.kspigot.data/-n-b-t-data/index.md)) : [StructureData](../-structure-data/index.md) ## Constructors | Name| Summary| |---|---| | [StructureDataEntity](-structure-data-entity.md)| [jvm] fun [StructureDataEntity](-structure-data-entity.md)(entity: Entity)
| [StructureDataEntity](-structure-data-entity.md)| [jvm] fun [StructureDataEntity](-structure-data-entity.md)(entityType: EntityType)
## Functions | Name| Summary| |---|---| | [component1](component1.md)| [jvm]
Content
operator fun [component1](component1.md)(): EntityType


| [component2](component2.md)| [jvm]
Content
operator fun [component2](component2.md)(): [NBTData](../../net.axay.kspigot.data/-n-b-t-data/index.md)


| [copy](copy.md)| [jvm]
Content
fun [copy](copy.md)(entityType: EntityType, nbtData: [NBTData](../../net.axay.kspigot.data/-n-b-t-data/index.md)): [StructureDataEntity](index.md)


| [createAt](create-at.md)| [jvm]
Content
open override fun [createAt](create-at.md)(loc: Location)


| [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| |---|---| | [entityType](index.md#net.axay.kspigot.structures/StructureDataEntity/entityType/#/PointingToDeclaration/)| [jvm] val [entityType](index.md#net.axay.kspigot.structures/StructureDataEntity/entityType/#/PointingToDeclaration/): EntityType
| [nbtData](index.md#net.axay.kspigot.structures/StructureDataEntity/nbtData/#/PointingToDeclaration/)| [jvm] val [nbtData](index.md#net.axay.kspigot.structures/StructureDataEntity/nbtData/#/PointingToDeclaration/): [NBTData](../../net.axay.kspigot.data/-n-b-t-data/index.md)