类 RegisterColorHandlersEvent.Block
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterColorHandlersEvent
net.minecraftforge.client.event.RegisterColorHandlersEvent.Block
- 所有已实现的接口:
IModBusEvent
Fired for registering block color handlers.
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.
-
嵌套类概要
从类继承的嵌套类/接口 net.minecraftforge.client.event.RegisterColorHandlersEvent
RegisterColorHandlersEvent.Block, RegisterColorHandlersEvent.ColorResolvers
从类继承的嵌套类/接口 net.minecraftforge.eventbus.api.Event
net.minecraftforge.eventbus.api.Event.HasResult, net.minecraftforge.eventbus.api.Event.Result
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明返回 the block colors registry。void
register
(BlockColor blockColor, Block... blocks) Registers aBlockColor
instance for a set of blocks.从类继承的方法 net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
字段详细资料
-
blockColors
-
-
构造器详细资料
-
Block
-
-
方法详细资料
-
getBlockColors
返回 the block colors registry。- 返回:
- the block colors registry
- 另请参阅:
-
register
Registers aBlockColor
instance for a set of blocks.- 参数:
blockColor
- The color providerblocks
- The blocks
-