Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface BedEntity

Entity object.

Hierarchy

  • IEntity
    • BedEntity

Index

Properties

Methods

Properties

__identifier__

__identifier__: string

The identifier of the entity, e.g., "minecraft:sheep", or "minecraft:pumpkin_seeds"

__type__

__type__: "entity" | "item_entity"

READ ONLY. The type of the entity

id

id: number

READ ONLY. This is the unique identifier of the query

Methods

isValid

  • isValid(): boolean
  • Check if the entity object is valid.

    Returns boolean

remove

  • remove(): void
  • Destroy the entity object.

    Returns void

Generated using TypeDoc