import type { Registry } from 'sandstone/arguments/generated/registry.ts' import type { MobEffectInstance } from 'sandstone/arguments/generated/util/effect.ts' import type { ItemBase } from 'sandstone/arguments/generated/world/item.ts' import type { NBTInt } from 'sandstone' export type EffectItem = (ItemBase & { /** * List of the effects that will be applied with this item. */ custom_potion_effects?: Array, /** * Default potion effect */ Potion?: Registry['minecraft:potion'], /** * Calculated as `RED << 16 | GREEN << 8 | BLUE`. Each of these fields must be between 0 and 255, inclusive. */ CustomPotionColor?: NBTInt, })