Package net.minecraftforge.client.event
Class RegisterColorHandlersEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterColorHandlersEvent
- All Implemented Interfaces:
IModBusEvent
- Direct Known Subclasses:
RegisterColorHandlersEvent.Block
,RegisterColorHandlersEvent.ColorResolvers
,RegisterColorHandlersEvent.Item
public abstract class RegisterColorHandlersEvent
extends net.minecraftforge.eventbus.api.Event
implements IModBusEvent
Fired for registering block and item color handlers at the appropriate time.
See the two subclasses for registering block or item color handlers.
These events are fired on the mod-specific event bus, only on the logical client.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Fired for registering block color handlers.static class
Allows registration of customColorResolver
implementations to be used withBlockAndTintGetter.getBlockTint(BlockPos, ColorResolver)
.static class
Fired for registering item color handlers.Nested classes/interfaces inherited from class net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
Constructor Summary
-
Method Summary
Methods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Constructor Details
-
RegisterColorHandlersEvent
@Internal protected RegisterColorHandlersEvent()
-