Interface Crafter

All Superinterfaces:
BlockData, Cloneable

public interface Crafter extends BlockData
'orientation' is the direction the block is facing.
Similar to Powerable, 'triggered' indicates whether or not the dispenser is currently activated.
'crafting' is whether crafter's mouth is open and top is glowing.
Since:
1.20.4
  • Method Details

    • isCrafting

      boolean isCrafting()
      Gets the value of the 'crafting' property.
      Returns:
      the 'crafting' value
      Since:
      1.20.4
    • setCrafting

      void setCrafting(boolean crafting)
      Sets the value of the 'crafting' property.
      Parameters:
      crafting - the new 'crafting' value
      Since:
      1.20.4
    • isTriggered

      boolean isTriggered()
      Gets the value of the 'triggered' property.
      Returns:
      the 'triggered' value
      Since:
      1.20.4
    • setTriggered

      void setTriggered(boolean triggered)
      Sets the value of the 'triggered' property.
      Parameters:
      triggered - the new 'triggered' value
      Since:
      1.20.4
    • getOrientation

      @NotNull Orientation getOrientation()
      Gets the value of the 'orientation' property.
      Returns:
      the 'orientation' value
      Since:
      1.20.4
    • setOrientation

      void setOrientation(@NotNull Orientation orientation)
      Sets the value of the 'orientation' property.
      Parameters:
      orientation - the new 'orientation' value
      Since:
      1.20.4