getContainer

public final Identifier getContainer()(source)

Parameters

container

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