Interface PaintingVariantRegistryEntry
- All Known Subinterfaces:
PaintingVariantRegistryEntry.Builder
A data-centric version-specific registry entry for the
Art type.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceA mutable builder for thePaintingVariantRegistryEntryplugins may change in applicable registry events. -
Method Summary
Modifier and TypeMethodDescriptionassetId()Provides the asset id of the painting, which is the location of the sprite to use.author()Provides the author of the painting visible in the creative inventory.height()Provides the height of this painting in blocks.title()Provides the title of the painting visible in the creative inventory.width()Provides the width of this painting in blocks.
-
Method Details
-
width
-
height
-
title
-
author
-
assetId
Key assetId()Provides the asset id of the painting, which is the location of the sprite to use.- Returns:
- the asset id.
- See Also:
-