isaacscript-common 28.5.0 → 28.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/index.rollup.d.ts +224 -127
  2. package/dist/isaacscript-common.lua +271 -128
  3. package/dist/src/callbackClasses.d.ts +4 -0
  4. package/dist/src/callbackClasses.d.ts.map +1 -1
  5. package/dist/src/callbackClasses.lua +20 -0
  6. package/dist/src/callbacks.d.ts +131 -127
  7. package/dist/src/callbacks.d.ts.map +1 -1
  8. package/dist/src/callbacks.lua +4 -0
  9. package/dist/src/classes/callbacks/PostBombInitFilter.d.ts +9 -0
  10. package/dist/src/classes/callbacks/PostBombInitFilter.d.ts.map +1 -0
  11. package/dist/src/classes/callbacks/PostBombInitFilter.lua +23 -0
  12. package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts +9 -0
  13. package/dist/src/classes/callbacks/PostBombRenderFilter.d.ts.map +1 -0
  14. package/dist/src/classes/callbacks/PostBombRenderFilter.lua +23 -0
  15. package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts +9 -0
  16. package/dist/src/classes/callbacks/PostBombUpdateFilter.d.ts.map +1 -0
  17. package/dist/src/classes/callbacks/PostBombUpdateFilter.lua +23 -0
  18. package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts +9 -0
  19. package/dist/src/classes/callbacks/PreBombCollisionFilter.d.ts.map +1 -0
  20. package/dist/src/classes/callbacks/PreBombCollisionFilter.lua +21 -0
  21. package/dist/src/core/constants.d.ts +14 -2
  22. package/dist/src/core/constants.d.ts.map +1 -1
  23. package/dist/src/core/constants.lua +22 -0
  24. package/dist/src/enums/ModCallbackCustom.d.ts +191 -127
  25. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  26. package/dist/src/enums/ModCallbackCustom.lua +135 -127
  27. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +20 -0
  28. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  29. package/dist/src/shouldFire.d.ts +1 -1
  30. package/dist/src/shouldFire.d.ts.map +1 -1
  31. package/package.json +1 -1
  32. package/src/callbackClasses.ts +4 -0
  33. package/src/callbacks.ts +4 -0
  34. package/src/classes/callbacks/PostBombInitFilter.ts +22 -0
  35. package/src/classes/callbacks/PostBombRenderFilter.ts +22 -0
  36. package/src/classes/callbacks/PostBombUpdateFilter.ts +22 -0
  37. package/src/classes/callbacks/PreBombCollisionFilter.ts +24 -0
  38. package/src/core/constants.ts +25 -0
  39. package/src/enums/ModCallbackCustom.ts +68 -0
  40. package/src/interfaces/private/AddCallbackParametersCustom.ts +28 -0
  41. package/src/shouldFire.ts +4 -1
@@ -119,11 +119,26 @@ declare interface AddCallbackParametersCustom {
119
119
  bombVariant?: BombVariant,
120
120
  subType?: int
121
121
  ];
122
+ [ModCallbackCustom.POST_BOMB_INIT_FILTER]: [
123
+ callback: (bomb: EntityBomb) => void,
124
+ bombVariant?: BombVariant,
125
+ subType?: int
126
+ ];
122
127
  [ModCallbackCustom.POST_BOMB_INIT_LATE]: [
123
128
  callback: (bomb: EntityBomb) => void,
124
129
  bombVariant?: BombVariant,
125
130
  subType?: int
126
131
  ];
132
+ [ModCallbackCustom.POST_BOMB_RENDER_FILTER]: [
133
+ callback: (bomb: EntityBomb, renderOffset: Vector) => void,
134
+ bombVariant?: BombVariant,
135
+ subType?: int
136
+ ];
137
+ [ModCallbackCustom.POST_BOMB_UPDATE_FILTER]: [
138
+ callback: (bomb: EntityBomb) => void,
139
+ bombVariant?: BombVariant,
140
+ subType?: int
141
+ ];
127
142
  [ModCallbackCustom.POST_BONE_SWING]: [callback: (knife: EntityKnife) => void];
128
143
  [ModCallbackCustom.POST_COLLECTIBLE_EMPTY]: [
129
144
  callback: (collectible: EntityPickupCollectible, oldCollectibleType: CollectibleType) => void,
@@ -660,6 +675,11 @@ declare interface AddCallbackParametersCustom {
660
675
  playerVariant?: PlayerVariant,
661
676
  character?: PlayerType
662
677
  ];
678
+ [ModCallbackCustom.PRE_BOMB_COLLISION_FILTER]: [
679
+ callback: (bomb: EntityBomb, collider: Entity, low: boolean) => boolean | undefined,
680
+ bombVariant?: BombVariant,
681
+ subtype?: int
682
+ ];
663
683
  [ModCallbackCustom.PRE_CUSTOM_REVIVE]: [
664
684
  callback: (player: EntityPlayer) => int | undefined,
665
685
  playerVariant?: PlayerVariant,
@@ -9103,6 +9123,19 @@ export declare function mapGetPlayer<V>(map: Map<PlayerIndex, V>, player: Entity
9103
9123
  */
9104
9124
  export declare function mapHasPlayer<V>(map: Map<PlayerIndex, V>, player: EntityPlayer): boolean;
9105
9125
 
9126
+ /**
9127
+ * All of the collectibles that grant vision on the map.
9128
+ *
9129
+ * Note that:
9130
+ * - Book of Shadows is included, which is an "active mapping" instead of passive.
9131
+ * - Spelunker Hat is included. Historically, Spelunker Hat was not considered to be mapping, but it
9132
+ * was buffed in Repentance to show rooms two or more away.
9133
+ * - Luna is included, even though it is not a very powerful mapping item.
9134
+ * - Cracked Orb is included, even though it requires the player to be damaged in order for it to be
9135
+ * activated.
9136
+ */
9137
+ export declare const MAPPING_COLLECTIBLES: readonly [CollectibleType.COMPASS, CollectibleType.TREASURE_MAP, CollectibleType.BOOK_OF_SHADOWS, CollectibleType.SPELUNKER_HAT, CollectibleType.CRYSTAL_BALL, CollectibleType.BLUE_MAP, CollectibleType.MIND, CollectibleType.SOL, CollectibleType.LUNA, CollectibleType.CRACKED_ORB];
9138
+
9106
9139
  /**
9107
9140
  * Helper function to set a value for a `DefaultMap` that corresponds to an entity, assuming that
9108
9141
  * the map uses `PtrHash` as an index.
@@ -9355,6 +9388,21 @@ export declare enum ModCallbackCustom {
9355
9388
  * ```
9356
9389
  */
9357
9390
  POST_BOMB_EXPLODED = 6,
9391
+ /**
9392
+ * The exact same thing as the vanilla `POST_BOMB_INIT` callback, except this callback allows you
9393
+ * to specify extra arguments for additional filtration.
9394
+ *
9395
+ * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
9396
+ * - You can provide an optional third argument that will make the callback only fire if it
9397
+ * matches the `BombVariant` provided.
9398
+ * - You can provide an optional fourth argument that will make the callback only fire if it
9399
+ * matches the sub-type provided.
9400
+ *
9401
+ * ```ts
9402
+ * function postBombInitFilter(bomb: EntityBomb): void {}
9403
+ * ```
9404
+ */
9405
+ POST_BOMB_INIT_FILTER = 7,
9358
9406
  /**
9359
9407
  * Fires on the first `POST_BOMB_UPDATE` frame for each bomb.
9360
9408
  *
@@ -9371,7 +9419,37 @@ export declare enum ModCallbackCustom {
9371
9419
  * function postBombInitLate(bomb: EntityBomb): void {}
9372
9420
  * ```
9373
9421
  */
9374
- POST_BOMB_INIT_LATE = 7,
9422
+ POST_BOMB_INIT_LATE = 8,
9423
+ /**
9424
+ * The exact same thing as the vanilla `POST_BOMB_RENDER` callback, except this callback allows
9425
+ * you to specify extra arguments for additional filtration.
9426
+ *
9427
+ * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
9428
+ * - You can provide an optional third argument that will make the callback only fire if it
9429
+ * matches the `BombVariant` provided.
9430
+ * - You can provide an optional fourth argument that will make the callback only fire if it
9431
+ * matches the sub-type provided.
9432
+ *
9433
+ * ```ts
9434
+ * function postBombRenderFilter(bomb: EntityBomb, renderOffset: Vector): void {}
9435
+ * ```
9436
+ */
9437
+ POST_BOMB_RENDER_FILTER = 9,
9438
+ /**
9439
+ * The exact same thing as the vanilla `POST_BOMB_UPDATE` callback, except this callback allows
9440
+ * you to specify extra arguments for additional filtration.
9441
+ *
9442
+ * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
9443
+ * - You can provide an optional third argument that will make the callback only fire if it
9444
+ * matches the `BombVariant` provided.
9445
+ * - You can provide an optional fourth argument that will make the callback only fire if it
9446
+ * matches the sub-type provided.
9447
+ *
9448
+ * ```ts
9449
+ * function postBombUpdateFilter(bomb: EntityBomb): void {}
9450
+ * ```
9451
+ */
9452
+ POST_BOMB_UPDATE_FILTER = 10,
9375
9453
  /**
9376
9454
  * Fires from the `POST_RENDER` callback when one of Forgotten's bone clubs is swung or thrown.
9377
9455
  *
@@ -9379,7 +9457,7 @@ export declare enum ModCallbackCustom {
9379
9457
  * function postBoneSwing(boneClub: EntityKnife): void {}
9380
9458
  * ```
9381
9459
  */
9382
- POST_BONE_SWING = 8,
9460
+ POST_BONE_SWING = 11,
9383
9461
  /**
9384
9462
  * Fires from the `POST_PICKUP_UPDATE` callback when a collectible goes from a non-zero sub-type
9385
9463
  * to `CollectibleType.NULL` (i.e. an "empty" pedestal).
@@ -9395,7 +9473,7 @@ export declare enum ModCallbackCustom {
9395
9473
  * ): void {}
9396
9474
  * ```
9397
9475
  */
9398
- POST_COLLECTIBLE_EMPTY = 9,
9476
+ POST_COLLECTIBLE_EMPTY = 12,
9399
9477
  /**
9400
9478
  * Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
9401
9479
  * respective collectible on the run. For more details on how this is calculated, see the
@@ -9413,7 +9491,7 @@ export declare enum ModCallbackCustom {
9413
9491
  * function postCollectibleInitLate(collectible: EntityPickupCollectible): void {}
9414
9492
  * ```
9415
9493
  */
9416
- POST_COLLECTIBLE_INIT_FIRST = 10,
9494
+ POST_COLLECTIBLE_INIT_FIRST = 13,
9417
9495
  /**
9418
9496
  * Fires from the `POST_PLAYER_RENDER` callback on the first frame that the "TeleportUp" animation
9419
9497
  * begins playing after a player triggers a Cursed Eye teleport or a Cursed Skull teleport. (Both
@@ -9429,7 +9507,7 @@ export declare enum ModCallbackCustom {
9429
9507
  * function postCursedTeleport(player: EntityPlayer): void {}
9430
9508
  * ```
9431
9509
  */
9432
- POST_CURSED_TELEPORT = 11,
9510
+ POST_CURSED_TELEPORT = 14,
9433
9511
  /**
9434
9512
  * Fires from the `POST_PLAYER_UPDATE` callback after the player has finished the death animation,
9435
9513
  * has teleported to the previous room, and is ready to play the animation for the modded revival
@@ -9447,7 +9525,7 @@ export declare enum ModCallbackCustom {
9447
9525
  * function postCustomRevive(player: EntityPlayer, revivalType: int): void {}
9448
9526
  * ```
9449
9527
  */
9450
- POST_CUSTOM_REVIVE = 12,
9528
+ POST_CUSTOM_REVIVE = 15,
9451
9529
  /**
9452
9530
  * Fires from the `EFFECT_POST_UPDATE` callback after a player has entered the range of a Dice
9453
9531
  * Room floor.
@@ -9463,7 +9541,7 @@ export declare enum ModCallbackCustom {
9463
9541
  * ): void {}
9464
9542
  * ```
9465
9543
  */
9466
- POST_DICE_ROOM_ACTIVATED = 13,
9544
+ POST_DICE_ROOM_ACTIVATED = 16,
9467
9545
  /**
9468
9546
  * Fires from the `POST_RENDER` callback on every frame that a door exists.
9469
9547
  *
@@ -9475,7 +9553,7 @@ export declare enum ModCallbackCustom {
9475
9553
  * function postDoorRender(door: GridEntityDoor): void {}
9476
9554
  * ```
9477
9555
  */
9478
- POST_DOOR_RENDER = 14,
9556
+ POST_DOOR_RENDER = 17,
9479
9557
  /**
9480
9558
  * Fires from the `POST_UPDATE` callback on every frame that a door exists.
9481
9559
  *
@@ -9487,7 +9565,7 @@ export declare enum ModCallbackCustom {
9487
9565
  * function postDoorUpdate(door: GridEntityDoor): void {}
9488
9566
  * ```
9489
9567
  */
9490
- POST_DOOR_UPDATE = 15,
9568
+ POST_DOOR_UPDATE = 18,
9491
9569
  /**
9492
9570
  * The exact same thing as the vanilla `POST_EFFECT_INIT` callback, except this callback allows
9493
9571
  * you to specify extra arguments for additional filtration.
@@ -9502,7 +9580,7 @@ export declare enum ModCallbackCustom {
9502
9580
  * function postEffectInitFilter(effect: EntityEffect): void {}
9503
9581
  * ```
9504
9582
  */
9505
- POST_EFFECT_INIT_FILTER = 16,
9583
+ POST_EFFECT_INIT_FILTER = 19,
9506
9584
  /**
9507
9585
  * Fires on the first `POST_EFFECT_UPDATE` frame for each effect.
9508
9586
  *
@@ -9519,7 +9597,7 @@ export declare enum ModCallbackCustom {
9519
9597
  * function postEffectInitLate(effect: EntityEffect): void {}
9520
9598
  * ```
9521
9599
  */
9522
- POST_EFFECT_INIT_LATE = 17,
9600
+ POST_EFFECT_INIT_LATE = 20,
9523
9601
  /**
9524
9602
  * The exact same thing as the vanilla `POST_EFFECT_RENDER` callback, except this callback allows
9525
9603
  * you to specify extra arguments for additional filtration.
@@ -9534,7 +9612,7 @@ export declare enum ModCallbackCustom {
9534
9612
  * function postEffectRenderFilter(effect: EntityEffect, renderOffset: Vector): void {}
9535
9613
  * ```
9536
9614
  */
9537
- POST_EFFECT_RENDER_FILTER = 18,
9615
+ POST_EFFECT_RENDER_FILTER = 21,
9538
9616
  /**
9539
9617
  * Fires from the `POST_EFFECT_UPDATE` callback when an effect's state has changed from what it
9540
9618
  * was on the previous frame. (In this context, "state" refers to the `EntityEffect.State` field.)
@@ -9553,7 +9631,7 @@ export declare enum ModCallbackCustom {
9553
9631
  * ): void {}
9554
9632
  * ```
9555
9633
  */
9556
- POST_EFFECT_STATE_CHANGED = 19,
9634
+ POST_EFFECT_STATE_CHANGED = 22,
9557
9635
  /**
9558
9636
  * The exact same thing as the vanilla `POST_EFFECT_UPDATE` callback, except this callback allows
9559
9637
  * you to specify extra arguments for additional filtration.
@@ -9568,7 +9646,7 @@ export declare enum ModCallbackCustom {
9568
9646
  * function postEffectUpdateFilter(effect: EntityEffect): void {}
9569
9647
  * ```
9570
9648
  */
9571
- POST_EFFECT_UPDATE_FILTER = 20,
9649
+ POST_EFFECT_UPDATE_FILTER = 23,
9572
9650
  /**
9573
9651
  * The exact same thing as the vanilla `POST_ENTITY_KILL` callback, except this callback allows
9574
9652
  * you to specify extra arguments for additional filtration.
@@ -9585,7 +9663,7 @@ export declare enum ModCallbackCustom {
9585
9663
  * function postEntityKillFilter(entity: Entity): void {}
9586
9664
  * ```
9587
9665
  */
9588
- POST_ENTITY_KILL_FILTER = 21,
9666
+ POST_ENTITY_KILL_FILTER = 24,
9589
9667
  /**
9590
9668
  * Fires one `POST_UPDATE` frame after the player has used the Esau Jr. item. (The player is not
9591
9669
  * updated to the new character until a game frame has passed.)
@@ -9594,7 +9672,7 @@ export declare enum ModCallbackCustom {
9594
9672
  * function postEsauJr(player: EntityPlayer): void {}
9595
9673
  * ```
9596
9674
  */
9597
- POST_ESAU_JR = 22,
9675
+ POST_ESAU_JR = 25,
9598
9676
  /**
9599
9677
  * The exact same thing as the vanilla `POST_FAMILIAR_INIT` callback, except this callback allows
9600
9678
  * you to specify extra arguments for additional filtration.
@@ -9609,7 +9687,7 @@ export declare enum ModCallbackCustom {
9609
9687
  * function postFamiliarInitFilter(familiar: EntityFamiliar): void {}
9610
9688
  * ```
9611
9689
  */
9612
- POST_FAMILIAR_INIT_FILTER = 23,
9690
+ POST_FAMILIAR_INIT_FILTER = 26,
9613
9691
  /**
9614
9692
  * Fires on the first `FAMILIAR_UPDATE` frame for each familiar.
9615
9693
  *
@@ -9626,7 +9704,7 @@ export declare enum ModCallbackCustom {
9626
9704
  * function postFamiliarInitLate(familiar: EntityFamiliar): void {}
9627
9705
  * ```
9628
9706
  */
9629
- POST_FAMILIAR_INIT_LATE = 24,
9707
+ POST_FAMILIAR_INIT_LATE = 27,
9630
9708
  /**
9631
9709
  * The exact same thing as the vanilla `POST_FAMILIAR_RENDER` callback, except this callback
9632
9710
  * allows you to specify extra arguments for additional filtration.
@@ -9641,7 +9719,7 @@ export declare enum ModCallbackCustom {
9641
9719
  * function postFamiliarRenderFilter(familiar: EntityFamiliar, renderOffset: Vector): void {}
9642
9720
  * ```
9643
9721
  */
9644
- POST_FAMILIAR_RENDER_FILTER = 25,
9722
+ POST_FAMILIAR_RENDER_FILTER = 28,
9645
9723
  /**
9646
9724
  * Fires from the `POST_FAMILIAR_UPDATE` callback when a familiar's state has changed from what it
9647
9725
  * was on the previous frame. (In this context, "state" refers to the `EntityFamiliar.State`
@@ -9661,7 +9739,7 @@ export declare enum ModCallbackCustom {
9661
9739
  * ): void {}
9662
9740
  * ```
9663
9741
  */
9664
- POST_FAMILIAR_STATE_CHANGED = 26,
9742
+ POST_FAMILIAR_STATE_CHANGED = 29,
9665
9743
  /**
9666
9744
  * The exact same thing as the vanilla `POST_FAMILIAR_UPDATE` callback, except this callback
9667
9745
  * allows you to specify extra arguments for additional filtration.
@@ -9676,7 +9754,7 @@ export declare enum ModCallbackCustom {
9676
9754
  * function postFamiliarUpdateFilter(familiar: EntityFamiliar): void {}
9677
9755
  * ```
9678
9756
  */
9679
- POST_FAMILIAR_UPDATE_FILTER = 27,
9757
+ POST_FAMILIAR_UPDATE_FILTER = 30,
9680
9758
  /**
9681
9759
  * Fires one `POST_UPDATE` frame after the player has first used the Esau Jr. item. (The player is
9682
9760
  * not updated to the new character until a game frame has passed.)
@@ -9688,7 +9766,7 @@ export declare enum ModCallbackCustom {
9688
9766
  * function postFirstEsauJr(player: EntityPlayer): void {}
9689
9767
  * ```
9690
9768
  */
9691
- POST_FIRST_ESAU_JR = 28,
9769
+ POST_FIRST_ESAU_JR = 31,
9692
9770
  /**
9693
9771
  * Fires after the player has used the Flip item for the first time. Unlike the vanilla `USE_ITEM`
9694
9772
  * callback, this callback will return the player object for the new Lazarus (not the one who used
@@ -9701,7 +9779,7 @@ export declare enum ModCallbackCustom {
9701
9779
  * function postFirstFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
9702
9780
  * ```
9703
9781
  */
9704
- POST_FIRST_FLIP = 29,
9782
+ POST_FIRST_FLIP = 32,
9705
9783
  /**
9706
9784
  * Fires after the player has used the Flip item. Unlike the vanilla `USE_ITEM` callback, this
9707
9785
  * callback will return the player object for the new Lazarus (not the one who used the Flip
@@ -9714,7 +9792,7 @@ export declare enum ModCallbackCustom {
9714
9792
  * function postFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
9715
9793
  * ```
9716
9794
  */
9717
- POST_FLIP = 30,
9795
+ POST_FLIP = 33,
9718
9796
  /**
9719
9797
  * Similar to the vanilla callback of the same name, but fires in the correct order with respect
9720
9798
  * to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
@@ -9733,7 +9811,7 @@ export declare enum ModCallbackCustom {
9733
9811
  * function postGameStartedReordered(isContinued: boolean): void {}
9734
9812
  * ```
9735
9813
  */
9736
- POST_GAME_STARTED_REORDERED = 31,
9814
+ POST_GAME_STARTED_REORDERED = 34,
9737
9815
  /**
9738
9816
  * Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
9739
9817
  * callbacks have finished firing. Thus, you can use this callback to do perform things after a
@@ -9752,7 +9830,7 @@ export declare enum ModCallbackCustom {
9752
9830
  * function postGameStartedReorderedLast(isContinued: boolean): void {}
9753
9831
  * ```
9754
9832
  */
9755
- POST_GAME_STARTED_REORDERED_LAST = 32,
9833
+ POST_GAME_STARTED_REORDERED_LAST = 35,
9756
9834
  /**
9757
9835
  * Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
9758
9836
  *
@@ -9760,7 +9838,7 @@ export declare enum ModCallbackCustom {
9760
9838
  * function postGreedModeWave(oldWave: int, newWave: int): void {}
9761
9839
  * ```
9762
9840
  */
9763
- POST_GREED_MODE_WAVE = 33,
9841
+ POST_GREED_MODE_WAVE = 36,
9764
9842
  /**
9765
9843
  * Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
9766
9844
  * the broken state for the respective grid entity type. (For example, this will fire for a
@@ -9779,7 +9857,7 @@ export declare enum ModCallbackCustom {
9779
9857
  * function postGridEntityBroken(gridEntity: GridEntity): void {}
9780
9858
  * ```
9781
9859
  */
9782
- POST_GRID_ENTITY_BROKEN = 34,
9860
+ POST_GRID_ENTITY_BROKEN = 37,
9783
9861
  /**
9784
9862
  * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
9785
9863
  * this, the callback will not continue to fire. It will only fire again once the entity moves out
@@ -9807,7 +9885,7 @@ export declare enum ModCallbackCustom {
9807
9885
  * ): void {}
9808
9886
  * ```
9809
9887
  */
9810
- POST_GRID_ENTITY_COLLISION = 35,
9888
+ POST_GRID_ENTITY_COLLISION = 38,
9811
9889
  /**
9812
9890
  * The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
9813
9891
  * with the `spawnCustomGridEntity` helper function.
@@ -9824,7 +9902,7 @@ export declare enum ModCallbackCustom {
9824
9902
  * ): void {}
9825
9903
  * ```
9826
9904
  */
9827
- POST_GRID_ENTITY_CUSTOM_BROKEN = 36,
9905
+ POST_GRID_ENTITY_CUSTOM_BROKEN = 39,
9828
9906
  /**
9829
9907
  * The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
9830
9908
  * with the `spawnCustomGridEntity` helper function.
@@ -9848,7 +9926,7 @@ export declare enum ModCallbackCustom {
9848
9926
  * ): void {}
9849
9927
  * ```
9850
9928
  */
9851
- POST_GRID_ENTITY_CUSTOM_COLLISION = 37,
9929
+ POST_GRID_ENTITY_CUSTOM_COLLISION = 40,
9852
9930
  /**
9853
9931
  * The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
9854
9932
  * the `spawnCustomGridEntity` helper function.
@@ -9865,7 +9943,7 @@ export declare enum ModCallbackCustom {
9865
9943
  * ): void {}
9866
9944
  * ```
9867
9945
  */
9868
- POST_GRID_ENTITY_CUSTOM_INIT = 38,
9946
+ POST_GRID_ENTITY_CUSTOM_INIT = 41,
9869
9947
  /**
9870
9948
  * The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
9871
9949
  * with the `spawnCustomGridEntity` helper function.
@@ -9882,7 +9960,7 @@ export declare enum ModCallbackCustom {
9882
9960
  * ): void {}
9883
9961
  * ```
9884
9962
  */
9885
- POST_GRID_ENTITY_CUSTOM_REMOVE = 39,
9963
+ POST_GRID_ENTITY_CUSTOM_REMOVE = 42,
9886
9964
  /**
9887
9965
  * The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
9888
9966
  * with the `spawnCustomGridEntity` helper function.
@@ -9899,7 +9977,7 @@ export declare enum ModCallbackCustom {
9899
9977
  * ): void {}
9900
9978
  * ```
9901
9979
  */
9902
- POST_GRID_ENTITY_CUSTOM_RENDER = 40,
9980
+ POST_GRID_ENTITY_CUSTOM_RENDER = 43,
9903
9981
  /**
9904
9982
  * The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
9905
9983
  * created with the `spawnCustomGridEntity` helper function.
@@ -9918,7 +9996,7 @@ export declare enum ModCallbackCustom {
9918
9996
  * ): void {}
9919
9997
  * ```
9920
9998
  */
9921
- POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 41,
9999
+ POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 44,
9922
10000
  /**
9923
10001
  * The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
9924
10002
  * with the `spawnCustomGridEntity` helper function.
@@ -9935,7 +10013,7 @@ export declare enum ModCallbackCustom {
9935
10013
  * ): void {}
9936
10014
  * ```
9937
10015
  */
9938
- POST_GRID_ENTITY_CUSTOM_UPDATE = 42,
10016
+ POST_GRID_ENTITY_CUSTOM_UPDATE = 45,
9939
10017
  /**
9940
10018
  * Fires when a new grid entity is initialized. Specifically, this is either:
9941
10019
  *
@@ -9957,7 +10035,7 @@ export declare enum ModCallbackCustom {
9957
10035
  * function postGridEntityInit(gridEntity: GridEntity): void {}
9958
10036
  * ```
9959
10037
  */
9960
- POST_GRID_ENTITY_INIT = 43,
10038
+ POST_GRID_ENTITY_INIT = 46,
9961
10039
  /**
9962
10040
  * Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
9963
10041
  * the frame after it no longer exists (where it did exist a frame ago).
@@ -9982,7 +10060,7 @@ export declare enum ModCallbackCustom {
9982
10060
  * ): void {}
9983
10061
  * ```
9984
10062
  */
9985
- POST_GRID_ENTITY_REMOVE = 44,
10063
+ POST_GRID_ENTITY_REMOVE = 47,
9986
10064
  /**
9987
10065
  * Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
9988
10066
  *
@@ -9999,7 +10077,7 @@ export declare enum ModCallbackCustom {
9999
10077
  * function postGridEntityRender(gridEntity: GridEntity): void {}
10000
10078
  * ```
10001
10079
  */
10002
- POST_GRID_ENTITY_RENDER = 45,
10080
+ POST_GRID_ENTITY_RENDER = 48,
10003
10081
  /**
10004
10082
  * Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
10005
10083
  * "state" refers to the `GridEntity.State` field.)
@@ -10021,7 +10099,7 @@ export declare enum ModCallbackCustom {
10021
10099
  * ): void {}
10022
10100
  * ```
10023
10101
  */
10024
- POST_GRID_ENTITY_STATE_CHANGED = 46,
10102
+ POST_GRID_ENTITY_STATE_CHANGED = 49,
10025
10103
  /**
10026
10104
  * Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
10027
10105
  *
@@ -10038,7 +10116,7 @@ export declare enum ModCallbackCustom {
10038
10116
  * function postGridEntityUpdate(gridEntity: GridEntity): void {}
10039
10117
  * ```
10040
10118
  */
10041
- POST_GRID_ENTITY_UPDATE = 47,
10119
+ POST_GRID_ENTITY_UPDATE = 50,
10042
10120
  /**
10043
10121
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
10044
10122
  * temporary collectible effect.
@@ -10061,7 +10139,7 @@ export declare enum ModCallbackCustom {
10061
10139
  * ): void {}
10062
10140
  * ```
10063
10141
  */
10064
- POST_HOLY_MANTLE_REMOVED = 48,
10142
+ POST_HOLY_MANTLE_REMOVED = 51,
10065
10143
  /**
10066
10144
  * Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
10067
10145
  * active collectible item, implying that the item was just used.
@@ -10084,7 +10162,7 @@ export declare enum ModCallbackCustom {
10084
10162
  * ): void {}
10085
10163
  * ```
10086
10164
  */
10087
- POST_ITEM_DISCHARGE = 49,
10165
+ POST_ITEM_DISCHARGE = 52,
10088
10166
  /**
10089
10167
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
10090
10168
  * when the animation of the player holding the item above their head is finished and the item is
@@ -10105,7 +10183,7 @@ export declare enum ModCallbackCustom {
10105
10183
  * ): void {}
10106
10184
  * ```
10107
10185
  */
10108
- POST_ITEM_PICKUP = 50,
10186
+ POST_ITEM_PICKUP = 53,
10109
10187
  /**
10110
10188
  * Fires on the first `POST_RENDER` frame after a key on the keyboard has been pressed or
10111
10189
  * released. (In other words, the callback only fires when the "pressed" status is different than
@@ -10121,7 +10199,7 @@ export declare enum ModCallbackCustom {
10121
10199
  * function postKeyboardChanged(keyboard: Keyboard, pressed: boolean): void {}
10122
10200
  * ```
10123
10201
  */
10124
- POST_KEYBOARD_CHANGED = 51,
10202
+ POST_KEYBOARD_CHANGED = 54,
10125
10203
  /**
10126
10204
  * The exact same thing as the vanilla `POST_KNIFE_INIT` callback, except this callback allows you
10127
10205
  * to specify extra arguments for additional filtration.
@@ -10136,7 +10214,7 @@ export declare enum ModCallbackCustom {
10136
10214
  * function postKnifeInitFilter(knife: EntityKnife): void {}
10137
10215
  * ```
10138
10216
  */
10139
- POST_KNIFE_INIT_FILTER = 52,
10217
+ POST_KNIFE_INIT_FILTER = 55,
10140
10218
  /**
10141
10219
  * Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
10142
10220
  *
@@ -10153,7 +10231,7 @@ export declare enum ModCallbackCustom {
10153
10231
  * function postKnifeInitLate(knife: EntityKnife): void {}
10154
10232
  * ```
10155
10233
  */
10156
- POST_KNIFE_INIT_LATE = 53,
10234
+ POST_KNIFE_INIT_LATE = 56,
10157
10235
  /**
10158
10236
  * The exact same thing as the vanilla `POST_KNIFE_RENDER` callback, except this callback allows
10159
10237
  * you to specify extra arguments for additional filtration.
@@ -10168,7 +10246,7 @@ export declare enum ModCallbackCustom {
10168
10246
  * function postKnifeRenderFilter(knife: EntityKnife, renderOffset: Vector): void {}
10169
10247
  * ```
10170
10248
  */
10171
- POST_KNIFE_RENDER_FILTER = 54,
10249
+ POST_KNIFE_RENDER_FILTER = 57,
10172
10250
  /**
10173
10251
  * The exact same thing as the vanilla `POST_KNIFE_UPDATE` callback, except this callback allows
10174
10252
  * you to specify extra arguments for additional filtration.
@@ -10183,7 +10261,7 @@ export declare enum ModCallbackCustom {
10183
10261
  * function postKnifeUpdateFilter(knife: EntityKnife): void {}
10184
10262
  * ```
10185
10263
  */
10186
- POST_KNIFE_UPDATE_FILTER = 55,
10264
+ POST_KNIFE_UPDATE_FILTER = 58,
10187
10265
  /**
10188
10266
  * The exact same thing as the vanilla `POST_LASER_INIT` callback, except this callback allows you
10189
10267
  * to specify extra arguments for additional filtration.
@@ -10198,7 +10276,7 @@ export declare enum ModCallbackCustom {
10198
10276
  * function postLaserInitFilter(laser: EntityLaser): void {}
10199
10277
  * ```
10200
10278
  */
10201
- POST_LASER_INIT_FILTER = 56,
10279
+ POST_LASER_INIT_FILTER = 59,
10202
10280
  /**
10203
10281
  * Fires on the first `POST_LASER_UPDATE` frame for each laser.
10204
10282
  *
@@ -10215,7 +10293,7 @@ export declare enum ModCallbackCustom {
10215
10293
  * function postLaserInitLate(laser: EntityLaser): void {}
10216
10294
  * ```
10217
10295
  */
10218
- POST_LASER_INIT_LATE = 57,
10296
+ POST_LASER_INIT_LATE = 60,
10219
10297
  /**
10220
10298
  * The exact same thing as the vanilla `POST_LASER_RENDER` callback, except this callback allows
10221
10299
  * you to specify extra arguments for additional filtration.
@@ -10230,7 +10308,7 @@ export declare enum ModCallbackCustom {
10230
10308
  * function postLaserRenderFilter(laser: EntityLaser, renderOffset: Vector): void {}
10231
10309
  * ```
10232
10310
  */
10233
- POST_LASER_RENDER_FILTER = 58,
10311
+ POST_LASER_RENDER_FILTER = 61,
10234
10312
  /**
10235
10313
  * The exact same thing as the vanilla `POST_LASER_UPDATE` callback, except this callback allows
10236
10314
  * you to specify extra arguments for additional filtration.
@@ -10245,7 +10323,7 @@ export declare enum ModCallbackCustom {
10245
10323
  * function postLaserUpdateFilter(laser: EntityLaser): void {}
10246
10324
  * ```
10247
10325
  */
10248
- POST_LASER_UPDATE_FILTER = 59,
10326
+ POST_LASER_UPDATE_FILTER = 62,
10249
10327
  /**
10250
10328
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
10251
10329
  * to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
@@ -10271,7 +10349,7 @@ export declare enum ModCallbackCustom {
10271
10349
  * function postNewLevelReordered(stage: LevelStage, stageType: StageType): void {}
10272
10350
  * ```
10273
10351
  */
10274
- POST_NEW_LEVEL_REORDERED = 60,
10352
+ POST_NEW_LEVEL_REORDERED = 63,
10275
10353
  /**
10276
10354
  * Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
10277
10355
  * detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
@@ -10288,7 +10366,7 @@ export declare enum ModCallbackCustom {
10288
10366
  * function postNewRoomEarly(roomType: RoomType): void {}
10289
10367
  * ```
10290
10368
  */
10291
- POST_NEW_ROOM_EARLY = 61,
10369
+ POST_NEW_ROOM_EARLY = 64,
10292
10370
  /**
10293
10371
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
10294
10372
  * to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
@@ -10311,7 +10389,7 @@ export declare enum ModCallbackCustom {
10311
10389
  * function postNewRoomReordered(roomType: RoomType): void {}
10312
10390
  * ```
10313
10391
  */
10314
- POST_NEW_ROOM_REORDERED = 62,
10392
+ POST_NEW_ROOM_REORDERED = 65,
10315
10393
  /**
10316
10394
  * The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
10317
10395
  * to specify extra arguments for additional filtration.
@@ -10328,7 +10406,7 @@ export declare enum ModCallbackCustom {
10328
10406
  * function postNPCDeathFilter(npc: EntityNPC): void {}
10329
10407
  * ```
10330
10408
  */
10331
- POST_NPC_DEATH_FILTER = 63,
10409
+ POST_NPC_DEATH_FILTER = 66,
10332
10410
  /**
10333
10411
  * The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
10334
10412
  * to specify extra arguments for additional filtration.
@@ -10345,7 +10423,7 @@ export declare enum ModCallbackCustom {
10345
10423
  * function postNPCInitFilter(npc: EntityNPC): void {}
10346
10424
  * ```
10347
10425
  */
10348
- POST_NPC_INIT_FILTER = 64,
10426
+ POST_NPC_INIT_FILTER = 67,
10349
10427
  /**
10350
10428
  * Fires on the first `NPC_UPDATE` frame for each NPC.
10351
10429
  *
@@ -10364,7 +10442,7 @@ export declare enum ModCallbackCustom {
10364
10442
  * function postNPCInitLate(npc: EntityNPC): void {}
10365
10443
  * ```
10366
10444
  */
10367
- POST_NPC_INIT_LATE = 65,
10445
+ POST_NPC_INIT_LATE = 68,
10368
10446
  /**
10369
10447
  * The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
10370
10448
  * to specify extra arguments for additional filtration.
@@ -10381,7 +10459,7 @@ export declare enum ModCallbackCustom {
10381
10459
  * function postNPCRenderFilter(npc: EntityNPC, renderOffset: Vector): void {}
10382
10460
  * ```
10383
10461
  */
10384
- POST_NPC_RENDER_FILTER = 66,
10462
+ POST_NPC_RENDER_FILTER = 69,
10385
10463
  /**
10386
10464
  * Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
10387
10465
  * the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
@@ -10402,7 +10480,7 @@ export declare enum ModCallbackCustom {
10402
10480
  * ): void {}
10403
10481
  * ```
10404
10482
  */
10405
- POST_NPC_STATE_CHANGED = 67,
10483
+ POST_NPC_STATE_CHANGED = 70,
10406
10484
  /**
10407
10485
  * The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
10408
10486
  * to specify extra arguments for additional filtration.
@@ -10419,7 +10497,7 @@ export declare enum ModCallbackCustom {
10419
10497
  * function postNPCUpdateFilter(npc: EntityNPC): void {}
10420
10498
  * ```
10421
10499
  */
10422
- POST_NPC_UPDATE_FILTER = 68,
10500
+ POST_NPC_UPDATE_FILTER = 71,
10423
10501
  /**
10424
10502
  * Similar to the vanilla callback of the same name, but fires after the
10425
10503
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -10444,7 +10522,7 @@ export declare enum ModCallbackCustom {
10444
10522
  * function postPEffectUpdateReordered(player: EntityPlayer): void {}
10445
10523
  * ```
10446
10524
  */
10447
- POST_PEFFECT_UPDATE_REORDERED = 69,
10525
+ POST_PEFFECT_UPDATE_REORDERED = 72,
10448
10526
  /**
10449
10527
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup has a different variant or sub-type
10450
10528
  * than what it was on the previous frame.
@@ -10465,7 +10543,7 @@ export declare enum ModCallbackCustom {
10465
10543
  * ): void {}
10466
10544
  * ```
10467
10545
  */
10468
- POST_PICKUP_CHANGED = 70,
10546
+ POST_PICKUP_CHANGED = 73,
10469
10547
  /**
10470
10548
  * Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
10471
10549
  *
@@ -10484,7 +10562,7 @@ export declare enum ModCallbackCustom {
10484
10562
  * function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
10485
10563
  * ```
10486
10564
  */
10487
- POST_PICKUP_COLLECT = 71,
10565
+ POST_PICKUP_COLLECT = 74,
10488
10566
  /**
10489
10567
  * The exact same thing as the vanilla `POST_PICKUP_INIT` callback, except this callback allows
10490
10568
  * you to specify extra arguments for additional filtration.
@@ -10499,7 +10577,7 @@ export declare enum ModCallbackCustom {
10499
10577
  * function postPickupInitFilter(pickup: EntityPickup): void {}
10500
10578
  * ```
10501
10579
  */
10502
- POST_PICKUP_INIT_FILTER = 72,
10580
+ POST_PICKUP_INIT_FILTER = 75,
10503
10581
  /**
10504
10582
  * Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
10505
10583
  * respective pickup on the run.
@@ -10517,7 +10595,7 @@ export declare enum ModCallbackCustom {
10517
10595
  * function postPickupInitFirst(pickup: EntityPickup): void {}
10518
10596
  * ```
10519
10597
  */
10520
- POST_PICKUP_INIT_FIRST = 73,
10598
+ POST_PICKUP_INIT_FIRST = 76,
10521
10599
  /**
10522
10600
  * Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
10523
10601
  *
@@ -10534,7 +10612,7 @@ export declare enum ModCallbackCustom {
10534
10612
  * function postPickupInitLate(pickup: EntityPickup): void {}
10535
10613
  * ```
10536
10614
  */
10537
- POST_PICKUP_INIT_LATE = 74,
10615
+ POST_PICKUP_INIT_LATE = 77,
10538
10616
  /**
10539
10617
  * The exact same thing as the vanilla `POST_PICKUP_RENDER` callback, except this callback allows
10540
10618
  * you to specify extra arguments for additional filtration.
@@ -10549,7 +10627,7 @@ export declare enum ModCallbackCustom {
10549
10627
  * function postPickupRenderFilter(pickup: EntityPickup, renderOffset: Vector): void {}
10550
10628
  * ```
10551
10629
  */
10552
- POST_PICKUP_RENDER_FILTER = 75,
10630
+ POST_PICKUP_RENDER_FILTER = 78,
10553
10631
  /**
10554
10632
  * The exact same thing as the vanilla `POST_PICKUP_SELECTION` callback, except this callback
10555
10633
  * allows you to specify extra arguments for additional filtration.
@@ -10568,7 +10646,7 @@ export declare enum ModCallbackCustom {
10568
10646
  * ): [PickupVariant, int] | undefined {}
10569
10647
  * ```
10570
10648
  */
10571
- POST_PICKUP_SELECTION_FILTER = 76,
10649
+ POST_PICKUP_SELECTION_FILTER = 79,
10572
10650
  /**
10573
10651
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
10574
10652
  * on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
@@ -10587,7 +10665,7 @@ export declare enum ModCallbackCustom {
10587
10665
  * ): void {}
10588
10666
  * ```
10589
10667
  */
10590
- POST_PICKUP_STATE_CHANGED = 77,
10668
+ POST_PICKUP_STATE_CHANGED = 80,
10591
10669
  /**
10592
10670
  * The exact same thing as the vanilla `POST_PICKUP_UPDATE` callback, except this callback allows
10593
10671
  * you to specify extra arguments for additional filtration.
@@ -10602,7 +10680,7 @@ export declare enum ModCallbackCustom {
10602
10680
  * function postPickupUpdateFilter(pickup: EntityPickup): void {}
10603
10681
  * ```
10604
10682
  */
10605
- POST_PICKUP_UPDATE_FILTER = 78,
10683
+ POST_PICKUP_UPDATE_FILTER = 81,
10606
10684
  /**
10607
10685
  * Fires from the `POST_RENDER` callback on every frame that a pit exists.
10608
10686
  *
@@ -10614,7 +10692,7 @@ export declare enum ModCallbackCustom {
10614
10692
  * function postPitRender(pit: GridEntityPit): void {}
10615
10693
  * ```
10616
10694
  */
10617
- POST_PIT_RENDER = 79,
10695
+ POST_PIT_RENDER = 82,
10618
10696
  /**
10619
10697
  * Fires from the `POST_UPDATE` callback on every frame that a pit exists.
10620
10698
  *
@@ -10626,7 +10704,7 @@ export declare enum ModCallbackCustom {
10626
10704
  * function postPitUpdate(pit: GridEntityPit): void {}
10627
10705
  * ```
10628
10706
  */
10629
- POST_PIT_UPDATE = 80,
10707
+ POST_PIT_UPDATE = 83,
10630
10708
  /**
10631
10709
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
10632
10710
  * different than what it was on the previous frame. For more information, see the `PlayerHealth`
@@ -10648,7 +10726,7 @@ export declare enum ModCallbackCustom {
10648
10726
  * ): void {}
10649
10727
  * ```
10650
10728
  */
10651
- POST_PLAYER_CHANGE_HEALTH = 81,
10729
+ POST_PLAYER_CHANGE_HEALTH = 84,
10652
10730
  /**
10653
10731
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
10654
10732
  * from what they were on the previous frame.
@@ -10678,7 +10756,7 @@ export declare enum ModCallbackCustom {
10678
10756
  * ) => void {}
10679
10757
  * ```
10680
10758
  */
10681
- POST_PLAYER_CHANGE_STAT = 82,
10759
+ POST_PLAYER_CHANGE_STAT = 85,
10682
10760
  /**
10683
10761
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
10684
10762
  * type
@@ -10701,7 +10779,7 @@ export declare enum ModCallbackCustom {
10701
10779
  * ): void {}
10702
10780
  * ```
10703
10781
  */
10704
- POST_PLAYER_CHANGE_TYPE = 83,
10782
+ POST_PLAYER_CHANGE_TYPE = 86,
10705
10783
  /**
10706
10784
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
10707
10785
  * higher than what it was on the previous frame, or when the active items change, or when the
@@ -10718,7 +10796,7 @@ export declare enum ModCallbackCustom {
10718
10796
  * ): void {}
10719
10797
  * ```
10720
10798
  */
10721
- POST_PLAYER_COLLECTIBLE_ADDED = 84,
10799
+ POST_PLAYER_COLLECTIBLE_ADDED = 87,
10722
10800
  /**
10723
10801
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
10724
10802
  * lower than what it was on the previous frame, or when the active items change, or when the
@@ -10735,7 +10813,7 @@ export declare enum ModCallbackCustom {
10735
10813
  * ): void {}
10736
10814
  * ```
10737
10815
  */
10738
- POST_PLAYER_COLLECTIBLE_REMOVED = 85,
10816
+ POST_PLAYER_COLLECTIBLE_REMOVED = 88,
10739
10817
  /**
10740
10818
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
10741
10819
  * prevent the fatal damage.
@@ -10753,7 +10831,7 @@ export declare enum ModCallbackCustom {
10753
10831
  * function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
10754
10832
  * ```
10755
10833
  */
10756
- POST_PLAYER_FATAL_DAMAGE = 86,
10834
+ POST_PLAYER_FATAL_DAMAGE = 89,
10757
10835
  /**
10758
10836
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
10759
10837
  * `POST_PLAYER_INIT_LATE` callback, with two changes:
@@ -10775,7 +10853,7 @@ export declare enum ModCallbackCustom {
10775
10853
  * function postPlayerInitFirst(player: EntityPlayer): void {}
10776
10854
  * ```
10777
10855
  */
10778
- POST_PLAYER_INIT_FIRST = 87,
10856
+ POST_PLAYER_INIT_FIRST = 90,
10779
10857
  /**
10780
10858
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
10781
10859
  *
@@ -10795,7 +10873,7 @@ export declare enum ModCallbackCustom {
10795
10873
  * function postPlayerInitLate(pickup: EntityPickup): void {}
10796
10874
  * ```
10797
10875
  */
10798
- POST_PLAYER_INIT_LATE = 88,
10876
+ POST_PLAYER_INIT_LATE = 91,
10799
10877
  /**
10800
10878
  * Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
10801
10879
  * callback fires (if the player is spawning on the 0th game frame of the run).
@@ -10819,7 +10897,7 @@ export declare enum ModCallbackCustom {
10819
10897
  * function postPlayerRenderReordered(player: EntityPlayer, renderOffset: Vector): void {}
10820
10898
  * ```
10821
10899
  */
10822
- POST_PLAYER_RENDER_REORDERED = 89,
10900
+ POST_PLAYER_RENDER_REORDERED = 92,
10823
10901
  /**
10824
10902
  * Similar to the vanilla callback of the same name, but fires after the
10825
10903
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -10844,7 +10922,7 @@ export declare enum ModCallbackCustom {
10844
10922
  * function postPlayerUpdateReordered(player: EntityPlayer): void {}
10845
10923
  * ```
10846
10924
  */
10847
- POST_PLAYER_UPDATE_REORDERED = 90,
10925
+ POST_PLAYER_UPDATE_REORDERED = 93,
10848
10926
  /**
10849
10927
  * Fires from the `POST_RENDER` callback on every frame that a poop exists.
10850
10928
  *
@@ -10856,7 +10934,7 @@ export declare enum ModCallbackCustom {
10856
10934
  * function postPoopRender(poop: GridEntityPoop): void {}
10857
10935
  * ```
10858
10936
  */
10859
- POST_POOP_RENDER = 91,
10937
+ POST_POOP_RENDER = 94,
10860
10938
  /**
10861
10939
  * Fires from the `POST_UPDATE` callback on every frame that a poop exists.
10862
10940
  *
@@ -10868,7 +10946,7 @@ export declare enum ModCallbackCustom {
10868
10946
  * function postPoopUpdate(poop: GridEntityPoop): void {}
10869
10947
  * ```
10870
10948
  */
10871
- POST_POOP_UPDATE = 92,
10949
+ POST_POOP_UPDATE = 95,
10872
10950
  /**
10873
10951
  * Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
10874
10952
  *
@@ -10880,7 +10958,7 @@ export declare enum ModCallbackCustom {
10880
10958
  * function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
10881
10959
  * ```
10882
10960
  */
10883
- POST_PRESSURE_PLATE_RENDER = 93,
10961
+ POST_PRESSURE_PLATE_RENDER = 96,
10884
10962
  /**
10885
10963
  * Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
10886
10964
  *
@@ -10892,7 +10970,7 @@ export declare enum ModCallbackCustom {
10892
10970
  * function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
10893
10971
  * ```
10894
10972
  */
10895
- POST_PRESSURE_PLATE_UPDATE = 94,
10973
+ POST_PRESSURE_PLATE_UPDATE = 97,
10896
10974
  /**
10897
10975
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
10898
10976
  * allows you to specify extra arguments for additional filtration.
@@ -10907,7 +10985,7 @@ export declare enum ModCallbackCustom {
10907
10985
  * function postProjectileInitFilter(tear: EntityTear): void {}
10908
10986
  * ```
10909
10987
  */
10910
- POST_PROJECTILE_INIT_FILTER = 95,
10988
+ POST_PROJECTILE_INIT_FILTER = 98,
10911
10989
  /**
10912
10990
  * Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
10913
10991
  *
@@ -10924,7 +11002,7 @@ export declare enum ModCallbackCustom {
10924
11002
  * function postProjectileInitLate(projectile: EntityProjectile): void {}
10925
11003
  * ```
10926
11004
  */
10927
- POST_PROJECTILE_INIT_LATE = 96,
11005
+ POST_PROJECTILE_INIT_LATE = 99,
10928
11006
  /**
10929
11007
  * The exact same thing as the vanilla `POST_PROJECTILE_RENDER` callback, except this callback
10930
11008
  * allows you to specify extra arguments for additional filtration.
@@ -10939,7 +11017,7 @@ export declare enum ModCallbackCustom {
10939
11017
  * function postProjectileRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
10940
11018
  * ```
10941
11019
  */
10942
- POST_PROJECTILE_RENDER_FILTER = 97,
11020
+ POST_PROJECTILE_RENDER_FILTER = 100,
10943
11021
  /**
10944
11022
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
10945
11023
  * allows you to specify extra arguments for additional filtration.
@@ -10954,7 +11032,7 @@ export declare enum ModCallbackCustom {
10954
11032
  * function postProjectileUpdateFilter(tear: EntityTear): void {}
10955
11033
  * ```
10956
11034
  */
10957
- POST_PROJECTILE_UPDATE_FILTER = 98,
11035
+ POST_PROJECTILE_UPDATE_FILTER = 101,
10958
11036
  /**
10959
11037
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
10960
11038
  * item. The pickup returned in the callback is assumed to be the first pickup that no longer
@@ -10970,7 +11048,7 @@ export declare enum ModCallbackCustom {
10970
11048
  * function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
10971
11049
  * ```
10972
11050
  */
10973
- POST_PURCHASE = 99,
11051
+ POST_PURCHASE = 102,
10974
11052
  /**
10975
11053
  * Fires from the `POST_RENDER` callback on every frame that a rock exists.
10976
11054
  *
@@ -10984,7 +11062,7 @@ export declare enum ModCallbackCustom {
10984
11062
  * function postRockRender(rock: GridEntityRock): void {}
10985
11063
  * ```
10986
11064
  */
10987
- POST_ROCK_RENDER = 100,
11065
+ POST_ROCK_RENDER = 103,
10988
11066
  /**
10989
11067
  * Fires from the `POST_UPDATE` callback on every frame that a rock exists.
10990
11068
  *
@@ -10998,7 +11076,7 @@ export declare enum ModCallbackCustom {
10998
11076
  * function postRockUpdate(rock: GridEntityRock): void {}
10999
11077
  * ```
11000
11078
  */
11001
- POST_ROCK_UPDATE = 101,
11079
+ POST_ROCK_UPDATE = 104,
11002
11080
  /**
11003
11081
  * Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
11004
11082
  * the `Room.IsClear` method).
@@ -11015,7 +11093,7 @@ export declare enum ModCallbackCustom {
11015
11093
  * function postRoomClearChanged(roomClear: boolean): void {}
11016
11094
  * ```
11017
11095
  */
11018
- POST_ROOM_CLEAR_CHANGED = 102,
11096
+ POST_ROOM_CLEAR_CHANGED = 105,
11019
11097
  /**
11020
11098
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
11021
11099
  * Room.
@@ -11030,7 +11108,7 @@ export declare enum ModCallbackCustom {
11030
11108
  * function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
11031
11109
  * ```
11032
11110
  */
11033
- POST_SACRIFICE = 103,
11111
+ POST_SACRIFICE = 106,
11034
11112
  /**
11035
11113
  * Fires from the `POST_RENDER` callback when a slot entity's animation changes.
11036
11114
  *
@@ -11048,7 +11126,7 @@ export declare enum ModCallbackCustom {
11048
11126
  * ): void {}
11049
11127
  * ```
11050
11128
  */
11051
- POST_SLOT_ANIMATION_CHANGED = 104,
11129
+ POST_SLOT_ANIMATION_CHANGED = 107,
11052
11130
  /**
11053
11131
  * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
11054
11132
  * (It will not fire if any other type of entity collides with the slot entity.)
@@ -11072,7 +11150,7 @@ export declare enum ModCallbackCustom {
11072
11150
  * ): void {}
11073
11151
  * ```
11074
11152
  */
11075
- POST_SLOT_COLLISION = 105,
11153
+ POST_SLOT_COLLISION = 108,
11076
11154
  /**
11077
11155
  * Fires from the `POST_SLOT_UPDATE` or the `POST_ENTITY_REMOVE` callback when a slot machine is
11078
11156
  * destroyed or a beggar is removed.
@@ -11114,7 +11192,7 @@ export declare enum ModCallbackCustom {
11114
11192
  * function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
11115
11193
  * ```
11116
11194
  */
11117
- POST_SLOT_DESTROYED = 106,
11195
+ POST_SLOT_DESTROYED = 109,
11118
11196
  /**
11119
11197
  * Fires when a new slot entity is initialized. Specifically, this is either:
11120
11198
  *
@@ -11133,7 +11211,7 @@ export declare enum ModCallbackCustom {
11133
11211
  * function postSlotInit(slot: Entity): void {}
11134
11212
  * ```
11135
11213
  */
11136
- POST_SLOT_INIT = 107,
11214
+ POST_SLOT_INIT = 110,
11137
11215
  /**
11138
11216
  * Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
11139
11217
  *
@@ -11147,7 +11225,7 @@ export declare enum ModCallbackCustom {
11147
11225
  * function postSlotRender(slot: Entity): void {}
11148
11226
  * ```
11149
11227
  */
11150
- POST_SLOT_RENDER = 108,
11228
+ POST_SLOT_RENDER = 111,
11151
11229
  /**
11152
11230
  * Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
11153
11231
  *
@@ -11161,7 +11239,7 @@ export declare enum ModCallbackCustom {
11161
11239
  * function postSlotUpdate(slot: Entity): void {}
11162
11240
  * ```
11163
11241
  */
11164
- POST_SLOT_UPDATE = 109,
11242
+ POST_SLOT_UPDATE = 112,
11165
11243
  /**
11166
11244
  * Fires from the `POST_RENDER` callback on every frame that spikes exist.
11167
11245
  *
@@ -11173,7 +11251,7 @@ export declare enum ModCallbackCustom {
11173
11251
  * function postSpikesRender(spikes: GridEntitySpikes): void {}
11174
11252
  * ```
11175
11253
  */
11176
- POST_SPIKES_RENDER = 110,
11254
+ POST_SPIKES_RENDER = 113,
11177
11255
  /**
11178
11256
  * Fires from the `POST_UPDATE` callback on every frame that spikes exist.
11179
11257
  *
@@ -11185,7 +11263,7 @@ export declare enum ModCallbackCustom {
11185
11263
  * function postSpikesUpdate(spikes: GridEntitySpikes): void {}
11186
11264
  * ```
11187
11265
  */
11188
- POST_SPIKES_UPDATE = 111,
11266
+ POST_SPIKES_UPDATE = 114,
11189
11267
  /**
11190
11268
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
11191
11269
  * to specify extra arguments for additional filtration.
@@ -11200,7 +11278,7 @@ export declare enum ModCallbackCustom {
11200
11278
  * function postTearInitFilter(tear: EntityTear): void {}
11201
11279
  * ```
11202
11280
  */
11203
- POST_TEAR_INIT_FILTER = 112,
11281
+ POST_TEAR_INIT_FILTER = 115,
11204
11282
  /**
11205
11283
  * Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
11206
11284
  * `EntityTear.FrameCount` is equal to 0).
@@ -11218,7 +11296,7 @@ export declare enum ModCallbackCustom {
11218
11296
  * function postTearInitLate(tear: EntityTear): void {}
11219
11297
  * ```
11220
11298
  */
11221
- POST_TEAR_INIT_LATE = 113,
11299
+ POST_TEAR_INIT_LATE = 116,
11222
11300
  /**
11223
11301
  * Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
11224
11302
  * `EntityTear.FrameCount` is equal to 1).
@@ -11235,7 +11313,7 @@ export declare enum ModCallbackCustom {
11235
11313
  * function postTearInitVeryLate(tear: EntityTear): void {}
11236
11314
  * ```
11237
11315
  */
11238
- POST_TEAR_INIT_VERY_LATE = 114,
11316
+ POST_TEAR_INIT_VERY_LATE = 117,
11239
11317
  /**
11240
11318
  * The exact same thing as the vanilla `POST_TEAR_RENDER` callback, except this callback allows
11241
11319
  * you to specify extra arguments for additional filtration.
@@ -11250,7 +11328,7 @@ export declare enum ModCallbackCustom {
11250
11328
  * function postTearRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
11251
11329
  * ```
11252
11330
  */
11253
- POST_TEAR_RENDER_FILTER = 115,
11331
+ POST_TEAR_RENDER_FILTER = 118,
11254
11332
  /**
11255
11333
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
11256
11334
  * to specify extra arguments for additional filtration.
@@ -11265,7 +11343,7 @@ export declare enum ModCallbackCustom {
11265
11343
  * function postTearUpdateFilter(tear: EntityTear): void {}
11266
11344
  * ```
11267
11345
  */
11268
- POST_TEAR_UPDATE_FILTER = 116,
11346
+ POST_TEAR_UPDATE_FILTER = 119,
11269
11347
  /**
11270
11348
  * Fires from the `POST_RENDER` callback on every frame that a TNT exists.
11271
11349
  *
@@ -11277,7 +11355,7 @@ export declare enum ModCallbackCustom {
11277
11355
  * function postTNTRender(tnt: GridEntityTNT): void {}
11278
11356
  * ```
11279
11357
  */
11280
- POST_TNT_RENDER = 117,
11358
+ POST_TNT_RENDER = 120,
11281
11359
  /**
11282
11360
  * Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
11283
11361
  *
@@ -11289,7 +11367,7 @@ export declare enum ModCallbackCustom {
11289
11367
  * function postTNTUpdate(tnt: GridEntityTNT): void {}
11290
11368
  * ```
11291
11369
  */
11292
- POST_TNT_UPDATE = 118,
11370
+ POST_TNT_UPDATE = 121,
11293
11371
  /**
11294
11372
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
11295
11373
  * transformation.
@@ -11308,7 +11386,7 @@ export declare enum ModCallbackCustom {
11308
11386
  * ): void {}
11309
11387
  * ```
11310
11388
  */
11311
- POST_TRANSFORMATION = 119,
11389
+ POST_TRANSFORMATION = 122,
11312
11390
  /**
11313
11391
  * Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
11314
11392
  *
@@ -11323,7 +11401,7 @@ export declare enum ModCallbackCustom {
11323
11401
  * ): void {}
11324
11402
  * ```
11325
11403
  */
11326
- POST_TRINKET_BREAK = 120,
11404
+ POST_TRINKET_BREAK = 123,
11327
11405
  /**
11328
11406
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
11329
11407
  * ends when the player is predicted to die (e.g. they currently have no health left or they took
@@ -11339,7 +11417,26 @@ export declare enum ModCallbackCustom {
11339
11417
  * function preBerserkDeath(player: EntityPlayer): void {}
11340
11418
  * ```
11341
11419
  */
11342
- PRE_BERSERK_DEATH = 121,
11420
+ PRE_BERSERK_DEATH = 124,
11421
+ /**
11422
+ * The exact same thing as the vanilla `PRE_BOMB_COLLISION` callback, except this callback allows
11423
+ * you to specify extra arguments for additional filtration.
11424
+ *
11425
+ * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
11426
+ * - You can provide an optional third argument that will make the callback only fire if it
11427
+ * matches the `BombVariant` provided.
11428
+ * - You can provide an optional fourth argument that will make the callback only fire if it
11429
+ * matches the sub-type provided.
11430
+ *
11431
+ * ```ts
11432
+ * function preBombCollisionFilter(
11433
+ * bomb: EntityBomb,
11434
+ * collider: Entity,
11435
+ * low: boolean,
11436
+ * ): void {}
11437
+ * ```
11438
+ */
11439
+ PRE_BOMB_COLLISION_FILTER = 125,
11343
11440
  /**
11344
11441
  * Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
11345
11442
  * to initiate a custom revival, return an integer that corresponds to the item or type of revival
@@ -11358,7 +11455,7 @@ export declare enum ModCallbackCustom {
11358
11455
  * function preCustomRevive(player: EntityPlayer): int | undefined {}
11359
11456
  * ```
11360
11457
  */
11361
- PRE_CUSTOM_REVIVE = 122,
11458
+ PRE_CUSTOM_REVIVE = 126,
11362
11459
  /**
11363
11460
  * The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
11364
11461
  * you to specify extra arguments for additional filtration.
@@ -11383,7 +11480,7 @@ export declare enum ModCallbackCustom {
11383
11480
  * ): [EntityType, int, int, int] | undefined {}
11384
11481
  * ```
11385
11482
  */
11386
- PRE_ENTITY_SPAWN_FILTER = 123,
11483
+ PRE_ENTITY_SPAWN_FILTER = 127,
11387
11484
  /**
11388
11485
  * The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
11389
11486
  * allows you to specify extra arguments for additional filtration.
@@ -11402,7 +11499,7 @@ export declare enum ModCallbackCustom {
11402
11499
  * ): void {}
11403
11500
  * ```
11404
11501
  */
11405
- PRE_FAMILIAR_COLLISION_FILTER = 124,
11502
+ PRE_FAMILIAR_COLLISION_FILTER = 128,
11406
11503
  /**
11407
11504
  * Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
11408
11505
  * meets all of the conditions to pick it up.
@@ -11422,7 +11519,7 @@ export declare enum ModCallbackCustom {
11422
11519
  * function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
11423
11520
  * ```
11424
11521
  */
11425
- PRE_GET_PEDESTAL = 125,
11522
+ PRE_GET_PEDESTAL = 129,
11426
11523
  /**
11427
11524
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
11428
11525
  * the player begins to hold the item above their head).
@@ -11442,7 +11539,7 @@ export declare enum ModCallbackCustom {
11442
11539
  * ): void {}
11443
11540
  * ```
11444
11541
  */
11445
- PRE_ITEM_PICKUP = 126,
11542
+ PRE_ITEM_PICKUP = 130,
11446
11543
  /**
11447
11544
  * The exact same thing as the vanilla `PRE_KNIFE_COLLISION` callback, except this callback allows
11448
11545
  * you to specify extra arguments for additional filtration.
@@ -11461,7 +11558,7 @@ export declare enum ModCallbackCustom {
11461
11558
  * ): void {}
11462
11559
  * ```
11463
11560
  */
11464
- PRE_KNIFE_COLLISION_FILTER = 127,
11561
+ PRE_KNIFE_COLLISION_FILTER = 131,
11465
11562
  /**
11466
11563
  * Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
11467
11564
  * player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
@@ -11475,7 +11572,7 @@ export declare enum ModCallbackCustom {
11475
11572
  * function preNewLevel(player: EntityPlayer): void {}
11476
11573
  * ```
11477
11574
  */
11478
- PRE_NEW_LEVEL = 128,
11575
+ PRE_NEW_LEVEL = 132,
11479
11576
  /**
11480
11577
  * The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
11481
11578
  * you to specify extra arguments for additional filtration.
@@ -11496,7 +11593,7 @@ export declare enum ModCallbackCustom {
11496
11593
  * ): boolean | undefined {}
11497
11594
  * ```
11498
11595
  */
11499
- PRE_NPC_COLLISION_FILTER = 129,
11596
+ PRE_NPC_COLLISION_FILTER = 133,
11500
11597
  /**
11501
11598
  * The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
11502
11599
  * to specify extra arguments for additional filtration.
@@ -11513,7 +11610,7 @@ export declare enum ModCallbackCustom {
11513
11610
  * function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
11514
11611
  * ```
11515
11612
  */
11516
- PRE_NPC_UPDATE_FILTER = 130,
11613
+ PRE_NPC_UPDATE_FILTER = 134,
11517
11614
  /**
11518
11615
  * The exact same thing as the vanilla `PRE_PROJECTILE_COLLISION` callback, except this callback
11519
11616
  * allows you to specify extra arguments for additional filtration.
@@ -11532,7 +11629,7 @@ export declare enum ModCallbackCustom {
11532
11629
  * ): void {}
11533
11630
  * ```
11534
11631
  */
11535
- PRE_PROJECTILE_COLLISION_FILTER = 131,
11632
+ PRE_PROJECTILE_COLLISION_FILTER = 135,
11536
11633
  /**
11537
11634
  * The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
11538
11635
  * allows you to specify extra arguments for additional filtration.
@@ -11555,7 +11652,7 @@ export declare enum ModCallbackCustom {
11555
11652
  * ): [EntityType | GridEntityXMLType, int, int] | undefined {}
11556
11653
  * ```
11557
11654
  */
11558
- PRE_ROOM_ENTITY_SPAWN_FILTER = 132,
11655
+ PRE_ROOM_ENTITY_SPAWN_FILTER = 136,
11559
11656
  /**
11560
11657
  * The exact same thing as the vanilla `PRE_TEAR_COLLISION` callback, except this callback allows
11561
11658
  * you to specify extra arguments for additional filtration.
@@ -11574,7 +11671,7 @@ export declare enum ModCallbackCustom {
11574
11671
  * ): void {}
11575
11672
  * ```
11576
11673
  */
11577
- PRE_TEAR_COLLISION_FILTER = 133
11674
+ PRE_TEAR_COLLISION_FILTER = 137
11578
11675
  }
11579
11676
 
11580
11677
  /**