registerPreItemRender

open fun registerPreItemRender(method: Any): RegularTrigger

Registers a new trigger that runs before the items in the gui are drawn

Passes through five arguments:

  • The mouseX position

  • The mouseY position

  • The MC Slot

  • The GuiContainer

Available modifications:

Return

The trigger for additional modification

Parameters

method

The method to call when the event is fired

Sources

Link copied to clipboard