Package net.minecraftforge.client.event
Class RegisterItemDecorationsEvent
java.lang.Object
net.minecraftforge.eventbus.api.Event
net.minecraftforge.client.event.RegisterItemDecorationsEvent
- All Implemented Interfaces:
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.
-
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
register
(ItemLike itemLike, IItemDecorator decorator) Register an ItemDecorator to an ItemMethods inherited from class net.minecraftforge.eventbus.api.Event
getListenerList, getPhase, getResult, hasResult, isCancelable, isCanceled, setCanceled, setPhase, setResult
-
Field Details
-
decorators
-
-
Constructor Details
-
RegisterItemDecorationsEvent
-
-
Method Details
-
register
Register an ItemDecorator to an Item
-