Interface PaintingVariantRegistryEntry

All Known Subinterfaces:
PaintingVariantRegistryEntry.Builder

@Experimental @NullMarked @NonExtendable public interface PaintingVariantRegistryEntry
A data-centric version-specific registry entry for the Art type.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static interface 
    A mutable builder for the PaintingVariantRegistryEntry plugins may change in applicable registry events.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides the asset id of the painting, which is the location of the sprite to use.
    Provides the author of the painting visible in the creative inventory.
    @org.jetbrains.annotations.Range(from=1L, to=16L) int
    Provides the height of this painting in blocks.
    Provides the title of the painting visible in the creative inventory.
    @org.jetbrains.annotations.Range(from=1L, to=16L) int
    Provides the width of this painting in blocks.
  • Method Details

    • width

      @org.jetbrains.annotations.Range(from=1L, to=16L) int width()
      Provides the width of this painting in blocks.
      Returns:
      the width.
      See Also:
    • height

      @org.jetbrains.annotations.Range(from=1L, to=16L) int height()
      Provides the height of this painting in blocks.
      Returns:
      the height.
      See Also:
    • title

      Provides the title of the painting visible in the creative inventory.
      Returns:
      the title.
      See Also:
    • author

      Provides the author of the painting visible in the creative inventory.
      Returns:
      the author.
      See Also:
    • 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: