Package net.kyori.adventure.text
Interface ObjectComponent.SpriteContents
- All Superinterfaces:
net.kyori.examination.Examinable,ObjectComponent.Contents
- Enclosing interface:
- ObjectComponent
A sprite contents.
Represents a sprite in an atlas, such as a block texture.
- Since:
- 4.25.0
- Since Minecraft:
- 1.21.9
-
Method Summary
Methods inherited from interface net.kyori.examination.Examinable
examinableName, examine
-
Method Details
-
atlas
Gets the atlas key.When null, the default atlas key is used by the client, currently
minecraft:blocks.- Returns:
- the atlas key or null
- Since:
- 4.25.0
-
sprite
Gets the sprite key.- Returns:
- the sprite key
- Since:
- 4.25.0
-
examinableProperties
@NotNull default @NotNull Stream<? extends net.kyori.examination.ExaminableProperty> examinableProperties()- Specified by:
examinablePropertiesin interfacenet.kyori.examination.Examinable
-