public interface ClientSpriteRegistryCallback
Modifier and Type | Interface and Description |
---|---|
static class |
ClientSpriteRegistryCallback.Registry |
Modifier and Type | Field and Description |
---|---|
static Event<ClientSpriteRegistryCallback> |
EVENT
Deprecated.
Use the
event(Identifier) registration method. Since 1.14
started making use of multiple sprite atlases, it is unwise to register sprites to *all* of them. |
Modifier and Type | Method and Description |
---|---|
static Event<ClientSpriteRegistryCallback> |
event(net.minecraft.util.Identifier atlasId)
Get an event instance for a given atlas path.
|
static void |
registerBlockAtlas(ClientSpriteRegistryCallback callback)
Deprecated.
Use the
event(Identifier) registration method. |
void |
registerSprites(net.minecraft.client.texture.SpriteAtlasTexture atlasTexture,
ClientSpriteRegistryCallback.Registry registry) |
@Deprecated static final Event<ClientSpriteRegistryCallback> EVENT
event(Identifier)
registration method. Since 1.14
started making use of multiple sprite atlases, it is unwise to register sprites to *all* of them.void registerSprites(net.minecraft.client.texture.SpriteAtlasTexture atlasTexture, ClientSpriteRegistryCallback.Registry registry)
static Event<ClientSpriteRegistryCallback> event(net.minecraft.util.Identifier atlasId)
atlasId
- The atlas texture ID you want to register to.@Deprecated static void registerBlockAtlas(ClientSpriteRegistryCallback callback)
event(Identifier)
registration method.