Interface AnvilContainer

All Superinterfaces:
Container

public interface AnvilContainer extends Container
Represents a container of an anvil block.
  • Nested Class Summary

    Nested classes/interfaces inherited from interface eu.sculkpowered.server.container.Container

    Container.Type
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the current repair cost of the container.
    void
    repairCost(int repairCost)
    Sets the repair cost to display.

    Methods inherited from interface eu.sculkpowered.server.container.Container

    item, item, items, title, type
  • Method Details

    • repairCost

      void repairCost(int repairCost)
      Sets the repair cost to display.
      Parameters:
      repairCost - the repair cost
      Since:
      1.0.0
    • repairCost

      int repairCost()
      Gets the current repair cost of the container.
      Returns:
      the container's repair cost
      Since:
      1.0.0