@minecraft/server
    Preparing search index...

    Class EntityTypes

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

    Index

    Methods

    Methods

    • Parameters

      • identifier: string

      Returns undefined | EntityType

      Retrieves an entity type using a string-based identifier.

    • Returns EntityType[]

      Retrieves a set of all entity types within this world.