Interface Crafter

All Superinterfaces:
BlockData, Cloneable

@Experimental @MinecraftExperimental 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.
  • Method Details

    • isCrafting

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

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

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

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

      Gets the value of the 'orientation' property.
      Returns:
      the 'orientation' value
    • setOrientation

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