Interface in @minecraft/server
An item type.
import type { ItemType } from '@minecraft/server';Properties
Section titled “Properties”read-only
readonly id: string;Used by
Section titled “Used by”ContainerSlot.type, BlockFluidContainerComponent.addDye, BlockRecordPlayerComponent.setRecord, LootItem.name, ItemFilter.includeTypes, InvalidItemStackError.itemType