The SetSpawnEggFunction class in @minecraft/server.
Class in @minecraft/server
Extends LootItemFunction
import { SetSpawnEggFunction } 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