The ContainerAccessSource interface in @minecraft/server.
Interface in @minecraft/server
import type { ContainerAccessSource } from '@minecraft/server';Properties
Section titled “Properties”entity
Section titled “entity”optional
entity?: Entity;Types
Used by
Section titled “Used by”BlockContainerClosedAfterEvent.closeSource, BlockContainerOpenedAfterEvent.openSource, EntityContainerClosedAfterEvent.closeSource, EntityContainerOpenedAfterEvent.openSource