Package net.md_5.bungee.api.chat.objects
Class SpriteObject
java.lang.Object
net.md_5.bungee.api.chat.objects.SpriteObject
- All Implemented Interfaces:
ChatObject
-
Constructor Summary
ConstructorsConstructorDescriptionSpriteObject(String atlas, @NonNull String sprite) Creates a newSpriteObjectinstance. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAtlas()The namespaced ID of a sprite atlas, default value: minecraft:blocks.@NonNull StringThe namespaced ID of a sprite in atlas, for example item/porkchop.inthashCode()voidThe namespaced ID of a sprite atlas, default value: minecraft:blocks.voidThe namespaced ID of a sprite in atlas, for example item/porkchop.toString()
-
Constructor Details
-
SpriteObject
Creates a newSpriteObjectinstance.- Parameters:
atlas- The namespaced ID of a sprite atlas, default value: minecraft:blocks.sprite- The namespaced ID of a sprite in atlas, for example item/porkchop.
-
-
Method Details
-
getAtlas
The namespaced ID of a sprite atlas, default value: minecraft:blocks. -
getSprite
The namespaced ID of a sprite in atlas, for example item/porkchop. -
setAtlas
The namespaced ID of a sprite atlas, default value: minecraft:blocks. -
setSprite
The namespaced ID of a sprite in atlas, for example item/porkchop. -
equals
-
hashCode
public int hashCode() -
toString
-