Interface Avatar

All Known Implementing Classes:
AvatarBlockEntity

public interface Avatar
Base interface for the Avatar Block Entity
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.core.Direction
    Gets the avatar's facing.
     
    int
    Gets the amount of ticks that have elapsed on this avatar while it's functional (has redstone signal).
    net.minecraft.world.Container
    Gets the avatar's inventory
    boolean
    Gets 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

      Map<UUID,Integer> getBoostCooldowns()
      Returns:
      Tag of UUID -> cooldown for Rod of the Skies boosting