Skip to content

Start Tick

Class: UnifiedClientEvents.AbstractScreen

Provides access to AbstractContainerScreen, which is useful if you need to register your own mouse scrolling behaviour for a custom tooltip.

Example

UnifiedClientEvents.AbstractScreen.access(abstractContainerScreen -> {
    abstractContainerScreen.addItemSlotMouseAction(new ExampleMouseActions(abstractContainerScreen.minecraft));
});