Functions add Callback add Callback( name: string , func: Function , priority?: number ) : void add Callback( name: "CraftRecipePreProvided" , func: CraftRecipePreProvidedFunction , priority?: number ) : void add Callback( name: "CraftRecipeProvidedFunction" , func: CraftRecipeProvidedFunction , priority?: number ) : void add Callback( name: "VanillaWorkbenchCraft" , func: VanillaWorkbenchCraftFunction , priority?: number ) : void add Callback( name: "VanillaWorkbenchPostCraft" , func: VanillaWorkbenchCraftFunction , priority?: number ) : void add Callback( name: "VanillaWorkbenchRecipeSelected" , func: VanillaWorkbenchRecipeSelectedFunction , priority?: number ) : void add Callback( name: "ContainerClosed" , func: ContainerClosedFunction , priority?: number ) : void add Callback( name: "ContainerOpened" , func: ContainerOpenedFunction , priority?: number ) : void add Callback( name: "CustomWindowOpened" , func: CustomWindowOpenedFunction , priority?: number ) : void add Callback( name: "CustomWindowClosed" , func: CustomWindowClosedFunction , priority?: number ) : void add Callback( name: "CoreConfigured" , func: CoreConfiguredFunction , priority?: number ) : void add Callback( name: "LevelSelected" , func: LevelSelectedFunction , priority?: number ) : void add Callback( name: "DimensionLoaded" , func: DimensionLoadedFunction , priority?: number ) : void add Callback( name: "DestroyBlock" , func: DestroyBlockFunction , priority?: number ) : void add Callback( name: "DestroyBlockStart" , func: DestroyBlockFunction , priority?: number ) : void add Callback( name: "DestroyBlockContinue" , func: DestroyBlockContinueFunction , priority?: number ) : void add Callback( name: "BuildBlock" , func: BuildBlockFunction , priority?: number ) : void add Callback( name: "BlockChanged" , func: BlockChangedFunction , priority?: number ) : void add Callback( name: "ItemUse" , func: ItemUseFunction , priority?: number ) : void add Callback( name: "ItemUseLocalServer" , func: ItemUseFunction , priority?: number ) : void add Callback( name: "Explosion" , func: ExplosionFunction , priority?: number ) : void add Callback( name: "FoodEaten" , func: FoodEatenFunction , priority?: number ) : void add Callback( name: "ExpAdd" , func: ExpAddFunction , priority?: number ) : void add Callback( name: "ExpLevelAdd" , func: ExpLevelAddFunction , priority?: number ) : void add Callback( name: "NativeCommand" , func: NativeCommandFunction , priority?: number ) : void add Callback( name: "PlayerAttack" , func: PlayerAttackFunction , priority?: number ) : void add Callback( name: "EntityAdded" , func: EntityAddedFunction , priority?: number ) : void add Callback( name: "EntityRemoved" , func: EntityRemovedFunction , priority?: number ) : void add Callback( name: "EntityDeath" , func: EntityDeathFunction , priority?: number ) : void add Callback( name: "EntityHurt" , func: EntityHurtFunction , priority?: number ) : void add Callback( name: "EntityInteract" , func: EntityInteractFunction , priority?: number ) : void add Callback( name: "ProjectileHit" , func: ProjectileHitFunction , priority?: number ) : void add Callback( name: "RedstoneSignal" , func: RedstoneSignalFunction , priority?: number ) : void add Callback( name: "PopBlockResources" , func: PopBlockResourcesFunction , priority?: number ) : void add Callback( name: "ItemIconOverride" , func: ItemIconOverrideFunction , priority?: number ) : void add Callback( name: "ItemNameOverride" , func: ItemNameOverrideFunction , priority?: number ) : void add Callback( name: "ItemUseNoTarget" , func: ItemUseNoTargetFunction , priority?: number ) : void add Callback( name: "ItemUsingReleased" , func: ItemUsingReleasedFunction , priority?: number ) : void add Callback( name: "ItemUsingComplete" , func: ItemUsingCompleteFunction , priority?: number ) : void add Callback( name: "ItemDispensed" , func: ItemDispensedFunction , priority?: number ) : void add Callback( name: "NativeGuiChanged" , func: NativeGuiChangedFunction , priority?: number ) : void add Callback( name: "GenerateChunk" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "GenerateChunkUnderground" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "GenerateNetherChunk" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "GenerateEndChunk" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "GenerateChunkUniversal" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "GenerateBiomeMap" , func: GenerateChunkFunction , priority?: number ) : void add Callback( name: "ReadSaves" , func: SavesFunction , priority?: number ) : void add Callback( name: "WriteSaves" , func: SavesFunction , priority?: number ) : void add Callback( name: "CustomBlockTessellation" , func: CustomBlockTessellationFunction , priority?: number ) : void add Callback( name: "ServerPlayerTick" , func: ServerPlayerTickFunction , priority?: number ) : void add Callback( name: "CustomDimensionTransfer" , func: CustomDimensionTransferFunction , priority?: number ) : void add Callback( name: "BlockEventEntityInside" , func: EntityInsideFunction , priority?: number ) : void add Callback( name: "BlockEventEntityStepOn" , func: EntityStepOnFunction , priority?: number ) : void add Callback( name: "BlockEventNeighbourChange" , func: NeighbourChangeFunction , priority?: number ) : void add Callback( name: "PopBlockResources" , func: PopBlockResourcesFunction , priority?: number ) : void add Callback( name: "ConnectingToHost" , func: ConnectingToHostFunction , priority?: number ) : void add Callback( name: "DimensionUnloaded" , func: DimensionUnloadedFunction , priority?: number ) : void add Callback( name: "LevelPreLeft" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "LevelLeft" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "ItemUseLocal" , func: ItemUseLocalFunction , priority?: number ) : void add Callback( name: "SystemKeyEventDispatched" , func: SystemKeyEventDispatchedFunction , priority?: number ) : void add Callback( name: "NavigationBackPressed" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "LevelCreated" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "LevelDisplayed" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "LevelPreLoaded" , func: LevelLoadedFunction , priority?: number ) : void add Callback( name: "LevelLoaded" , func: LevelLoadedFunction , priority?: number ) : void add Callback( name: "LocalLevelLoaded" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "LocalTick" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "AppSuspended" , func: ( ( ) => void ) , priority?: number ) : void add Callback( name: "EntityPickUpDrop" , func: EntityPickUpDropFunction , priority?: number ) : void add Callback( name: "ServerPlayerLoaded" , func: PlayerFunction , priority?: number ) : void add Callback( name: "ServerPlayerLeft" , func: PlayerFunction , priority?: number ) : void add Callback( name: "GenerateCustomDimensionChunk" , func: GenerateCustomDimensionChunkFunction , priority?: number ) : void Parameters name: string func: Function Optional priority: number Returns void Parameters name: "CraftRecipePreProvided" Optional priority: number Returns void Parameters name: "CraftRecipeProvidedFunction" Optional priority: number Returns void Parameters name: "VanillaWorkbenchCraft" Optional priority: number Returns void Parameters name: "VanillaWorkbenchPostCraft" Optional priority: number Returns void Parameters name: "VanillaWorkbenchRecipeSelected" Optional priority: number Returns void Parameters name: "ContainerClosed" Optional priority: number Returns void Parameters name: "ContainerOpened" Optional priority: number Returns void Parameters name: "CustomWindowOpened" Optional priority: number Returns void Parameters name: "CustomWindowClosed" Optional priority: number Returns void Parameters name: "CoreConfigured" Optional priority: number Returns void Parameters name: "LevelSelected" Optional priority: number Returns void Parameters name: "DimensionLoaded" Optional priority: number Returns void Parameters name: "DestroyBlock" Optional priority: number Returns void Parameters name: "DestroyBlockStart" Optional priority: number Returns void Parameters name: "DestroyBlockContinue" Optional priority: number Returns void Parameters name: "BuildBlock" Optional priority: number Returns void Parameters name: "BlockChanged" Optional priority: number Returns void Parameters name: "ItemUse" Optional priority: number Returns void Parameters name: "ItemUseLocalServer" Optional priority: number Returns void Parameters name: "Explosion" Optional priority: number Returns void Parameters name: "FoodEaten" Optional priority: number Returns void Parameters name: "ExpAdd" Optional priority: number Returns void Parameters name: "ExpLevelAdd" Optional priority: number Returns void Parameters name: "NativeCommand" Optional priority: number Returns void Parameters name: "PlayerAttack" Optional priority: number Returns void Parameters name: "EntityAdded" Optional priority: number Returns void Parameters name: "EntityRemoved" Optional priority: number Returns void Parameters name: "EntityDeath" Optional priority: number Returns void Parameters name: "EntityHurt" Optional priority: number Returns void Parameters name: "EntityInteract" Optional priority: number Returns void Parameters name: "ProjectileHit" Optional priority: number Returns void Parameters name: "RedstoneSignal" Optional priority: number Returns void Parameters name: "PopBlockResources" Optional priority: number Returns void Parameters name: "ItemIconOverride" Optional priority: number Returns void Parameters name: "ItemNameOverride" Optional priority: number Returns void Parameters name: "ItemUseNoTarget" Optional priority: number Returns void Parameters name: "ItemUsingReleased" Optional priority: number Returns void Parameters name: "ItemUsingComplete" Optional priority: number Returns void Parameters name: "ItemDispensed" Optional priority: number Returns void Parameters name: "NativeGuiChanged" Optional priority: number Returns void Parameters name: "GenerateChunk" Optional priority: number Returns void Parameters name: "GenerateChunkUnderground" Optional priority: number Returns void Parameters name: "GenerateNetherChunk" Optional priority: number Returns void Parameters name: "GenerateEndChunk" Optional priority: number Returns void Parameters name: "GenerateChunkUniversal" Optional priority: number Returns void Parameters name: "GenerateBiomeMap" Optional priority: number Returns void Parameters name: "ReadSaves" Optional priority: number Returns void Parameters name: "WriteSaves" Optional priority: number Returns void Parameters name: "CustomBlockTessellation" Optional priority: number Returns void Parameters name: "ServerPlayerTick" Optional priority: number Returns void Parameters name: "CustomDimensionTransfer" Optional priority: number Returns void Parameters name: "BlockEventEntityInside" Optional priority: number Returns void Parameters name: "BlockEventEntityStepOn" Optional priority: number Returns void Parameters name: "BlockEventNeighbourChange" Optional priority: number Returns void Parameters name: "PopBlockResources" Optional priority: number Returns void Parameters name: "ConnectingToHost" Optional priority: number Returns void Parameters name: "DimensionUnloaded" Optional priority: number Returns void Parameters name: "LevelPreLeft" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "LevelLeft" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "ItemUseLocal" Optional priority: number Returns void Parameters name: "SystemKeyEventDispatched" Optional priority: number Returns void Parameters name: "NavigationBackPressed" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "LevelCreated" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "LevelDisplayed" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "LevelPreLoaded" Optional priority: number Returns void Parameters name: "LevelLoaded" Optional priority: number Returns void Parameters name: "LocalLevelLoaded" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "LocalTick" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "AppSuspended" func: ( ( ) => void ) Optional priority: number Returns void Parameters name: "EntityPickUpDrop" Optional priority: number Returns void Parameters name: "ServerPlayerLoaded" Optional priority: number Returns void Parameters name: "ServerPlayerLeft" Optional priority: number Returns void Parameters name: "GenerateCustomDimensionChunk" Optional priority: number Returns void invoke Callback invoke Callback( name: string , o1?: any , o2?: any , o3?: any , o4?: any , o5?: any , o6?: any , o7?: any , o8?: any , o9?: any , o10?: any ) : void Parameters name: string Optional o1: any Optional o2: any Optional o3: any Optional o4: any Optional o5: any Optional o6: any Optional o7: any Optional o8: any Optional o9: any Optional o10: any Returns void Legend Constructor Property Method Inherited constructor Inherited property Inherited method Static property Static method Settings Theme OS Light Dark
Module used to handle callbacks. See {@page Callbacks} for details about the callback mechanism and the list of pre-defined callbacks