Class HighlightedBlockSpawnerSpigot
java.lang.Object
nl.pim16aap2.animatedarchitecture.core.api.HighlightedBlockSpawner
nl.pim16aap2.animatedarchitecture.spigot.core.implementations.HighlightedBlockSpawnerSpigot
- All Implemented Interfaces:
IRestartable
@Singleton
public class HighlightedBlockSpawnerSpigot
extends HighlightedBlockSpawner
implements IRestartable
Represents an implementation of
HighlightedBlockSpawner for the Spigot platform.-
Nested Class Summary
Nested classes/interfaces inherited from class nl.pim16aap2.animatedarchitecture.core.api.HighlightedBlockSpawner
HighlightedBlockSpawner.Builder -
Method Summary
Modifier and TypeMethodDescriptionprotected IExecutorgetTeams()voidHandles the initialization.voidshutDown()Handles a shutdown.spawnHighlightedBlock(IPlayer player, IWorld world, @Nullable Duration duration, RotatedPosition rotatedPosition, Color color) Methods inherited from class nl.pim16aap2.animatedarchitecture.core.api.HighlightedBlockSpawner
builder, spawnHighlightedBlocks, spawnHighlightedBlocks
-
Method Details
-
spawnHighlightedBlock
public Optional<IHighlightedBlock> spawnHighlightedBlock(IPlayer player, IWorld world, @Nullable @Nullable Duration duration, RotatedPosition rotatedPosition, Color color) - Specified by:
spawnHighlightedBlockin classHighlightedBlockSpawner
-
initialize
public void initialize()Description copied from interface:IRestartableHandles the initialization.- Specified by:
initializein interfaceIRestartable
-
shutDown
public void shutDown()Description copied from interface:IRestartableHandles a shutdown.- Specified by:
shutDownin interfaceIRestartable
-
getTeams
-
getExecutor
- Specified by:
getExecutorin classHighlightedBlockSpawner
-