@minecraft/server
    Preparing search index...

    Class EntityTypesBeta

    Used for accessing all entity types currently available for use within the world.

    Index

    Methods

    Methods

    • Beta

      Parameters

      • identifier: string

      Returns undefined | EntityType

      Retrieves an entity type using a string-based identifier.

    • Beta

      Returns EntityType[]

      Retrieves a set of all entity types within this world.