Structure Loader Abstract
Functions
get Integrity
Link copied to clipboard
Gets the target integrity.
get Location
Link copied to clipboard
Gets the target Location.
get Mirror Type
Link copied to clipboard
Gets the target mirror type.
get Rotation Type
Link copied to clipboard
Gets the target rotation type.
include Blocks
Link copied to clipboard
abstract fun includeBlocks(enabled: Boolean): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Should blocks which may or may not be included in the saved file be included in the loaded structure.
include Entities
Link copied to clipboard
abstract fun includeEntities(enabled: Boolean): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Should entities which may or may not be included in the saved file be included in the loaded structure.
is Include Blocks Enabled
Link copied to clipboard
Should blocks which may or may not be included in the saved file be included in the loaded structure.
is Include Entities Enabled
Link copied to clipboard
Should entities which may or may not be included in the saved file be included in the loaded structure.
load From File
Link copied to clipboard
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
load From Input Stream
Link copied to clipboard
abstract fun loadFromInputStream(source: InputStream): ProgressToken<Void>
Content copied to clipboard
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
load From Path
Link copied to clipboard
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
load From Saver
Link copied to clipboard
abstract fun loadFromSaver(source: StructureSaverAbstract<L, V>): ProgressToken<Void>
Content copied to clipboard
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
load From String
Link copied to clipboard
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
load From World
Link copied to clipboard
abstract fun loadFromWorld(worldName: String, author: String, name: String): ProgressToken<Void>
Content copied to clipboard
Loads the structure blocks and entities from the structure storage inside each world folder of Minecraft and places the blocks at the defined position.
mirror
Link copied to clipboard
abstract fun mirror(mirror: StructureMirror): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Sets the target mirror type.
on Process Block
Link copied to clipboard
abstract fun onProcessBlock(onStructurePlace: (StructurePlacePart<B, W>) -> Boolean): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Attaches a new function to the structure processor which is called for each block being placed in the world.
on Process Entity
Link copied to clipboard
abstract fun onProcessEntity(onStructurePlace: (StructureEntity<E, L>) -> Boolean): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Attaches a new function to the structure processor which is called for each entity being placed in the world.
rotation
Link copied to clipboard
abstract fun rotation(rotation: StructureRotation): StructureLoaderAbstract<L, V, B, E, W>
Content copied to clipboard
Sets the target rotation type.
Inheritors
StructureLoader
Link copied to clipboard