Interface ClientSpriteRegistryCallback
public interface ClientSpriteRegistryCallback
-
Nested Class Summary
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Event<ClientSpriteRegistryCallback>
event
(net.minecraft.util.Identifier atlasId) Get an event instance for a given atlas path.static void
Deprecated.Use theevent(Identifier)
registration method.void
registerSprites
(net.minecraft.client.texture.SpriteAtlasTexture atlasTexture, ClientSpriteRegistryCallback.Registry registry)
-
Field Details
-
EVENT
Deprecated.Use theevent(Identifier)
registration method. Since 1.14 started making use of multiple sprite atlases, it is unwise to register sprites to *all* of them.
-
-
Method Details
-
registerSprites
void registerSprites(net.minecraft.client.texture.SpriteAtlasTexture atlasTexture, ClientSpriteRegistryCallback.Registry registry) -
event
Get an event instance for a given atlas path.- Parameters:
atlasId
- The atlas texture ID you want to register to.- Returns:
- The event for a given atlas path.
- Since:
- 0.1.1
-
registerBlockAtlas
Deprecated.Use theevent(Identifier)
registration method.
-
event(Identifier)
registration method.