Interface CreakingHeart

All Superinterfaces:
BlockData, Cloneable, Orientable

@Experimental public interface CreakingHeart extends Orientable
'creaking_heart_state' indicates the current operational phase of the block.
'natural' is whether this is a naturally generated block.
  • Method Details

    • isActive

      @Deprecated(since="1.21.5") boolean isActive()
      Deprecated.
      Gets the value of the 'active' property.
      Returns:
      the 'active' value
    • setActive

      @Deprecated(since="1.21.5") void setActive(boolean active)
      Sets the value of the 'active' property.
      Parameters:
      active - the new 'active' value
    • isNatural

      boolean isNatural()
      Gets the value of the 'natural' property.
      Returns:
      the 'natural' value
    • setNatural

      void setNatural(boolean natural)
      Sets the value of the 'natural' property.
      Parameters:
      natural - the new 'natural' value
    • getCreakingHeartState

      @NotNull CreakingHeart.State getCreakingHeartState()
      Gets the value of the 'creaking_heart_state' property.
      Returns:
      the 'creaking_heart_state' value
    • setCreakingHeartState

      void setCreakingHeartState(@NotNull CreakingHeart.State state)
      Sets the value of the 'creaking_heart_state' property.
      Parameters:
      state - the new 'creaking_heart_state' value