Interaction

constructor(container: Identifier, texture: Identifier, screen: Screen, data: Interaction.Data)(source)

Parameters

container

The identifier of the interacted container. Same as in the /summon or /setblock commands

texture

The texture to be replaced.

screen

The active GUI screen

data

The details of the interaction