The SetItemDataFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { SetItemDataFunction } from '@minecraft/server';Constructor
Section titled “Constructor”protected constructor();Properties
Section titled “Properties”read-only
readonly data: NumberRange;Types
Inherited
Section titled “Inherited”From LootItemFunction: conditions