Class FetchedItemContainer

java.lang.Object
com.hypixel.hytale.server.core.inventory.container.ItemContainer
com.hypixel.hytale.server.core.inventory.container.FetchedItemContainer

public class FetchedItemContainer extends ItemContainer
An ItemContainer wrapper that lazily resolves its delegate on every call through a Supplier. Used inside CombinedItemContainer to keep combined views in sync when the underlying InventoryComponent is replaced or resized, since the supplier can always fetch the current container from the live component.