Interface PaintingVariantRegistryEntry.Builder
- All Superinterfaces:
PaintingVariantRegistryEntry, RegistryBuilder<Art>
- Enclosing interface:
PaintingVariantRegistryEntry
@Experimental
@NonExtendable
public static interface PaintingVariantRegistryEntry.Builder
extends PaintingVariantRegistryEntry, RegistryBuilder<Art>
A mutable builder for the
PaintingVariantRegistryEntry plugins may change in applicable registry events.
The following values are required for each builder:
-
Nested Class Summary
Nested classes/interfaces inherited from interface PaintingVariantRegistryEntry
PaintingVariantRegistryEntry.Builder -
Method Summary
Modifier and TypeMethodDescriptionSets the asset id of the painting, which is the location of the sprite to use.Sets the author of the painting.Sets the height of the painting in blocks.Sets the title of the painting.Sets the width of the painting in blocks.
-
Method Details
-
width
-
height
-
title
-
author
-
assetId
@Contract(value="_ -> this", mutates="this") PaintingVariantRegistryEntry.Builder assetId(Key assetId) Sets the asset id of the painting, which is the location of the sprite to use.- Parameters:
assetId- the asset id.- Returns:
- this builder instance.
- See Also:
-