Interface ArtType

All Superinterfaces:
DefaultedRegistryValue

@CatalogedBy(ArtTypes.class) public interface ArtType extends DefaultedRegistryValue
Represents a piece of art to be displayed by Paintings.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Gets the height in blocks this art piece spans.
    int
    Gets the width in blocks this art piece spans.

    Methods inherited from interface org.spongepowered.api.registry.DefaultedRegistryValue

    asDefaultedReference, findKey, key
  • Method Details

    • height

      int height()
      Gets the height in blocks this art piece spans.
      Returns:
      The height in blocks
    • width

      int width()
      Gets the width in blocks this art piece spans.
      Returns:
      The width in blocks