Interaction

public Interaction Interaction(Identifier container, Identifier texture, Screen screen, Interaction.Data 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