Class ClientSpriteRegistryCallback.Registry

java.lang.Object
net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback.Registry
Enclosing interface:
ClientSpriteRegistryCallback

public static class ClientSpriteRegistryCallback.Registry extends Object
  • Constructor Details

  • Method Details

    • register

      public void register(Identifier id)
      Register a sprite to be loaded using the default implementation.
      Parameters:
      id - The sprite identifier.
    • register

      public void register(Sprite sprite)
      Register a custom sprite to be added and loaded.
      Parameters:
      sprite - The sprite to be added.