ofContainer

public final static Identifier ofContainer(Identifier container)(source)

Returns the texture path of the given container, or null, if it's unknown.

Parameters

container

The id of the entity or block entity to get its GUI texture