The InvalidItemStackError class in @minecraft/server.
Class in @minecraft/server
Extends Error
import { InvalidItemStackError } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”itemType
Section titled “itemType”read-only
readonly itemType: ItemType;Types