get Structure Block At
open fun <T : StructureBlock?> getStructureBlockAt(location: Location, plugin: Plugin): T
Content copied to clipboard
Gets or creates a StructureBlock at the given location. This instance hides all structure modes and can be access via simple type casting. StructureBlockSave save = (StructureBlockSave) structureBlock; etc.
Return
A new instance of the StructureBlock.
Parameters
location
Location of the block in the world.
plugin
Plugin instance using this API.