Interaction

constructor(texture: Identifier, screenTitle: Text, rawInteraction: RawInteraction?, data: Any?)(source)

Parameters

texture

The texture to be replaced.

screenTitle

The active GUI screen's title

rawInteraction

The raw interaction from Minecraft containing the details. See RawInteraction documentation

data

The interaction data returned by the interaction data provider