Interface Crafter

All Superinterfaces:
BlockCarrier, BlockEntity, Carrier, CarrierBlockEntity, CopyableDataHolder, DataHolder, DataHolder.Mutable, DataSerializable, Locatable, SerializableDataHolder, SerializableDataHolder.Mutable, ValueContainer

public interface Crafter extends CarrierBlockEntity
Represents a Crafter.
  • Method Details

    • cooldown

      default Value.Mutable<Ticks> cooldown()
      Returns:
      The amount of time in ticks until this crafter can craft another item.
    • craftItem

      boolean craftItem()
      Requests this Crafter to craft an item.
      Returns:
      true if an item was crafted