Namespace MobSpawnRegistry

Use behavior packs to register spawning entities in server or use callbacks.

Functions

  • Parameters

    • spawn: SpawnInterface
    • position: {
          x: number;
          z: number;
      }
      • x: number
      • z: number

    Returns void

  • Parameters

    • rarityMultiplier: number

    Returns any

  • Returns {
        x: number;
        z: number;
    }

    • x: number
    • z: number
  • Parameters

    • entityType: number
    • rarity: number
    • Optionalcondition: (() => boolean)
        • (): boolean
        • Returns boolean

    • OptionaldenyNaturalDespawn: boolean

    Returns void

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.