Package org.spongepowered.api.data.type
Interface ArtType
- All Superinterfaces:
DefaultedRegistryValue
Represents a piece of art to be displayed by
Painting
s.-
Method Summary
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
-