What every item component has.
Class in @minecraft/server
Extends Component
Extended by ItemDurabilityComponent, ItemEnchantableComponent, ItemCooldownComponent, ItemFoodComponent, ItemDyeableComponent, ItemPotionComponent, ItemInventoryComponent, ItemBlockDynamicPropertiesComponent, ItemBookComponent, ItemCompostableComponent, ItemCustomComponentInstance
What every item component has.
import { ItemComponent } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”typeId
Section titled “typeId”read-only
readonly typeId: string;isValid
Section titled “isValid”read-only
readonly isValid: boolean;