类 RegisterItemDecorationsEvent

java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterItemDecorationsEvent
所有已实现的接口:
IModBusEvent

public class RegisterItemDecorationsEvent extends net.minecraftforge.eventbus.api.Event implements IModBusEvent
Allows users to register custom IItemDecorator to Items.

This event is not cancelable, and does not have a result.

This event is fired on the mod-specific event bus, only on the logical client.

  • 字段详细资料

  • 构造器详细资料

  • 方法详细资料

    • register

      public void register(ItemLike itemLike, IItemDecorator decorator)
      Register an ItemDecorator to an Item