Class HighlightedBlockDisplay
java.lang.Object
nl.pim16aap2.animatedarchitecture.spigot.core.animation.HighlightedBlockDisplay
- All Implemented Interfaces:
IHighlightedBlock
-
Constructor Summary
ConstructorsConstructorDescriptionHighlightedBlockDisplay(BlockDisplayHelper blockDisplayHelper, IExecutor executor, RotatedPosition startPosition, IWorld world, Color color) -
Method Summary
Modifier and TypeMethodDescription@Nullable org.bukkit.entity.Entityvoidkill()Kills the highlighted block and removes it from the world.voidmoveToTarget(RotatedPosition target) Moves this highlighted block to the target position.voidspawn()
-
Constructor Details
-
HighlightedBlockDisplay
public HighlightedBlockDisplay(BlockDisplayHelper blockDisplayHelper, IExecutor executor, RotatedPosition startPosition, IWorld world, Color color)
-
-
Method Details
-
spawn
public void spawn() -
kill
public void kill()Description copied from interface:IHighlightedBlockKills the highlighted block and removes it from the world.- Specified by:
killin interfaceIHighlightedBlock
-
moveToTarget
Description copied from interface:IHighlightedBlockMoves this highlighted block to the target position.- Specified by:
moveToTargetin interfaceIHighlightedBlock- Parameters:
target- The target position the block should move to.
-
getEntity
@Nullable public @Nullable org.bukkit.entity.Entity getEntity()
-