Interface DependentSprite


public interface DependentSprite
Implement this interface on a Sprite to declare additional dependencies that should be processed prior to this sprite.

Best used in conjunction with ClientSpriteRegistryCallback.

  • Method Details

    • getDependencies

      Set<Identifier> getDependencies()
      Returns:
      A set of all sprites that should be loaded before this sprite.