Interface CreakingHeart

All Superinterfaces:
BlockData, Cloneable, Orientable

public interface CreakingHeart extends Orientable
'creaking_heart_state' is the state of the block depending on the time and its position.
'natural' is whether this is a naturally generated block.
  • Method Details

    • isActive

      @Deprecated(since="1.21.5", forRemoval=true) default boolean isActive()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the value of the 'active' property.
      Returns:
      the 'active' value
    • setActive

      @Deprecated(since="1.21.5", forRemoval=true) default void setActive(boolean active)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Sets the value of the 'active' property.
      Parameters:
      active - the new 'active' value
    • getCreakingHeartState

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

      void setCreakingHeartState(@NotNull @NotNull CreakingHeart.State state)
      Sets the value of the 'creaking_heart_state' property.
      Parameters:
      state - the new 'creaking_heart_state' 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