isaacscript-common 29.5.0 → 29.5.2

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 (70) hide show
  1. package/dist/index.rollup.d.ts +148 -228
  2. package/dist/isaacscript-common.lua +1682 -1711
  3. package/dist/src/callbackClasses.d.ts +0 -1
  4. package/dist/src/callbackClasses.d.ts.map +1 -1
  5. package/dist/src/callbackClasses.lua +0 -5
  6. package/dist/src/callbacks.d.ts +126 -127
  7. package/dist/src/callbacks.d.ts.map +1 -1
  8. package/dist/src/callbacks.lua +0 -1
  9. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts +1 -1
  10. package/dist/src/classes/features/callbackLogic/EsauJrDetection.d.ts.map +1 -1
  11. package/dist/src/classes/features/callbackLogic/EsauJrDetection.lua +2 -2
  12. package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts +1 -1
  13. package/dist/src/classes/features/callbackLogic/FlipDetection.d.ts.map +1 -1
  14. package/dist/src/classes/features/callbackLogic/FlipDetection.lua +2 -2
  15. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts +1 -1
  16. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.d.ts.map +1 -1
  17. package/dist/src/classes/features/callbackLogic/GameReorderedCallbacks.lua +2 -2
  18. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts +1 -1
  19. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.d.ts.map +1 -1
  20. package/dist/src/classes/features/callbackLogic/PlayerCollectibleDetection.lua +2 -2
  21. package/dist/src/classes/features/other/PickupIndexCreation.d.ts +4 -0
  22. package/dist/src/classes/features/other/PickupIndexCreation.d.ts.map +1 -1
  23. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts +9 -3
  24. package/dist/src/classes/features/other/PreventCollectibleRotation.d.ts.map +1 -1
  25. package/dist/src/classes/features/other/PreventCollectibleRotation.lua +66 -25
  26. package/dist/src/enums/ModCallbackCustom.d.ts +126 -144
  27. package/dist/src/enums/ModCallbackCustom.d.ts.map +1 -1
  28. package/dist/src/enums/ModCallbackCustom.lua +126 -128
  29. package/dist/src/features.d.ts.map +1 -1
  30. package/dist/src/features.lua +2 -2
  31. package/dist/src/functions/collectibles.d.ts +0 -52
  32. package/dist/src/functions/collectibles.d.ts.map +1 -1
  33. package/dist/src/functions/collectibles.lua +0 -68
  34. package/dist/src/functions/playerIndex.d.ts +3 -3
  35. package/dist/src/functions/playerIndex.lua +3 -3
  36. package/dist/src/functions/utils.d.ts +2 -0
  37. package/dist/src/functions/utils.d.ts.map +1 -1
  38. package/dist/src/functions/utils.lua +2 -0
  39. package/dist/src/index.d.ts +0 -1
  40. package/dist/src/index.d.ts.map +1 -1
  41. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts +0 -4
  42. package/dist/src/interfaces/private/AddCallbackParametersCustom.d.ts.map +1 -1
  43. package/dist/src/shouldFire.d.ts +0 -1
  44. package/dist/src/shouldFire.d.ts.map +1 -1
  45. package/dist/src/shouldFire.lua +0 -5
  46. package/package.json +2 -2
  47. package/src/callbackClasses.ts +0 -1
  48. package/src/callbacks.ts +0 -1
  49. package/src/classes/features/callbackLogic/EsauJrDetection.ts +2 -2
  50. package/src/classes/features/callbackLogic/FlipDetection.ts +2 -2
  51. package/src/classes/features/callbackLogic/GameReorderedCallbacks.ts +2 -2
  52. package/src/classes/features/callbackLogic/PlayerCollectibleDetection.ts +2 -2
  53. package/src/classes/features/other/PickupIndexCreation.ts +4 -0
  54. package/src/classes/features/other/PreventCollectibleRotation.ts +108 -49
  55. package/src/enums/ModCallbackCustom.ts +0 -19
  56. package/src/features.ts +7 -5
  57. package/src/functions/collectibles.ts +0 -79
  58. package/src/functions/playerIndex.ts +3 -3
  59. package/src/functions/utils.ts +2 -0
  60. package/src/index.ts +0 -1
  61. package/src/interfaces/private/AddCallbackParametersCustom.ts +0 -5
  62. package/src/shouldFire.ts +0 -13
  63. package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts +0 -15
  64. package/dist/src/classes/callbacks/PostCollectibleInitFirst.d.ts.map +0 -1
  65. package/dist/src/classes/callbacks/PostCollectibleInitFirst.lua +0 -36
  66. package/dist/src/types/CollectibleIndex.d.ts +0 -18
  67. package/dist/src/types/CollectibleIndex.d.ts.map +0 -1
  68. package/dist/src/types/CollectibleIndex.lua +0 -2
  69. package/src/classes/callbacks/PostCollectibleInitFirst.ts +0 -44
  70. package/src/types/CollectibleIndex.ts +0 -17
@@ -219,24 +219,6 @@ export declare enum ModCallbackCustom {
219
219
  * ```
220
220
  */
221
221
  POST_COLLECTIBLE_EMPTY = 12,
222
- /**
223
- * Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
224
- * respective collectible on the run. For more details on how this is calculated, see the
225
- * documentation for the `getCollectibleIndex` helper function.
226
- *
227
- * This callback is useful because collectibles will despawn upon leaving the room and respawn
228
- * upon re-entering the room. Additionally, when playing as Tainted Isaac, the `POST_PICKUP_INIT`
229
- * callback will fire every time the item shifts.
230
- *
231
- * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
232
- * - You can provide an optional third argument that will make the callback only fire if it
233
- * matches the `CollectibleType` provided.
234
- *
235
- * ```ts
236
- * function postCollectibleInitLate(collectible: EntityPickupCollectible): void {}
237
- * ```
238
- */
239
- POST_COLLECTIBLE_INIT_FIRST = 13,
240
222
  /**
241
223
  * Fires from the `POST_PLAYER_RENDER` callback on the first frame that the "TeleportUp" animation
242
224
  * begins playing after a player triggers a Cursed Eye teleport or a Cursed Skull teleport. (Both
@@ -252,7 +234,7 @@ export declare enum ModCallbackCustom {
252
234
  * function postCursedTeleport(player: EntityPlayer): void {}
253
235
  * ```
254
236
  */
255
- POST_CURSED_TELEPORT = 14,
237
+ POST_CURSED_TELEPORT = 13,
256
238
  /**
257
239
  * Fires from the `POST_PLAYER_UPDATE` callback after the player has finished the death animation,
258
240
  * has teleported to the previous room, and is ready to play the animation for the modded revival
@@ -270,7 +252,7 @@ export declare enum ModCallbackCustom {
270
252
  * function postCustomRevive(player: EntityPlayer, revivalType: int): void {}
271
253
  * ```
272
254
  */
273
- POST_CUSTOM_REVIVE = 15,
255
+ POST_CUSTOM_REVIVE = 14,
274
256
  /**
275
257
  * Fires from the `EFFECT_POST_UPDATE` callback after a player has entered the range of a Dice
276
258
  * Room floor.
@@ -286,7 +268,7 @@ export declare enum ModCallbackCustom {
286
268
  * ): void {}
287
269
  * ```
288
270
  */
289
- POST_DICE_ROOM_ACTIVATED = 16,
271
+ POST_DICE_ROOM_ACTIVATED = 15,
290
272
  /**
291
273
  * Fires from the `POST_RENDER` callback on every frame that a door exists.
292
274
  *
@@ -298,7 +280,7 @@ export declare enum ModCallbackCustom {
298
280
  * function postDoorRender(door: GridEntityDoor): void {}
299
281
  * ```
300
282
  */
301
- POST_DOOR_RENDER = 17,
283
+ POST_DOOR_RENDER = 16,
302
284
  /**
303
285
  * Fires from the `POST_UPDATE` callback on every frame that a door exists.
304
286
  *
@@ -310,7 +292,7 @@ export declare enum ModCallbackCustom {
310
292
  * function postDoorUpdate(door: GridEntityDoor): void {}
311
293
  * ```
312
294
  */
313
- POST_DOOR_UPDATE = 18,
295
+ POST_DOOR_UPDATE = 17,
314
296
  /**
315
297
  * The exact same thing as the vanilla `POST_EFFECT_INIT` callback, except this callback allows
316
298
  * you to specify extra arguments for additional filtration.
@@ -325,7 +307,7 @@ export declare enum ModCallbackCustom {
325
307
  * function postEffectInitFilter(effect: EntityEffect): void {}
326
308
  * ```
327
309
  */
328
- POST_EFFECT_INIT_FILTER = 19,
310
+ POST_EFFECT_INIT_FILTER = 18,
329
311
  /**
330
312
  * Fires on the first `POST_EFFECT_UPDATE` frame for each effect.
331
313
  *
@@ -342,7 +324,7 @@ export declare enum ModCallbackCustom {
342
324
  * function postEffectInitLate(effect: EntityEffect): void {}
343
325
  * ```
344
326
  */
345
- POST_EFFECT_INIT_LATE = 20,
327
+ POST_EFFECT_INIT_LATE = 19,
346
328
  /**
347
329
  * The exact same thing as the vanilla `POST_EFFECT_RENDER` callback, except this callback allows
348
330
  * you to specify extra arguments for additional filtration.
@@ -357,7 +339,7 @@ export declare enum ModCallbackCustom {
357
339
  * function postEffectRenderFilter(effect: EntityEffect, renderOffset: Vector): void {}
358
340
  * ```
359
341
  */
360
- POST_EFFECT_RENDER_FILTER = 21,
342
+ POST_EFFECT_RENDER_FILTER = 20,
361
343
  /**
362
344
  * Fires from the `POST_EFFECT_UPDATE` callback when an effect's state has changed from what it
363
345
  * was on the previous frame. (In this context, "state" refers to the `EntityEffect.State` field.)
@@ -376,7 +358,7 @@ export declare enum ModCallbackCustom {
376
358
  * ): void {}
377
359
  * ```
378
360
  */
379
- POST_EFFECT_STATE_CHANGED = 22,
361
+ POST_EFFECT_STATE_CHANGED = 21,
380
362
  /**
381
363
  * The exact same thing as the vanilla `POST_EFFECT_UPDATE` callback, except this callback allows
382
364
  * you to specify extra arguments for additional filtration.
@@ -391,7 +373,7 @@ export declare enum ModCallbackCustom {
391
373
  * function postEffectUpdateFilter(effect: EntityEffect): void {}
392
374
  * ```
393
375
  */
394
- POST_EFFECT_UPDATE_FILTER = 23,
376
+ POST_EFFECT_UPDATE_FILTER = 22,
395
377
  /**
396
378
  * The exact same thing as the vanilla `POST_ENTITY_KILL` callback, except this callback allows
397
379
  * you to specify extra arguments for additional filtration.
@@ -408,7 +390,7 @@ export declare enum ModCallbackCustom {
408
390
  * function postEntityKillFilter(entity: Entity): void {}
409
391
  * ```
410
392
  */
411
- POST_ENTITY_KILL_FILTER = 24,
393
+ POST_ENTITY_KILL_FILTER = 23,
412
394
  /**
413
395
  * Fires one `POST_UPDATE` frame after the player has used the Esau Jr. item. (The player is not
414
396
  * updated to the new character until a game frame has passed.)
@@ -417,7 +399,7 @@ export declare enum ModCallbackCustom {
417
399
  * function postEsauJr(player: EntityPlayer): void {}
418
400
  * ```
419
401
  */
420
- POST_ESAU_JR = 25,
402
+ POST_ESAU_JR = 24,
421
403
  /**
422
404
  * The exact same thing as the vanilla `POST_FAMILIAR_INIT` callback, except this callback allows
423
405
  * you to specify extra arguments for additional filtration.
@@ -432,7 +414,7 @@ export declare enum ModCallbackCustom {
432
414
  * function postFamiliarInitFilter(familiar: EntityFamiliar): void {}
433
415
  * ```
434
416
  */
435
- POST_FAMILIAR_INIT_FILTER = 26,
417
+ POST_FAMILIAR_INIT_FILTER = 25,
436
418
  /**
437
419
  * Fires on the first `FAMILIAR_UPDATE` frame for each familiar.
438
420
  *
@@ -449,7 +431,7 @@ export declare enum ModCallbackCustom {
449
431
  * function postFamiliarInitLate(familiar: EntityFamiliar): void {}
450
432
  * ```
451
433
  */
452
- POST_FAMILIAR_INIT_LATE = 27,
434
+ POST_FAMILIAR_INIT_LATE = 26,
453
435
  /**
454
436
  * The exact same thing as the vanilla `POST_FAMILIAR_RENDER` callback, except this callback
455
437
  * allows you to specify extra arguments for additional filtration.
@@ -464,7 +446,7 @@ export declare enum ModCallbackCustom {
464
446
  * function postFamiliarRenderFilter(familiar: EntityFamiliar, renderOffset: Vector): void {}
465
447
  * ```
466
448
  */
467
- POST_FAMILIAR_RENDER_FILTER = 28,
449
+ POST_FAMILIAR_RENDER_FILTER = 27,
468
450
  /**
469
451
  * Fires from the `POST_FAMILIAR_UPDATE` callback when a familiar's state has changed from what it
470
452
  * was on the previous frame. (In this context, "state" refers to the `EntityFamiliar.State`
@@ -484,7 +466,7 @@ export declare enum ModCallbackCustom {
484
466
  * ): void {}
485
467
  * ```
486
468
  */
487
- POST_FAMILIAR_STATE_CHANGED = 29,
469
+ POST_FAMILIAR_STATE_CHANGED = 28,
488
470
  /**
489
471
  * The exact same thing as the vanilla `POST_FAMILIAR_UPDATE` callback, except this callback
490
472
  * allows you to specify extra arguments for additional filtration.
@@ -499,7 +481,7 @@ export declare enum ModCallbackCustom {
499
481
  * function postFamiliarUpdateFilter(familiar: EntityFamiliar): void {}
500
482
  * ```
501
483
  */
502
- POST_FAMILIAR_UPDATE_FILTER = 30,
484
+ POST_FAMILIAR_UPDATE_FILTER = 29,
503
485
  /**
504
486
  * Fires one `POST_UPDATE` frame after the player has first used the Esau Jr. item. (The player is
505
487
  * not updated to the new character until a game frame has passed.)
@@ -511,7 +493,7 @@ export declare enum ModCallbackCustom {
511
493
  * function postFirstEsauJr(player: EntityPlayer): void {}
512
494
  * ```
513
495
  */
514
- POST_FIRST_ESAU_JR = 31,
496
+ POST_FIRST_ESAU_JR = 30,
515
497
  /**
516
498
  * Fires after the player has used the Flip item for the first time. Unlike the vanilla `USE_ITEM`
517
499
  * callback, this callback will return the player object for the new Lazarus (not the one who used
@@ -524,7 +506,7 @@ export declare enum ModCallbackCustom {
524
506
  * function postFirstFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
525
507
  * ```
526
508
  */
527
- POST_FIRST_FLIP = 32,
509
+ POST_FIRST_FLIP = 31,
528
510
  /**
529
511
  * Fires after the player has used the Flip item. Unlike the vanilla `USE_ITEM` callback, this
530
512
  * callback will return the player object for the new Lazarus (not the one who used the Flip
@@ -537,7 +519,7 @@ export declare enum ModCallbackCustom {
537
519
  * function postFlip(newLazarus: EntityPlayer, oldLazarus: EntityPlayer): void {}
538
520
  * ```
539
521
  */
540
- POST_FLIP = 33,
522
+ POST_FLIP = 32,
541
523
  /**
542
524
  * The exact same thing as the vanilla `POST_GAME_END` callback, except this callback allows you
543
525
  * to specify extra arguments for additional filtration.
@@ -550,7 +532,7 @@ export declare enum ModCallbackCustom {
550
532
  * function postGameEndFilter(isGameOver: boolean): void {}
551
533
  * ```
552
534
  */
553
- POST_GAME_END_FILTER = 34,
535
+ POST_GAME_END_FILTER = 33,
554
536
  /**
555
537
  * Similar to the vanilla callback of the same name, but fires in the correct order with respect
556
538
  * to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
@@ -569,7 +551,7 @@ export declare enum ModCallbackCustom {
569
551
  * function postGameStartedReordered(isContinued: boolean): void {}
570
552
  * ```
571
553
  */
572
- POST_GAME_STARTED_REORDERED = 35,
554
+ POST_GAME_STARTED_REORDERED = 34,
573
555
  /**
574
556
  * Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
575
557
  * callbacks have finished firing. Thus, you can use this callback to do perform things after a
@@ -588,7 +570,7 @@ export declare enum ModCallbackCustom {
588
570
  * function postGameStartedReorderedLast(isContinued: boolean): void {}
589
571
  * ```
590
572
  */
591
- POST_GAME_STARTED_REORDERED_LAST = 36,
573
+ POST_GAME_STARTED_REORDERED_LAST = 35,
592
574
  /**
593
575
  * Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
594
576
  *
@@ -596,7 +578,7 @@ export declare enum ModCallbackCustom {
596
578
  * function postGreedModeWave(oldWave: int, newWave: int): void {}
597
579
  * ```
598
580
  */
599
- POST_GREED_MODE_WAVE = 37,
581
+ POST_GREED_MODE_WAVE = 36,
600
582
  /**
601
583
  * Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
602
584
  * the broken state for the respective grid entity type. (For example, this will fire for a
@@ -615,7 +597,7 @@ export declare enum ModCallbackCustom {
615
597
  * function postGridEntityBroken(gridEntity: GridEntity): void {}
616
598
  * ```
617
599
  */
618
- POST_GRID_ENTITY_BROKEN = 38,
600
+ POST_GRID_ENTITY_BROKEN = 37,
619
601
  /**
620
602
  * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
621
603
  * this, the callback will not continue to fire. It will only fire again once the entity moves out
@@ -643,7 +625,7 @@ export declare enum ModCallbackCustom {
643
625
  * ): void {}
644
626
  * ```
645
627
  */
646
- POST_GRID_ENTITY_COLLISION = 39,
628
+ POST_GRID_ENTITY_COLLISION = 38,
647
629
  /**
648
630
  * The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
649
631
  * with the `spawnCustomGridEntity` helper function.
@@ -660,7 +642,7 @@ export declare enum ModCallbackCustom {
660
642
  * ): void {}
661
643
  * ```
662
644
  */
663
- POST_GRID_ENTITY_CUSTOM_BROKEN = 40,
645
+ POST_GRID_ENTITY_CUSTOM_BROKEN = 39,
664
646
  /**
665
647
  * The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
666
648
  * with the `spawnCustomGridEntity` helper function.
@@ -684,7 +666,7 @@ export declare enum ModCallbackCustom {
684
666
  * ): void {}
685
667
  * ```
686
668
  */
687
- POST_GRID_ENTITY_CUSTOM_COLLISION = 41,
669
+ POST_GRID_ENTITY_CUSTOM_COLLISION = 40,
688
670
  /**
689
671
  * The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
690
672
  * the `spawnCustomGridEntity` helper function.
@@ -701,7 +683,7 @@ export declare enum ModCallbackCustom {
701
683
  * ): void {}
702
684
  * ```
703
685
  */
704
- POST_GRID_ENTITY_CUSTOM_INIT = 42,
686
+ POST_GRID_ENTITY_CUSTOM_INIT = 41,
705
687
  /**
706
688
  * The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
707
689
  * with the `spawnCustomGridEntity` helper function.
@@ -718,7 +700,7 @@ export declare enum ModCallbackCustom {
718
700
  * ): void {}
719
701
  * ```
720
702
  */
721
- POST_GRID_ENTITY_CUSTOM_REMOVE = 43,
703
+ POST_GRID_ENTITY_CUSTOM_REMOVE = 42,
722
704
  /**
723
705
  * The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
724
706
  * with the `spawnCustomGridEntity` helper function.
@@ -735,7 +717,7 @@ export declare enum ModCallbackCustom {
735
717
  * ): void {}
736
718
  * ```
737
719
  */
738
- POST_GRID_ENTITY_CUSTOM_RENDER = 44,
720
+ POST_GRID_ENTITY_CUSTOM_RENDER = 43,
739
721
  /**
740
722
  * The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
741
723
  * created with the `spawnCustomGridEntity` helper function.
@@ -754,7 +736,7 @@ export declare enum ModCallbackCustom {
754
736
  * ): void {}
755
737
  * ```
756
738
  */
757
- POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 45,
739
+ POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 44,
758
740
  /**
759
741
  * The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
760
742
  * with the `spawnCustomGridEntity` helper function.
@@ -771,7 +753,7 @@ export declare enum ModCallbackCustom {
771
753
  * ): void {}
772
754
  * ```
773
755
  */
774
- POST_GRID_ENTITY_CUSTOM_UPDATE = 46,
756
+ POST_GRID_ENTITY_CUSTOM_UPDATE = 45,
775
757
  /**
776
758
  * Fires when a new grid entity is initialized. Specifically, this is either:
777
759
  *
@@ -793,7 +775,7 @@ export declare enum ModCallbackCustom {
793
775
  * function postGridEntityInit(gridEntity: GridEntity): void {}
794
776
  * ```
795
777
  */
796
- POST_GRID_ENTITY_INIT = 47,
778
+ POST_GRID_ENTITY_INIT = 46,
797
779
  /**
798
780
  * Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
799
781
  * the frame after it no longer exists (where it did exist a frame ago).
@@ -818,7 +800,7 @@ export declare enum ModCallbackCustom {
818
800
  * ): void {}
819
801
  * ```
820
802
  */
821
- POST_GRID_ENTITY_REMOVE = 48,
803
+ POST_GRID_ENTITY_REMOVE = 47,
822
804
  /**
823
805
  * Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
824
806
  *
@@ -835,7 +817,7 @@ export declare enum ModCallbackCustom {
835
817
  * function postGridEntityRender(gridEntity: GridEntity): void {}
836
818
  * ```
837
819
  */
838
- POST_GRID_ENTITY_RENDER = 49,
820
+ POST_GRID_ENTITY_RENDER = 48,
839
821
  /**
840
822
  * Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
841
823
  * "state" refers to the `GridEntity.State` field.)
@@ -857,7 +839,7 @@ export declare enum ModCallbackCustom {
857
839
  * ): void {}
858
840
  * ```
859
841
  */
860
- POST_GRID_ENTITY_STATE_CHANGED = 50,
842
+ POST_GRID_ENTITY_STATE_CHANGED = 49,
861
843
  /**
862
844
  * Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
863
845
  *
@@ -874,7 +856,7 @@ export declare enum ModCallbackCustom {
874
856
  * function postGridEntityUpdate(gridEntity: GridEntity): void {}
875
857
  * ```
876
858
  */
877
- POST_GRID_ENTITY_UPDATE = 51,
859
+ POST_GRID_ENTITY_UPDATE = 50,
878
860
  /**
879
861
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
880
862
  * temporary collectible effect.
@@ -897,7 +879,7 @@ export declare enum ModCallbackCustom {
897
879
  * ): void {}
898
880
  * ```
899
881
  */
900
- POST_HOLY_MANTLE_REMOVED = 52,
882
+ POST_HOLY_MANTLE_REMOVED = 51,
901
883
  /**
902
884
  * Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
903
885
  * active collectible item, implying that the item was just used.
@@ -920,7 +902,7 @@ export declare enum ModCallbackCustom {
920
902
  * ): void {}
921
903
  * ```
922
904
  */
923
- POST_ITEM_DISCHARGE = 53,
905
+ POST_ITEM_DISCHARGE = 52,
924
906
  /**
925
907
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
926
908
  * when the animation of the player holding the item above their head is finished and the item is
@@ -941,7 +923,7 @@ export declare enum ModCallbackCustom {
941
923
  * ): void {}
942
924
  * ```
943
925
  */
944
- POST_ITEM_PICKUP = 54,
926
+ POST_ITEM_PICKUP = 53,
945
927
  /**
946
928
  * Fires on the first `POST_RENDER` frame after a key on the keyboard has been pressed or
947
929
  * released. (In other words, the callback only fires when the "pressed" status is different than
@@ -957,7 +939,7 @@ export declare enum ModCallbackCustom {
957
939
  * function postKeyboardChanged(keyboard: Keyboard, pressed: boolean): void {}
958
940
  * ```
959
941
  */
960
- POST_KEYBOARD_CHANGED = 55,
942
+ POST_KEYBOARD_CHANGED = 54,
961
943
  /**
962
944
  * The exact same thing as the vanilla `POST_KNIFE_INIT` callback, except this callback allows you
963
945
  * to specify extra arguments for additional filtration.
@@ -972,7 +954,7 @@ export declare enum ModCallbackCustom {
972
954
  * function postKnifeInitFilter(knife: EntityKnife): void {}
973
955
  * ```
974
956
  */
975
- POST_KNIFE_INIT_FILTER = 56,
957
+ POST_KNIFE_INIT_FILTER = 55,
976
958
  /**
977
959
  * Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
978
960
  *
@@ -989,7 +971,7 @@ export declare enum ModCallbackCustom {
989
971
  * function postKnifeInitLate(knife: EntityKnife): void {}
990
972
  * ```
991
973
  */
992
- POST_KNIFE_INIT_LATE = 57,
974
+ POST_KNIFE_INIT_LATE = 56,
993
975
  /**
994
976
  * The exact same thing as the vanilla `POST_KNIFE_RENDER` callback, except this callback allows
995
977
  * you to specify extra arguments for additional filtration.
@@ -1004,7 +986,7 @@ export declare enum ModCallbackCustom {
1004
986
  * function postKnifeRenderFilter(knife: EntityKnife, renderOffset: Vector): void {}
1005
987
  * ```
1006
988
  */
1007
- POST_KNIFE_RENDER_FILTER = 58,
989
+ POST_KNIFE_RENDER_FILTER = 57,
1008
990
  /**
1009
991
  * The exact same thing as the vanilla `POST_KNIFE_UPDATE` callback, except this callback allows
1010
992
  * you to specify extra arguments for additional filtration.
@@ -1019,7 +1001,7 @@ export declare enum ModCallbackCustom {
1019
1001
  * function postKnifeUpdateFilter(knife: EntityKnife): void {}
1020
1002
  * ```
1021
1003
  */
1022
- POST_KNIFE_UPDATE_FILTER = 59,
1004
+ POST_KNIFE_UPDATE_FILTER = 58,
1023
1005
  /**
1024
1006
  * The exact same thing as the vanilla `POST_LASER_INIT` callback, except this callback allows you
1025
1007
  * to specify extra arguments for additional filtration.
@@ -1034,7 +1016,7 @@ export declare enum ModCallbackCustom {
1034
1016
  * function postLaserInitFilter(laser: EntityLaser): void {}
1035
1017
  * ```
1036
1018
  */
1037
- POST_LASER_INIT_FILTER = 60,
1019
+ POST_LASER_INIT_FILTER = 59,
1038
1020
  /**
1039
1021
  * Fires on the first `POST_LASER_UPDATE` frame for each laser.
1040
1022
  *
@@ -1051,7 +1033,7 @@ export declare enum ModCallbackCustom {
1051
1033
  * function postLaserInitLate(laser: EntityLaser): void {}
1052
1034
  * ```
1053
1035
  */
1054
- POST_LASER_INIT_LATE = 61,
1036
+ POST_LASER_INIT_LATE = 60,
1055
1037
  /**
1056
1038
  * The exact same thing as the vanilla `POST_LASER_RENDER` callback, except this callback allows
1057
1039
  * you to specify extra arguments for additional filtration.
@@ -1066,7 +1048,7 @@ export declare enum ModCallbackCustom {
1066
1048
  * function postLaserRenderFilter(laser: EntityLaser, renderOffset: Vector): void {}
1067
1049
  * ```
1068
1050
  */
1069
- POST_LASER_RENDER_FILTER = 62,
1051
+ POST_LASER_RENDER_FILTER = 61,
1070
1052
  /**
1071
1053
  * The exact same thing as the vanilla `POST_LASER_UPDATE` callback, except this callback allows
1072
1054
  * you to specify extra arguments for additional filtration.
@@ -1081,7 +1063,7 @@ export declare enum ModCallbackCustom {
1081
1063
  * function postLaserUpdateFilter(laser: EntityLaser): void {}
1082
1064
  * ```
1083
1065
  */
1084
- POST_LASER_UPDATE_FILTER = 63,
1066
+ POST_LASER_UPDATE_FILTER = 62,
1085
1067
  /**
1086
1068
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
1087
1069
  * to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
@@ -1107,7 +1089,7 @@ export declare enum ModCallbackCustom {
1107
1089
  * function postNewLevelReordered(stage: LevelStage, stageType: StageType): void {}
1108
1090
  * ```
1109
1091
  */
1110
- POST_NEW_LEVEL_REORDERED = 64,
1092
+ POST_NEW_LEVEL_REORDERED = 63,
1111
1093
  /**
1112
1094
  * Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
1113
1095
  * detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
@@ -1124,7 +1106,7 @@ export declare enum ModCallbackCustom {
1124
1106
  * function postNewRoomEarly(roomType: RoomType): void {}
1125
1107
  * ```
1126
1108
  */
1127
- POST_NEW_ROOM_EARLY = 65,
1109
+ POST_NEW_ROOM_EARLY = 64,
1128
1110
  /**
1129
1111
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
1130
1112
  * to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
@@ -1147,7 +1129,7 @@ export declare enum ModCallbackCustom {
1147
1129
  * function postNewRoomReordered(roomType: RoomType): void {}
1148
1130
  * ```
1149
1131
  */
1150
- POST_NEW_ROOM_REORDERED = 66,
1132
+ POST_NEW_ROOM_REORDERED = 65,
1151
1133
  /**
1152
1134
  * The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
1153
1135
  * to specify extra arguments for additional filtration.
@@ -1164,7 +1146,7 @@ export declare enum ModCallbackCustom {
1164
1146
  * function postNPCDeathFilter(npc: EntityNPC): void {}
1165
1147
  * ```
1166
1148
  */
1167
- POST_NPC_DEATH_FILTER = 67,
1149
+ POST_NPC_DEATH_FILTER = 66,
1168
1150
  /**
1169
1151
  * The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
1170
1152
  * to specify extra arguments for additional filtration.
@@ -1181,7 +1163,7 @@ export declare enum ModCallbackCustom {
1181
1163
  * function postNPCInitFilter(npc: EntityNPC): void {}
1182
1164
  * ```
1183
1165
  */
1184
- POST_NPC_INIT_FILTER = 68,
1166
+ POST_NPC_INIT_FILTER = 67,
1185
1167
  /**
1186
1168
  * Fires on the first `NPC_UPDATE` frame for each NPC.
1187
1169
  *
@@ -1200,7 +1182,7 @@ export declare enum ModCallbackCustom {
1200
1182
  * function postNPCInitLate(npc: EntityNPC): void {}
1201
1183
  * ```
1202
1184
  */
1203
- POST_NPC_INIT_LATE = 69,
1185
+ POST_NPC_INIT_LATE = 68,
1204
1186
  /**
1205
1187
  * The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
1206
1188
  * to specify extra arguments for additional filtration.
@@ -1217,7 +1199,7 @@ export declare enum ModCallbackCustom {
1217
1199
  * function postNPCRenderFilter(npc: EntityNPC, renderOffset: Vector): void {}
1218
1200
  * ```
1219
1201
  */
1220
- POST_NPC_RENDER_FILTER = 70,
1202
+ POST_NPC_RENDER_FILTER = 69,
1221
1203
  /**
1222
1204
  * Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
1223
1205
  * the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
@@ -1238,7 +1220,7 @@ export declare enum ModCallbackCustom {
1238
1220
  * ): void {}
1239
1221
  * ```
1240
1222
  */
1241
- POST_NPC_STATE_CHANGED = 71,
1223
+ POST_NPC_STATE_CHANGED = 70,
1242
1224
  /**
1243
1225
  * The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
1244
1226
  * to specify extra arguments for additional filtration.
@@ -1255,7 +1237,7 @@ export declare enum ModCallbackCustom {
1255
1237
  * function postNPCUpdateFilter(npc: EntityNPC): void {}
1256
1238
  * ```
1257
1239
  */
1258
- POST_NPC_UPDATE_FILTER = 72,
1240
+ POST_NPC_UPDATE_FILTER = 71,
1259
1241
  /**
1260
1242
  * Similar to the vanilla callback of the same name, but fires after the
1261
1243
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -1280,7 +1262,7 @@ export declare enum ModCallbackCustom {
1280
1262
  * function postPEffectUpdateReordered(player: EntityPlayer): void {}
1281
1263
  * ```
1282
1264
  */
1283
- POST_PEFFECT_UPDATE_REORDERED = 73,
1265
+ POST_PEFFECT_UPDATE_REORDERED = 72,
1284
1266
  /**
1285
1267
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup has a different variant or sub-type
1286
1268
  * than what it was on the previous frame.
@@ -1301,7 +1283,7 @@ export declare enum ModCallbackCustom {
1301
1283
  * ): void {}
1302
1284
  * ```
1303
1285
  */
1304
- POST_PICKUP_CHANGED = 74,
1286
+ POST_PICKUP_CHANGED = 73,
1305
1287
  /**
1306
1288
  * Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
1307
1289
  *
@@ -1320,7 +1302,7 @@ export declare enum ModCallbackCustom {
1320
1302
  * function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
1321
1303
  * ```
1322
1304
  */
1323
- POST_PICKUP_COLLECT = 75,
1305
+ POST_PICKUP_COLLECT = 74,
1324
1306
  /**
1325
1307
  * The exact same thing as the vanilla `POST_PICKUP_INIT` callback, except this callback allows
1326
1308
  * you to specify extra arguments for additional filtration.
@@ -1335,7 +1317,7 @@ export declare enum ModCallbackCustom {
1335
1317
  * function postPickupInitFilter(pickup: EntityPickup): void {}
1336
1318
  * ```
1337
1319
  */
1338
- POST_PICKUP_INIT_FILTER = 76,
1320
+ POST_PICKUP_INIT_FILTER = 75,
1339
1321
  /**
1340
1322
  * Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
1341
1323
  * respective pickup on the run.
@@ -1353,7 +1335,7 @@ export declare enum ModCallbackCustom {
1353
1335
  * function postPickupInitFirst(pickup: EntityPickup): void {}
1354
1336
  * ```
1355
1337
  */
1356
- POST_PICKUP_INIT_FIRST = 77,
1338
+ POST_PICKUP_INIT_FIRST = 76,
1357
1339
  /**
1358
1340
  * Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
1359
1341
  *
@@ -1370,7 +1352,7 @@ export declare enum ModCallbackCustom {
1370
1352
  * function postPickupInitLate(pickup: EntityPickup): void {}
1371
1353
  * ```
1372
1354
  */
1373
- POST_PICKUP_INIT_LATE = 78,
1355
+ POST_PICKUP_INIT_LATE = 77,
1374
1356
  /**
1375
1357
  * The exact same thing as the vanilla `POST_PICKUP_RENDER` callback, except this callback allows
1376
1358
  * you to specify extra arguments for additional filtration.
@@ -1385,7 +1367,7 @@ export declare enum ModCallbackCustom {
1385
1367
  * function postPickupRenderFilter(pickup: EntityPickup, renderOffset: Vector): void {}
1386
1368
  * ```
1387
1369
  */
1388
- POST_PICKUP_RENDER_FILTER = 79,
1370
+ POST_PICKUP_RENDER_FILTER = 78,
1389
1371
  /**
1390
1372
  * The exact same thing as the vanilla `POST_PICKUP_SELECTION` callback, except this callback
1391
1373
  * allows you to specify extra arguments for additional filtration.
@@ -1404,7 +1386,7 @@ export declare enum ModCallbackCustom {
1404
1386
  * ): [PickupVariant, int] | undefined {}
1405
1387
  * ```
1406
1388
  */
1407
- POST_PICKUP_SELECTION_FILTER = 80,
1389
+ POST_PICKUP_SELECTION_FILTER = 79,
1408
1390
  /**
1409
1391
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
1410
1392
  * on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
@@ -1423,7 +1405,7 @@ export declare enum ModCallbackCustom {
1423
1405
  * ): void {}
1424
1406
  * ```
1425
1407
  */
1426
- POST_PICKUP_STATE_CHANGED = 81,
1408
+ POST_PICKUP_STATE_CHANGED = 80,
1427
1409
  /**
1428
1410
  * The exact same thing as the vanilla `POST_PICKUP_UPDATE` callback, except this callback allows
1429
1411
  * you to specify extra arguments for additional filtration.
@@ -1438,7 +1420,7 @@ export declare enum ModCallbackCustom {
1438
1420
  * function postPickupUpdateFilter(pickup: EntityPickup): void {}
1439
1421
  * ```
1440
1422
  */
1441
- POST_PICKUP_UPDATE_FILTER = 82,
1423
+ POST_PICKUP_UPDATE_FILTER = 81,
1442
1424
  /**
1443
1425
  * Fires from the `POST_RENDER` callback on every frame that a pit exists.
1444
1426
  *
@@ -1450,7 +1432,7 @@ export declare enum ModCallbackCustom {
1450
1432
  * function postPitRender(pit: GridEntityPit): void {}
1451
1433
  * ```
1452
1434
  */
1453
- POST_PIT_RENDER = 83,
1435
+ POST_PIT_RENDER = 82,
1454
1436
  /**
1455
1437
  * Fires from the `POST_UPDATE` callback on every frame that a pit exists.
1456
1438
  *
@@ -1462,7 +1444,7 @@ export declare enum ModCallbackCustom {
1462
1444
  * function postPitUpdate(pit: GridEntityPit): void {}
1463
1445
  * ```
1464
1446
  */
1465
- POST_PIT_UPDATE = 84,
1447
+ POST_PIT_UPDATE = 83,
1466
1448
  /**
1467
1449
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
1468
1450
  * different than what it was on the previous frame. For more information, see the `PlayerHealth`
@@ -1484,7 +1466,7 @@ export declare enum ModCallbackCustom {
1484
1466
  * ): void {}
1485
1467
  * ```
1486
1468
  */
1487
- POST_PLAYER_CHANGE_HEALTH = 85,
1469
+ POST_PLAYER_CHANGE_HEALTH = 84,
1488
1470
  /**
1489
1471
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
1490
1472
  * from what they were on the previous frame.
@@ -1514,7 +1496,7 @@ export declare enum ModCallbackCustom {
1514
1496
  * ) => void {}
1515
1497
  * ```
1516
1498
  */
1517
- POST_PLAYER_CHANGE_STAT = 86,
1499
+ POST_PLAYER_CHANGE_STAT = 85,
1518
1500
  /**
1519
1501
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
1520
1502
  * type
@@ -1537,7 +1519,7 @@ export declare enum ModCallbackCustom {
1537
1519
  * ): void {}
1538
1520
  * ```
1539
1521
  */
1540
- POST_PLAYER_CHANGE_TYPE = 87,
1522
+ POST_PLAYER_CHANGE_TYPE = 86,
1541
1523
  /**
1542
1524
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
1543
1525
  * higher than what it was on the previous frame, or when the active items change, or when the
@@ -1554,7 +1536,7 @@ export declare enum ModCallbackCustom {
1554
1536
  * ): void {}
1555
1537
  * ```
1556
1538
  */
1557
- POST_PLAYER_COLLECTIBLE_ADDED = 88,
1539
+ POST_PLAYER_COLLECTIBLE_ADDED = 87,
1558
1540
  /**
1559
1541
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
1560
1542
  * lower than what it was on the previous frame, or when the active items change, or when the
@@ -1571,7 +1553,7 @@ export declare enum ModCallbackCustom {
1571
1553
  * ): void {}
1572
1554
  * ```
1573
1555
  */
1574
- POST_PLAYER_COLLECTIBLE_REMOVED = 89,
1556
+ POST_PLAYER_COLLECTIBLE_REMOVED = 88,
1575
1557
  /**
1576
1558
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
1577
1559
  * prevent the fatal damage.
@@ -1589,7 +1571,7 @@ export declare enum ModCallbackCustom {
1589
1571
  * function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
1590
1572
  * ```
1591
1573
  */
1592
- POST_PLAYER_FATAL_DAMAGE = 90,
1574
+ POST_PLAYER_FATAL_DAMAGE = 89,
1593
1575
  /**
1594
1576
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
1595
1577
  * `POST_PLAYER_INIT_LATE` callback, with two changes:
@@ -1611,7 +1593,7 @@ export declare enum ModCallbackCustom {
1611
1593
  * function postPlayerInitFirst(player: EntityPlayer): void {}
1612
1594
  * ```
1613
1595
  */
1614
- POST_PLAYER_INIT_FIRST = 91,
1596
+ POST_PLAYER_INIT_FIRST = 90,
1615
1597
  /**
1616
1598
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
1617
1599
  *
@@ -1631,7 +1613,7 @@ export declare enum ModCallbackCustom {
1631
1613
  * function postPlayerInitLate(pickup: EntityPickup): void {}
1632
1614
  * ```
1633
1615
  */
1634
- POST_PLAYER_INIT_LATE = 92,
1616
+ POST_PLAYER_INIT_LATE = 91,
1635
1617
  /**
1636
1618
  * Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
1637
1619
  * callback fires (if the player is spawning on the 0th game frame of the run).
@@ -1655,7 +1637,7 @@ export declare enum ModCallbackCustom {
1655
1637
  * function postPlayerRenderReordered(player: EntityPlayer, renderOffset: Vector): void {}
1656
1638
  * ```
1657
1639
  */
1658
- POST_PLAYER_RENDER_REORDERED = 93,
1640
+ POST_PLAYER_RENDER_REORDERED = 92,
1659
1641
  /**
1660
1642
  * Similar to the vanilla callback of the same name, but fires after the
1661
1643
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -1680,7 +1662,7 @@ export declare enum ModCallbackCustom {
1680
1662
  * function postPlayerUpdateReordered(player: EntityPlayer): void {}
1681
1663
  * ```
1682
1664
  */
1683
- POST_PLAYER_UPDATE_REORDERED = 94,
1665
+ POST_PLAYER_UPDATE_REORDERED = 93,
1684
1666
  /**
1685
1667
  * Fires from the `POST_RENDER` callback on every frame that a poop exists.
1686
1668
  *
@@ -1692,7 +1674,7 @@ export declare enum ModCallbackCustom {
1692
1674
  * function postPoopRender(poop: GridEntityPoop): void {}
1693
1675
  * ```
1694
1676
  */
1695
- POST_POOP_RENDER = 95,
1677
+ POST_POOP_RENDER = 94,
1696
1678
  /**
1697
1679
  * Fires from the `POST_UPDATE` callback on every frame that a poop exists.
1698
1680
  *
@@ -1704,7 +1686,7 @@ export declare enum ModCallbackCustom {
1704
1686
  * function postPoopUpdate(poop: GridEntityPoop): void {}
1705
1687
  * ```
1706
1688
  */
1707
- POST_POOP_UPDATE = 96,
1689
+ POST_POOP_UPDATE = 95,
1708
1690
  /**
1709
1691
  * Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
1710
1692
  *
@@ -1716,7 +1698,7 @@ export declare enum ModCallbackCustom {
1716
1698
  * function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
1717
1699
  * ```
1718
1700
  */
1719
- POST_PRESSURE_PLATE_RENDER = 97,
1701
+ POST_PRESSURE_PLATE_RENDER = 96,
1720
1702
  /**
1721
1703
  * Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
1722
1704
  *
@@ -1728,7 +1710,7 @@ export declare enum ModCallbackCustom {
1728
1710
  * function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
1729
1711
  * ```
1730
1712
  */
1731
- POST_PRESSURE_PLATE_UPDATE = 98,
1713
+ POST_PRESSURE_PLATE_UPDATE = 97,
1732
1714
  /**
1733
1715
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
1734
1716
  * allows you to specify extra arguments for additional filtration.
@@ -1743,7 +1725,7 @@ export declare enum ModCallbackCustom {
1743
1725
  * function postProjectileInitFilter(tear: EntityTear): void {}
1744
1726
  * ```
1745
1727
  */
1746
- POST_PROJECTILE_INIT_FILTER = 99,
1728
+ POST_PROJECTILE_INIT_FILTER = 98,
1747
1729
  /**
1748
1730
  * Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
1749
1731
  *
@@ -1760,7 +1742,7 @@ export declare enum ModCallbackCustom {
1760
1742
  * function postProjectileInitLate(projectile: EntityProjectile): void {}
1761
1743
  * ```
1762
1744
  */
1763
- POST_PROJECTILE_INIT_LATE = 100,
1745
+ POST_PROJECTILE_INIT_LATE = 99,
1764
1746
  /**
1765
1747
  * The exact same thing as the vanilla `POST_PROJECTILE_RENDER` callback, except this callback
1766
1748
  * allows you to specify extra arguments for additional filtration.
@@ -1775,7 +1757,7 @@ export declare enum ModCallbackCustom {
1775
1757
  * function postProjectileRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
1776
1758
  * ```
1777
1759
  */
1778
- POST_PROJECTILE_RENDER_FILTER = 101,
1760
+ POST_PROJECTILE_RENDER_FILTER = 100,
1779
1761
  /**
1780
1762
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
1781
1763
  * allows you to specify extra arguments for additional filtration.
@@ -1790,7 +1772,7 @@ export declare enum ModCallbackCustom {
1790
1772
  * function postProjectileUpdateFilter(tear: EntityTear): void {}
1791
1773
  * ```
1792
1774
  */
1793
- POST_PROJECTILE_UPDATE_FILTER = 102,
1775
+ POST_PROJECTILE_UPDATE_FILTER = 101,
1794
1776
  /**
1795
1777
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
1796
1778
  * item. The pickup returned in the callback is assumed to be the first pickup that no longer
@@ -1806,7 +1788,7 @@ export declare enum ModCallbackCustom {
1806
1788
  * function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
1807
1789
  * ```
1808
1790
  */
1809
- POST_PURCHASE = 103,
1791
+ POST_PURCHASE = 102,
1810
1792
  /**
1811
1793
  * Fires from the `POST_RENDER` callback on every frame that a rock exists.
1812
1794
  *
@@ -1820,7 +1802,7 @@ export declare enum ModCallbackCustom {
1820
1802
  * function postRockRender(rock: GridEntityRock): void {}
1821
1803
  * ```
1822
1804
  */
1823
- POST_ROCK_RENDER = 104,
1805
+ POST_ROCK_RENDER = 103,
1824
1806
  /**
1825
1807
  * Fires from the `POST_UPDATE` callback on every frame that a rock exists.
1826
1808
  *
@@ -1834,7 +1816,7 @@ export declare enum ModCallbackCustom {
1834
1816
  * function postRockUpdate(rock: GridEntityRock): void {}
1835
1817
  * ```
1836
1818
  */
1837
- POST_ROCK_UPDATE = 105,
1819
+ POST_ROCK_UPDATE = 104,
1838
1820
  /**
1839
1821
  * Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
1840
1822
  * the `Room.IsClear` method).
@@ -1851,7 +1833,7 @@ export declare enum ModCallbackCustom {
1851
1833
  * function postRoomClearChanged(roomClear: boolean): void {}
1852
1834
  * ```
1853
1835
  */
1854
- POST_ROOM_CLEAR_CHANGED = 106,
1836
+ POST_ROOM_CLEAR_CHANGED = 105,
1855
1837
  /**
1856
1838
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
1857
1839
  * Room.
@@ -1866,7 +1848,7 @@ export declare enum ModCallbackCustom {
1866
1848
  * function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
1867
1849
  * ```
1868
1850
  */
1869
- POST_SACRIFICE = 107,
1851
+ POST_SACRIFICE = 106,
1870
1852
  /**
1871
1853
  * Fires from the `POST_RENDER` callback when a slot entity's animation changes.
1872
1854
  *
@@ -1884,7 +1866,7 @@ export declare enum ModCallbackCustom {
1884
1866
  * ): void {}
1885
1867
  * ```
1886
1868
  */
1887
- POST_SLOT_ANIMATION_CHANGED = 108,
1869
+ POST_SLOT_ANIMATION_CHANGED = 107,
1888
1870
  /**
1889
1871
  * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
1890
1872
  * (It will not fire if any other type of entity collides with the slot entity.)
@@ -1908,7 +1890,7 @@ export declare enum ModCallbackCustom {
1908
1890
  * ): void {}
1909
1891
  * ```
1910
1892
  */
1911
- POST_SLOT_COLLISION = 109,
1893
+ POST_SLOT_COLLISION = 108,
1912
1894
  /**
1913
1895
  * Fires from the `POST_SLOT_UPDATE` or the `POST_ENTITY_REMOVE` callback when a slot machine is
1914
1896
  * destroyed or a beggar is removed.
@@ -1950,7 +1932,7 @@ export declare enum ModCallbackCustom {
1950
1932
  * function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
1951
1933
  * ```
1952
1934
  */
1953
- POST_SLOT_DESTROYED = 110,
1935
+ POST_SLOT_DESTROYED = 109,
1954
1936
  /**
1955
1937
  * Fires when a new slot entity is initialized. Specifically, this is either:
1956
1938
  *
@@ -1969,7 +1951,7 @@ export declare enum ModCallbackCustom {
1969
1951
  * function postSlotInit(slot: Entity): void {}
1970
1952
  * ```
1971
1953
  */
1972
- POST_SLOT_INIT = 111,
1954
+ POST_SLOT_INIT = 110,
1973
1955
  /**
1974
1956
  * Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
1975
1957
  *
@@ -1983,7 +1965,7 @@ export declare enum ModCallbackCustom {
1983
1965
  * function postSlotRender(slot: Entity): void {}
1984
1966
  * ```
1985
1967
  */
1986
- POST_SLOT_RENDER = 112,
1968
+ POST_SLOT_RENDER = 111,
1987
1969
  /**
1988
1970
  * Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
1989
1971
  *
@@ -1997,7 +1979,7 @@ export declare enum ModCallbackCustom {
1997
1979
  * function postSlotUpdate(slot: Entity): void {}
1998
1980
  * ```
1999
1981
  */
2000
- POST_SLOT_UPDATE = 113,
1982
+ POST_SLOT_UPDATE = 112,
2001
1983
  /**
2002
1984
  * Fires from the `POST_RENDER` callback on every frame that spikes exist.
2003
1985
  *
@@ -2009,7 +1991,7 @@ export declare enum ModCallbackCustom {
2009
1991
  * function postSpikesRender(spikes: GridEntitySpikes): void {}
2010
1992
  * ```
2011
1993
  */
2012
- POST_SPIKES_RENDER = 114,
1994
+ POST_SPIKES_RENDER = 113,
2013
1995
  /**
2014
1996
  * Fires from the `POST_UPDATE` callback on every frame that spikes exist.
2015
1997
  *
@@ -2021,7 +2003,7 @@ export declare enum ModCallbackCustom {
2021
2003
  * function postSpikesUpdate(spikes: GridEntitySpikes): void {}
2022
2004
  * ```
2023
2005
  */
2024
- POST_SPIKES_UPDATE = 115,
2006
+ POST_SPIKES_UPDATE = 114,
2025
2007
  /**
2026
2008
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
2027
2009
  * to specify extra arguments for additional filtration.
@@ -2036,7 +2018,7 @@ export declare enum ModCallbackCustom {
2036
2018
  * function postTearInitFilter(tear: EntityTear): void {}
2037
2019
  * ```
2038
2020
  */
2039
- POST_TEAR_INIT_FILTER = 116,
2021
+ POST_TEAR_INIT_FILTER = 115,
2040
2022
  /**
2041
2023
  * Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
2042
2024
  * `EntityTear.FrameCount` is equal to 0).
@@ -2054,7 +2036,7 @@ export declare enum ModCallbackCustom {
2054
2036
  * function postTearInitLate(tear: EntityTear): void {}
2055
2037
  * ```
2056
2038
  */
2057
- POST_TEAR_INIT_LATE = 117,
2039
+ POST_TEAR_INIT_LATE = 116,
2058
2040
  /**
2059
2041
  * Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
2060
2042
  * `EntityTear.FrameCount` is equal to 1).
@@ -2071,7 +2053,7 @@ export declare enum ModCallbackCustom {
2071
2053
  * function postTearInitVeryLate(tear: EntityTear): void {}
2072
2054
  * ```
2073
2055
  */
2074
- POST_TEAR_INIT_VERY_LATE = 118,
2056
+ POST_TEAR_INIT_VERY_LATE = 117,
2075
2057
  /**
2076
2058
  * The exact same thing as the vanilla `POST_TEAR_RENDER` callback, except this callback allows
2077
2059
  * you to specify extra arguments for additional filtration.
@@ -2086,7 +2068,7 @@ export declare enum ModCallbackCustom {
2086
2068
  * function postTearRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
2087
2069
  * ```
2088
2070
  */
2089
- POST_TEAR_RENDER_FILTER = 119,
2071
+ POST_TEAR_RENDER_FILTER = 118,
2090
2072
  /**
2091
2073
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
2092
2074
  * to specify extra arguments for additional filtration.
@@ -2101,7 +2083,7 @@ export declare enum ModCallbackCustom {
2101
2083
  * function postTearUpdateFilter(tear: EntityTear): void {}
2102
2084
  * ```
2103
2085
  */
2104
- POST_TEAR_UPDATE_FILTER = 120,
2086
+ POST_TEAR_UPDATE_FILTER = 119,
2105
2087
  /**
2106
2088
  * Fires from the `POST_RENDER` callback on every frame that a TNT exists.
2107
2089
  *
@@ -2113,7 +2095,7 @@ export declare enum ModCallbackCustom {
2113
2095
  * function postTNTRender(tnt: GridEntityTNT): void {}
2114
2096
  * ```
2115
2097
  */
2116
- POST_TNT_RENDER = 121,
2098
+ POST_TNT_RENDER = 120,
2117
2099
  /**
2118
2100
  * Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
2119
2101
  *
@@ -2125,7 +2107,7 @@ export declare enum ModCallbackCustom {
2125
2107
  * function postTNTUpdate(tnt: GridEntityTNT): void {}
2126
2108
  * ```
2127
2109
  */
2128
- POST_TNT_UPDATE = 122,
2110
+ POST_TNT_UPDATE = 121,
2129
2111
  /**
2130
2112
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
2131
2113
  * transformation.
@@ -2144,7 +2126,7 @@ export declare enum ModCallbackCustom {
2144
2126
  * ): void {}
2145
2127
  * ```
2146
2128
  */
2147
- POST_TRANSFORMATION = 123,
2129
+ POST_TRANSFORMATION = 122,
2148
2130
  /**
2149
2131
  * Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
2150
2132
  *
@@ -2159,7 +2141,7 @@ export declare enum ModCallbackCustom {
2159
2141
  * ): void {}
2160
2142
  * ```
2161
2143
  */
2162
- POST_TRINKET_BREAK = 124,
2144
+ POST_TRINKET_BREAK = 123,
2163
2145
  /**
2164
2146
  * The same thing as the vanilla `POST_USE_PILL` callback, except this callback passes the
2165
2147
  * `PillColor` of the used pill as the final argument. It allows you to filter by the `PillColor`.
@@ -2182,7 +2164,7 @@ export declare enum ModCallbackCustom {
2182
2164
  * ): void {}
2183
2165
  * ```
2184
2166
  */
2185
- POST_USE_PILL_FILTER = 125,
2167
+ POST_USE_PILL_FILTER = 124,
2186
2168
  /**
2187
2169
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
2188
2170
  * ends when the player is predicted to die (e.g. they currently have no health left or they took
@@ -2198,7 +2180,7 @@ export declare enum ModCallbackCustom {
2198
2180
  * function preBerserkDeath(player: EntityPlayer): void {}
2199
2181
  * ```
2200
2182
  */
2201
- PRE_BERSERK_DEATH = 126,
2183
+ PRE_BERSERK_DEATH = 125,
2202
2184
  /**
2203
2185
  * The exact same thing as the vanilla `PRE_BOMB_COLLISION` callback, except this callback allows
2204
2186
  * you to specify extra arguments for additional filtration.
@@ -2217,7 +2199,7 @@ export declare enum ModCallbackCustom {
2217
2199
  * ): void {}
2218
2200
  * ```
2219
2201
  */
2220
- PRE_BOMB_COLLISION_FILTER = 127,
2202
+ PRE_BOMB_COLLISION_FILTER = 126,
2221
2203
  /**
2222
2204
  * Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
2223
2205
  * to initiate a custom revival, return an integer that corresponds to the item or type of revival
@@ -2236,7 +2218,7 @@ export declare enum ModCallbackCustom {
2236
2218
  * function preCustomRevive(player: EntityPlayer): int | undefined {}
2237
2219
  * ```
2238
2220
  */
2239
- PRE_CUSTOM_REVIVE = 128,
2221
+ PRE_CUSTOM_REVIVE = 127,
2240
2222
  /**
2241
2223
  * The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
2242
2224
  * you to specify extra arguments for additional filtration.
@@ -2261,7 +2243,7 @@ export declare enum ModCallbackCustom {
2261
2243
  * ): [EntityType, int, int, int] | undefined {}
2262
2244
  * ```
2263
2245
  */
2264
- PRE_ENTITY_SPAWN_FILTER = 129,
2246
+ PRE_ENTITY_SPAWN_FILTER = 128,
2265
2247
  /**
2266
2248
  * The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
2267
2249
  * allows you to specify extra arguments for additional filtration.
@@ -2280,7 +2262,7 @@ export declare enum ModCallbackCustom {
2280
2262
  * ): void {}
2281
2263
  * ```
2282
2264
  */
2283
- PRE_FAMILIAR_COLLISION_FILTER = 130,
2265
+ PRE_FAMILIAR_COLLISION_FILTER = 129,
2284
2266
  /**
2285
2267
  * Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
2286
2268
  * meets all of the conditions to pick it up.
@@ -2300,7 +2282,7 @@ export declare enum ModCallbackCustom {
2300
2282
  * function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
2301
2283
  * ```
2302
2284
  */
2303
- PRE_GET_PEDESTAL = 131,
2285
+ PRE_GET_PEDESTAL = 130,
2304
2286
  /**
2305
2287
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
2306
2288
  * the player begins to hold the item above their head).
@@ -2320,7 +2302,7 @@ export declare enum ModCallbackCustom {
2320
2302
  * ): void {}
2321
2303
  * ```
2322
2304
  */
2323
- PRE_ITEM_PICKUP = 132,
2305
+ PRE_ITEM_PICKUP = 131,
2324
2306
  /**
2325
2307
  * The exact same thing as the vanilla `PRE_KNIFE_COLLISION` callback, except this callback allows
2326
2308
  * you to specify extra arguments for additional filtration.
@@ -2339,7 +2321,7 @@ export declare enum ModCallbackCustom {
2339
2321
  * ): void {}
2340
2322
  * ```
2341
2323
  */
2342
- PRE_KNIFE_COLLISION_FILTER = 133,
2324
+ PRE_KNIFE_COLLISION_FILTER = 132,
2343
2325
  /**
2344
2326
  * Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
2345
2327
  * player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
@@ -2353,7 +2335,7 @@ export declare enum ModCallbackCustom {
2353
2335
  * function preNewLevel(player: EntityPlayer): void {}
2354
2336
  * ```
2355
2337
  */
2356
- PRE_NEW_LEVEL = 134,
2338
+ PRE_NEW_LEVEL = 133,
2357
2339
  /**
2358
2340
  * The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
2359
2341
  * you to specify extra arguments for additional filtration.
@@ -2374,7 +2356,7 @@ export declare enum ModCallbackCustom {
2374
2356
  * ): boolean | undefined {}
2375
2357
  * ```
2376
2358
  */
2377
- PRE_NPC_COLLISION_FILTER = 135,
2359
+ PRE_NPC_COLLISION_FILTER = 134,
2378
2360
  /**
2379
2361
  * The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
2380
2362
  * to specify extra arguments for additional filtration.
@@ -2391,7 +2373,7 @@ export declare enum ModCallbackCustom {
2391
2373
  * function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
2392
2374
  * ```
2393
2375
  */
2394
- PRE_NPC_UPDATE_FILTER = 136,
2376
+ PRE_NPC_UPDATE_FILTER = 135,
2395
2377
  /**
2396
2378
  * The exact same thing as the vanilla `PRE_PROJECTILE_COLLISION` callback, except this callback
2397
2379
  * allows you to specify extra arguments for additional filtration.
@@ -2410,7 +2392,7 @@ export declare enum ModCallbackCustom {
2410
2392
  * ): void {}
2411
2393
  * ```
2412
2394
  */
2413
- PRE_PROJECTILE_COLLISION_FILTER = 137,
2395
+ PRE_PROJECTILE_COLLISION_FILTER = 136,
2414
2396
  /**
2415
2397
  * The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
2416
2398
  * allows you to specify extra arguments for additional filtration.
@@ -2433,7 +2415,7 @@ export declare enum ModCallbackCustom {
2433
2415
  * ): [EntityType | GridEntityXMLType, int, int] | undefined {}
2434
2416
  * ```
2435
2417
  */
2436
- PRE_ROOM_ENTITY_SPAWN_FILTER = 138,
2418
+ PRE_ROOM_ENTITY_SPAWN_FILTER = 137,
2437
2419
  /**
2438
2420
  * The exact same thing as the vanilla `PRE_TEAR_COLLISION` callback, except this callback allows
2439
2421
  * you to specify extra arguments for additional filtration.
@@ -2452,6 +2434,6 @@ export declare enum ModCallbackCustom {
2452
2434
  * ): void {}
2453
2435
  * ```
2454
2436
  */
2455
- PRE_TEAR_COLLISION_FILTER = 139
2437
+ PRE_TEAR_COLLISION_FILTER = 138
2456
2438
  }
2457
2439
  //# sourceMappingURL=ModCallbackCustom.d.ts.map