Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace Dimensions

Namespace used to create and manipulate custom dimensions

Index

Functions

getDimensionById

getDimensionByName

isLimboId

  • isLimboId(id: number): boolean
  • Parameters

    • id: number

      dimension id

    Returns boolean

    true, if dimension is a limbo dimension. Limbo dimension is created by Horizon automatically if you try to teleport the player to non-existing dimension

overrideGeneratorForVanillaDimension

  • overrideGeneratorForVanillaDimension(id: number, generator: CustomGenerator): void

transfer

  • transfer(entity: number, dimensionId: number): void
  • Transferes specified entity to the dimension with specified id

    Parameters

    • entity: number

      numeric id of the

    • dimensionId: number

      numeric id of the dimension to transfer the entity to

    Returns void

Generated using TypeDoc