@minecraft/server
    Preparing search index...

    Class SetSpawnEggFunctionBeta

    Loot item function that assigns an entity type to a dropped spawn egg. Does not work on any items other than spawn eggs.

    Hierarchy (View Summary)

    Index

    Properties

    Properties

    conditions: LootItemCondition[]
    id: string

    The entity to be assigned to the dropped egg.