getHolder

public abstract BrewingStand getHolder()

Gets the block or entity belonging to the open inventory

Return

The holder of the inventory; null if it has no holder.