Add-On Documentation
  • Preparing search index...
  • The search index is not available
8Crafter's Server Utilities API
  • 8Crafter's Server Utilities API
  • Globals
  • modules
  • cmdutils
  • getInventory

Function getInventory

  • getInventory<T extends Entity | Player | Block>(
        containerBlockPlayerOrEntity: T,
    ): T extends Block ? BlockInventoryComponent : EntityInventoryComponent

    Type Parameters

    • T extends Entity | Player | Block

    Parameters

    • containerBlockPlayerOrEntity: T

    Returns T extends Block ? BlockInventoryComponent : EntityInventoryComponent

    • Defined in modules/command_utilities/functions/getInventory.ts:3

Settings

Member Visibility
Add-On Documentation
8Crafter's Server Utilities API
  • Loading...

Generated using TypeDoc