Interface IAnimatedBlockSpigot
- All Superinterfaces:
IAnimatedBlock
- All Known Implementing Classes:
AnimatedBlockDisplay
Represents an
IAnimatedBlock with some additional QoL methods for the Spigot platform.-
Nested Class Summary
Nested classes/interfaces inherited from interface nl.pim16aap2.animatedarchitecture.core.api.animatedblock.IAnimatedBlock
IAnimatedBlock.TeleportMode -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.WorldGets the bukkit world this animated block exists in.@Nullable org.bukkit.entity.Entityorg.bukkit.MaterialGets the material this block is made of.Methods inherited from interface nl.pim16aap2.animatedarchitecture.core.api.animatedblock.IAnimatedBlock
getAnimatedBlockData, getCurrentPosition, getFinalPosition, getLocation, getPosition, getPreviousPosition, getPreviousTarget, getRadius, getStartPosition, getStartX, getStartY, getStartZ, getTicksLived, getWorld, isAlive, kill, moveToTarget, respawn, spawn
-
Method Details
-
getBukkitWorld
org.bukkit.World getBukkitWorld()Gets the bukkit world this animated block exists in.- Returns:
- The world this animated block exists in.
-
getMaterial
org.bukkit.Material getMaterial()Gets the material this block is made of.- Returns:
- The material this block is made of.
-
getEntity
@Nullable @Nullable org.bukkit.entity.Entity getEntity()
-