Index
All Classes and Interfaces|All Packages
A
- at(L) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Sets the target Location corner where the blocks start to get placed.
- at(L) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the source Location corner where the blocks start to get saved.
- author - Variable in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
- author(String) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the author.
C
- cancel() - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Cancels the progress if it has not finished yet.
- com.github.shynixn.structureblocklib.core.block - package com.github.shynixn.structureblocklib.core.block
- com.github.shynixn.structureblocklib.core.entity - package com.github.shynixn.structureblocklib.core.entity
G
- getAuthor() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the author of the structure.
- getAuthor() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
-
Gets the author.
- getAuthor() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Gets the author.
- getBlockNameMetaData() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the custom meta data.
- getCompletionStage() - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Gets the already started
CompletionStagewhich completes with the result. - getIntegrity() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the integrity of the structure.
- getIntegrity() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Gets the target integrity.
- getIntegrity() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Gets the target integrity.
- getLocation() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Gets the target Location.
- getLocation() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Gets the source Location.
- getLocation() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
-
Gets the source Location.
- getLocation() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Gets the target Location.
- getMirrorType() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the mirrorType of the structure when getting load.
- getMirrorType() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Gets the target mirror type.
- getMirrorType() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Gets the target mirror type.
- getOffset() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
-
Gets the offset of the selection.
- getOffset() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Gets the offset of the selection.
- getRestriction() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Gets the size restriction.
- getRotationType() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the rotation of the structure when getting load.
- getRotationType() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Gets the target rotation type.
- getRotationType() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Gets the target rotation type.
- getSaveName() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the name of the save.
- getSeed() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the seed of the structure.
- getSeed() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Gets the target seed.
- getSeed() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Gets the target seed.
- getSizeX() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the size of the structure in X direction.
- getSizeY() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the size of the structure in Y direction.
- getSizeZ() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the size of the structure in Z direction.
- getStructureLocation() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the location of the structure.
- getStructureMode() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns the type of the structureBlock.
- getStructureVoidTypeName() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
-
Gets the name of the block type which is being used as a Structure_Void.
- getStructureVoidTypeName() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Gets the name of the block type which is being used as a Structure_Void.
- getWorldName() - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Gets the world name.
- getX() - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Gets the x coordinate.
- getY() - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Gets the y coordinate.
- getZ() - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Gets the z coordinate.
I
- includeEntities - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- includeEntities - Variable in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
- includeEntities(boolean) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Should entities which may or may not be included in the saved file be included in the loaded structure.
- includeEntities(boolean) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Should entities be included in the save file.
- integrity - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- integrity(float) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Sets the target integrity.
- isBoundingBoxVisible() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns if the boundingBox is visible.
- isCancelled() - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Is the progress cancelled or not.
- isIncludeEntitiesEnabled() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Should entities which may or may not be included in the saved file be included in the loaded/saved structure.
- isIncludeEntitiesEnabled() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Should entities which may or may not be included in the saved file be included in the loaded structure.
- isIncludeEntitiesEnabled() - Method in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
-
Should entities be loaded.
- isIncludeEntitiesEnabled() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
-
Should entities included in the saved file.
- isIncludeEntitiesEnabled() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Should entities included in the saved file.
- isInvisibleBlocksEnabled() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Returns if invisibleBlocks are visible.
L
- loadFromFile(File) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
- loadFromInputStream(InputStream) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
- loadFromPath(Path) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
- loadFromSaver(StructureSaverAbstract<L, V>) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
- loadFromString(String) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the given source and places the blocks at the defined position.
- loadFromWorld(String, String, String) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Loads the structure blocks and entities from the structure storage inside each world folder of Minecraft and places the blocks at the defined position.
- loadStructure() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Gets the associated
StructureLoaderAbstractinstance which contains the current block properties. - location - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- location - Variable in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
M
- mirror - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- mirror(StructureMirror) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Sets the target mirror type.
O
- offset - Variable in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
- offSet(V) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the source Vector offset where the blocks reach to get saved.
- onException(Consumer<Throwable>) - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Adds a new consumer to the progressToken which gets called if the the progress fails with an exception.
- onProgress(Consumer<Double>) - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Adds a new consumer to the progressToken which gets called each time the progress percentage from 0.0(0%) to 1.0 (100%) changes.
- onResult(Consumer<T>) - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Adds a new consumer to the progressToken which gets called once the the progress completes.
P
- PositionImpl - Class in com.github.shynixn.structureblocklib.core.entity
-
Vector Util.
- PositionImpl() - Constructor for class com.github.shynixn.structureblocklib.core.entity.PositionImpl
- PositionImpl(Position) - Constructor for class com.github.shynixn.structureblocklib.core.entity.PositionImpl
- progress(double) - Method in class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Calls the progress consumers with the progress update.
- ProgressTokenImpl<T> - Class in com.github.shynixn.structureblocklib.core.entity
- ProgressTokenImpl(CompletionStage<T>) - Constructor for class com.github.shynixn.structureblocklib.core.entity.ProgressTokenImpl
-
Creates a new instance of
ProgressTokenImpl.
R
- restriction(StructureRestriction) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Restricts the structure to a certain size if a larger area is selected with offset.
- rotation - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- rotation(StructureRotation) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Sets the target rotation type.
S
- saveStructure() - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Gets the associated
StructureSaverAbstractinstance which contains the current block properties. - saveToFile(File) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Saves the blocks and entities from the world into into a structure.nbt file.
- saveToOutputStream(OutputStream) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Saves the blocks and entities from the world into into a structure.nbt binary stream.
- saveToPath(Path) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Saves the blocks and entities from the world into into a structure.nbt file.
- saveToString() - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Saves the blocks and entities from the world into into a structure.nbt binary as Base64 encoded string.
- saveToWorld(String, String, String) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Saves the blocks and entities from the world into into a structure.nbt file located in the world folder, author folder.
- seed - Variable in class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- seed(long) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Sets the target seed.
- setAuthor(String) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the author of the structure.
- setBlockNameMetaData(String) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets custom meta data.
- setBoundingBoxVisible(boolean) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the boundingBoxVisibility.
- setIncludeEntities(boolean) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Should entities which may or may not be included in the saved file be included in the loaded/saved structure.
- setIntegrity(float) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the integrity of the structure.
- setInvisibleBlocksEnabled(boolean) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets if invisibleBlocks should be visible.
- setMirrorType(StructureMirror) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the mirrorType of the structure when getting load.
- setRotationType(StructureRotation) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the rotation of the structure when getting load.
- setSaveName(String) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the name of the save.
- setSeed(long) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Sets the seed of the structure.
- setSizeX(int) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Changes the size of the structure in X direction.
- setSizeY(int) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Changes the size of the structure in Y direction.
- setSizeZ(int) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Changes the size of the structure in Z direction.
- setStructureLocation(L) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Changes the location of the structure.
- setStructureMode(StructureMode) - Method in class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Changes the type of the structureBlock.
- setWorldName(String) - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Sets the world name.
- setX(double) - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Sets the x coordinate.
- setY(double) - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Sets the y coordinate.
- setZ(double) - Method in class com.github.shynixn.structureblocklib.core.entity.PositionImpl
-
Sets the z coordinate.
- sizeX(int) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the offset in x coordinate.
- sizeY(int) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the offset in y coordinate.
- sizeZ(int) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the offset in z coordinate.
- StructureBlockAbstractImpl<L,
V> - Class in com.github.shynixn.structureblocklib.core.block - StructureBlockAbstractImpl(ProxyService, StructureLoaderAbstract<L, V>, StructureSaverAbstract<L, V>) - Constructor for class com.github.shynixn.structureblocklib.core.block.StructureBlockAbstractImpl
-
Creates a new instance with dependencies.
- StructureLoaderAbstractImpl<L,
V> - Class in com.github.shynixn.structureblocklib.core.entity - StructureLoaderAbstractImpl(ProxyService, StructureSerializationService, StructureWorldService) - Constructor for class com.github.shynixn.structureblocklib.core.entity.StructureLoaderAbstractImpl
-
Creates a new raw structure load instance.
- StructurePlaceMetaImpl - Class in com.github.shynixn.structureblocklib.core.entity
- StructurePlaceMetaImpl() - Constructor for class com.github.shynixn.structureblocklib.core.entity.StructurePlaceMetaImpl
- StructureReadMetaImpl - Class in com.github.shynixn.structureblocklib.core.entity
- StructureReadMetaImpl() - Constructor for class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
- StructureSaverAbstractImpl<L,
V> - Class in com.github.shynixn.structureblocklib.core.entity -
Interface fluent API to save structures from the world into different targets.
- StructureSaverAbstractImpl(ProxyService, StructureSerializationService, StructureWorldService) - Constructor for class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Creates a new raw structure save instance.
- structureVoid - Variable in class com.github.shynixn.structureblocklib.core.entity.StructureReadMetaImpl
- structureVoidTypeName(String) - Method in class com.github.shynixn.structureblocklib.core.entity.StructureSaverAbstractImpl
-
Sets the name of the block type which is being used as a Structure_Void.
All Classes and Interfaces|All Packages