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 Summary

    Modifier and Type Method Description
    Set<net.minecraft.util.Identifier> getDependencies()  
  • Method Details

    • getDependencies

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