Class ClientSpriteRegistryCallback.Registry
java.lang.Object
net.fabricmc.fabric.api.event.client.ClientSpriteRegistryCallback.Registry
- Enclosing interface:
- ClientSpriteRegistryCallback
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Registry
-
-
Method Details
-
register
public void register(net.minecraft.util.Identifier id) Register a sprite to be loaded using the default implementation.- Parameters:
id
- The sprite identifier.
-
register
public void register(net.minecraft.client.texture.Sprite sprite) Register a custom sprite to be added and loaded.- Parameters:
sprite
- The sprite to be added.
-