Interface ObjectComponent

All Superinterfaces:
Buildable<ObjectComponent,ObjectComponent.Builder>, BuildableComponent<ObjectComponent,ObjectComponent.Builder>, Component, ComponentBuilderApplicable, ComponentLike, net.kyori.examination.Examinable, HoverEventSource<Component>, ScopedComponent<ObjectComponent>, StyleGetter, StyleSetter<Component>

Displays a sprite based on an atlas and sprite key.
Since:
4.25.0
Since Minecraft:
1.21.9
  • Method Details

    • atlas

      @NotNull @NotNull Key atlas()
      Gets the atlas key.
      Returns:
      the atlas key
      Since:
      4.25.0
    • sprite

      @NotNull @NotNull Key sprite()
      Gets the sprite key.
      Returns:
      the sprite key
      Since:
      4.25.0