Package net.minecraftforge.client.event
Class RegisterTextureAtlasSpriteLoadersEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterTextureAtlasSpriteLoadersEvent
- All Implemented Interfaces:
IModBusEvent
public class RegisterTextureAtlasSpriteLoadersEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Allows users to register custom
texture atlas sprite loaders
.
This event is not cancellable, and does not have a result.
This event is fired on the mod-specific event bus, only on the logical client.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Field Summary
-
Constructor Summary
ConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(String name, ITextureAtlasSpriteLoader loader) Registers a customsprite loader
.Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
loaders
-
-
Constructor Details
-
RegisterTextureAtlasSpriteLoadersEvent
@Internal public RegisterTextureAtlasSpriteLoadersEvent(Map<ResourceLocation, ITextureAtlasSpriteLoader> loaders)
-
-
Method Details
-
register
Registers a customsprite loader
.
-