registerRenderItemIntoGui

open fun registerRenderItemIntoGui(method: Any): EventTrigger

Registers a new trigger that runs before each item is drawn into a GUI.

Passes through four arguments:

  • The Item

  • The x position

  • The y position

  • The event, which can be cancelled.

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard