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