Package vazkii.botania.api.block
Interface Avatar
- All Known Implementing Classes:
AvatarBlockEntity
public interface Avatar
Base interface for the Avatar Block Entity
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.core.DirectionGets the avatar's facing.intGets the amount of ticks that have elapsed on this avatar while it's functional (has redstone signal).net.minecraft.world.ContainerGets the avatar's inventorybooleanGets if this avatar is enabled (is powered by a redstone signal).
-
Method Details
-
getInventory
net.minecraft.world.Container getInventory()Gets the avatar's inventory -
getAvatarFacing
net.minecraft.core.Direction getAvatarFacing()Gets the avatar's facing. -
getElapsedFunctionalTicks
int getElapsedFunctionalTicks()Gets the amount of ticks that have elapsed on this avatar while it's functional (has redstone signal). -
isEnabled
boolean isEnabled()Gets if this avatar is enabled (is powered by a redstone signal). -
getBoostCooldowns
- Returns:
- Tag of UUID -> cooldown for Rod of the Skies boosting
-