isaacscript-common 29.4.0 → 29.5.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.
@@ -235,6 +235,10 @@ declare interface AddCallbackParametersCustom {
235
235
  [ModCallbackCustom.POST_FLIP]: [
236
236
  callback: (newLazarus: EntityPlayer, oldLazarus: EntityPlayer) => void
237
237
  ];
238
+ [ModCallbackCustom.POST_GAME_END_FILTER]: [
239
+ callback: (isGameOver: boolean) => void,
240
+ isGameOver?: boolean
241
+ ];
238
242
  [ModCallbackCustom.POST_GAME_STARTED_REORDERED]: [
239
243
  callback: (isContinued: boolean) => void,
240
244
  isContinued: boolean | undefined
@@ -7360,6 +7364,13 @@ export declare function inDevilsCrownTreasureRoom(): boolean;
7360
7364
 
7361
7365
  export declare function inDimension(dimension: Dimension): boolean;
7362
7366
 
7367
+ /**
7368
+ * Helper function to detect if the current room is a Double Trouble Boss Room.
7369
+ *
7370
+ * This is performed by checking for the string "Double Trouble" inside of the room name. The
7371
+ * vanilla game uses this convention for every Double Trouble Boss Room. Note that this method might
7372
+ * fail for mods that add extra Double Trouble rooms but do not follow the convention.
7373
+ */
7363
7374
  export declare function inDoubleTrouble(): boolean;
7364
7375
 
7365
7376
  export declare function inGenesisRoom(): boolean;
@@ -9831,6 +9842,19 @@ export declare enum ModCallbackCustom {
9831
9842
  * ```
9832
9843
  */
9833
9844
  POST_FLIP = 33,
9845
+ /**
9846
+ * The exact same thing as the vanilla `POST_GAME_END` callback, except this callback allows you
9847
+ * to specify extra arguments for additional filtration.
9848
+ *
9849
+ * When registering the callback with the `ModUpgraded.AddCallbackCustom` method:
9850
+ * - You can provide an optional third argument that will make the callback only fire if it
9851
+ * matches the `isGameOver` value provided.
9852
+ *
9853
+ * ```ts
9854
+ * function postGameEndFilter(isGameOver: boolean): void {}
9855
+ * ```
9856
+ */
9857
+ POST_GAME_END_FILTER = 34,
9834
9858
  /**
9835
9859
  * Similar to the vanilla callback of the same name, but fires in the correct order with respect
9836
9860
  * to the `POST_NEW_LEVEL` and the `POST_NEW_ROOM` callbacks:
@@ -9849,7 +9873,7 @@ export declare enum ModCallbackCustom {
9849
9873
  * function postGameStartedReordered(isContinued: boolean): void {}
9850
9874
  * ```
9851
9875
  */
9852
- POST_GAME_STARTED_REORDERED = 34,
9876
+ POST_GAME_STARTED_REORDERED = 35,
9853
9877
  /**
9854
9878
  * Similar to the `POST_GAME_STARTED_REORDERED` callback, but fires after all of the subscribed
9855
9879
  * callbacks have finished firing. Thus, you can use this callback to do perform things after a
@@ -9868,7 +9892,7 @@ export declare enum ModCallbackCustom {
9868
9892
  * function postGameStartedReorderedLast(isContinued: boolean): void {}
9869
9893
  * ```
9870
9894
  */
9871
- POST_GAME_STARTED_REORDERED_LAST = 35,
9895
+ POST_GAME_STARTED_REORDERED_LAST = 36,
9872
9896
  /**
9873
9897
  * Fires from the `POST_UPDATE` callback when the Greed Mode wave increases.
9874
9898
  *
@@ -9876,7 +9900,7 @@ export declare enum ModCallbackCustom {
9876
9900
  * function postGreedModeWave(oldWave: int, newWave: int): void {}
9877
9901
  * ```
9878
9902
  */
9879
- POST_GREED_MODE_WAVE = 36,
9903
+ POST_GREED_MODE_WAVE = 37,
9880
9904
  /**
9881
9905
  * Fires from the `POST_UPDATE` callback when a grid entity changes to a state that corresponds to
9882
9906
  * the broken state for the respective grid entity type. (For example, this will fire for a
@@ -9895,7 +9919,7 @@ export declare enum ModCallbackCustom {
9895
9919
  * function postGridEntityBroken(gridEntity: GridEntity): void {}
9896
9920
  * ```
9897
9921
  */
9898
- POST_GRID_ENTITY_BROKEN = 37,
9922
+ POST_GRID_ENTITY_BROKEN = 38,
9899
9923
  /**
9900
9924
  * Fires from the `POST_UPDATE` callback when a new entity collides with a grid entity. (After
9901
9925
  * this, the callback will not continue to fire. It will only fire again once the entity moves out
@@ -9923,7 +9947,7 @@ export declare enum ModCallbackCustom {
9923
9947
  * ): void {}
9924
9948
  * ```
9925
9949
  */
9926
- POST_GRID_ENTITY_COLLISION = 38,
9950
+ POST_GRID_ENTITY_COLLISION = 39,
9927
9951
  /**
9928
9952
  * The same as the `POST_GRID_ENTITY_BROKEN` callback, but only fires for grid entities created
9929
9953
  * with the `spawnCustomGridEntity` helper function.
@@ -9940,7 +9964,7 @@ export declare enum ModCallbackCustom {
9940
9964
  * ): void {}
9941
9965
  * ```
9942
9966
  */
9943
- POST_GRID_ENTITY_CUSTOM_BROKEN = 39,
9967
+ POST_GRID_ENTITY_CUSTOM_BROKEN = 40,
9944
9968
  /**
9945
9969
  * The same as the `POST_GRID_ENTITY_COLLISION` callback, but only fires for grid entities created
9946
9970
  * with the `spawnCustomGridEntity` helper function.
@@ -9964,7 +9988,7 @@ export declare enum ModCallbackCustom {
9964
9988
  * ): void {}
9965
9989
  * ```
9966
9990
  */
9967
- POST_GRID_ENTITY_CUSTOM_COLLISION = 40,
9991
+ POST_GRID_ENTITY_CUSTOM_COLLISION = 41,
9968
9992
  /**
9969
9993
  * The same as the `POST_GRID_ENTITY_INIT` callback, but only fires for grid entities created with
9970
9994
  * the `spawnCustomGridEntity` helper function.
@@ -9981,7 +10005,7 @@ export declare enum ModCallbackCustom {
9981
10005
  * ): void {}
9982
10006
  * ```
9983
10007
  */
9984
- POST_GRID_ENTITY_CUSTOM_INIT = 41,
10008
+ POST_GRID_ENTITY_CUSTOM_INIT = 42,
9985
10009
  /**
9986
10010
  * The same as the `POST_GRID_ENTITY_REMOVE` callback, but only fires for grid entities created
9987
10011
  * with the `spawnCustomGridEntity` helper function.
@@ -9998,7 +10022,7 @@ export declare enum ModCallbackCustom {
9998
10022
  * ): void {}
9999
10023
  * ```
10000
10024
  */
10001
- POST_GRID_ENTITY_CUSTOM_REMOVE = 42,
10025
+ POST_GRID_ENTITY_CUSTOM_REMOVE = 43,
10002
10026
  /**
10003
10027
  * The same as the `POST_GRID_ENTITY_RENDER` callback, but only fires for grid entities created
10004
10028
  * with the `spawnCustomGridEntity` helper function.
@@ -10015,7 +10039,7 @@ export declare enum ModCallbackCustom {
10015
10039
  * ): void {}
10016
10040
  * ```
10017
10041
  */
10018
- POST_GRID_ENTITY_CUSTOM_RENDER = 43,
10042
+ POST_GRID_ENTITY_CUSTOM_RENDER = 44,
10019
10043
  /**
10020
10044
  * The same as the `POST_GRID_ENTITY_STATE_CHANGED` callback, but only fires for grid entities
10021
10045
  * created with the `spawnCustomGridEntity` helper function.
@@ -10034,7 +10058,7 @@ export declare enum ModCallbackCustom {
10034
10058
  * ): void {}
10035
10059
  * ```
10036
10060
  */
10037
- POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 44,
10061
+ POST_GRID_ENTITY_CUSTOM_STATE_CHANGED = 45,
10038
10062
  /**
10039
10063
  * The same as the `POST_GRID_ENTITY_UPDATE` callback, but only fires for grid entities created
10040
10064
  * with the `spawnCustomGridEntity` helper function.
@@ -10051,7 +10075,7 @@ export declare enum ModCallbackCustom {
10051
10075
  * ): void {}
10052
10076
  * ```
10053
10077
  */
10054
- POST_GRID_ENTITY_CUSTOM_UPDATE = 45,
10078
+ POST_GRID_ENTITY_CUSTOM_UPDATE = 46,
10055
10079
  /**
10056
10080
  * Fires when a new grid entity is initialized. Specifically, this is either:
10057
10081
  *
@@ -10073,7 +10097,7 @@ export declare enum ModCallbackCustom {
10073
10097
  * function postGridEntityInit(gridEntity: GridEntity): void {}
10074
10098
  * ```
10075
10099
  */
10076
- POST_GRID_ENTITY_INIT = 46,
10100
+ POST_GRID_ENTITY_INIT = 47,
10077
10101
  /**
10078
10102
  * Fires from the `POST_UPDATE` callback when a new grid entity is removed. Specifically, this on
10079
10103
  * the frame after it no longer exists (where it did exist a frame ago).
@@ -10098,7 +10122,7 @@ export declare enum ModCallbackCustom {
10098
10122
  * ): void {}
10099
10123
  * ```
10100
10124
  */
10101
- POST_GRID_ENTITY_REMOVE = 47,
10125
+ POST_GRID_ENTITY_REMOVE = 48,
10102
10126
  /**
10103
10127
  * Fires from the `POST_RENDER` callback on every frame that a grid entity exists.
10104
10128
  *
@@ -10115,7 +10139,7 @@ export declare enum ModCallbackCustom {
10115
10139
  * function postGridEntityRender(gridEntity: GridEntity): void {}
10116
10140
  * ```
10117
10141
  */
10118
- POST_GRID_ENTITY_RENDER = 48,
10142
+ POST_GRID_ENTITY_RENDER = 49,
10119
10143
  /**
10120
10144
  * Fires from the `POST_UPDATE` callback when a grid entity changes its state. (In this context,
10121
10145
  * "state" refers to the `GridEntity.State` field.)
@@ -10137,7 +10161,7 @@ export declare enum ModCallbackCustom {
10137
10161
  * ): void {}
10138
10162
  * ```
10139
10163
  */
10140
- POST_GRID_ENTITY_STATE_CHANGED = 49,
10164
+ POST_GRID_ENTITY_STATE_CHANGED = 50,
10141
10165
  /**
10142
10166
  * Fires from the `POST_UPDATE` callback on every frame that a grid entity exists.
10143
10167
  *
@@ -10154,7 +10178,7 @@ export declare enum ModCallbackCustom {
10154
10178
  * function postGridEntityUpdate(gridEntity: GridEntity): void {}
10155
10179
  * ```
10156
10180
  */
10157
- POST_GRID_ENTITY_UPDATE = 50,
10181
+ POST_GRID_ENTITY_UPDATE = 51,
10158
10182
  /**
10159
10183
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses a Holy Mantle
10160
10184
  * temporary collectible effect.
@@ -10177,7 +10201,7 @@ export declare enum ModCallbackCustom {
10177
10201
  * ): void {}
10178
10202
  * ```
10179
10203
  */
10180
- POST_HOLY_MANTLE_REMOVED = 51,
10204
+ POST_HOLY_MANTLE_REMOVED = 52,
10181
10205
  /**
10182
10206
  * Fires from `POST_PEFFECT_UPDATE_REORDERED` callback when the player loses charge on their
10183
10207
  * active collectible item, implying that the item was just used.
@@ -10200,7 +10224,7 @@ export declare enum ModCallbackCustom {
10200
10224
  * ): void {}
10201
10225
  * ```
10202
10226
  */
10203
- POST_ITEM_DISCHARGE = 52,
10227
+ POST_ITEM_DISCHARGE = 53,
10204
10228
  /**
10205
10229
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item is no longer queued (i.e.
10206
10230
  * when the animation of the player holding the item above their head is finished and the item is
@@ -10221,7 +10245,7 @@ export declare enum ModCallbackCustom {
10221
10245
  * ): void {}
10222
10246
  * ```
10223
10247
  */
10224
- POST_ITEM_PICKUP = 53,
10248
+ POST_ITEM_PICKUP = 54,
10225
10249
  /**
10226
10250
  * Fires on the first `POST_RENDER` frame after a key on the keyboard has been pressed or
10227
10251
  * released. (In other words, the callback only fires when the "pressed" status is different than
@@ -10237,7 +10261,7 @@ export declare enum ModCallbackCustom {
10237
10261
  * function postKeyboardChanged(keyboard: Keyboard, pressed: boolean): void {}
10238
10262
  * ```
10239
10263
  */
10240
- POST_KEYBOARD_CHANGED = 54,
10264
+ POST_KEYBOARD_CHANGED = 55,
10241
10265
  /**
10242
10266
  * The exact same thing as the vanilla `POST_KNIFE_INIT` callback, except this callback allows you
10243
10267
  * to specify extra arguments for additional filtration.
@@ -10252,7 +10276,7 @@ export declare enum ModCallbackCustom {
10252
10276
  * function postKnifeInitFilter(knife: EntityKnife): void {}
10253
10277
  * ```
10254
10278
  */
10255
- POST_KNIFE_INIT_FILTER = 55,
10279
+ POST_KNIFE_INIT_FILTER = 56,
10256
10280
  /**
10257
10281
  * Fires on the first `POST_KNIFE_UPDATE` frame for each knife.
10258
10282
  *
@@ -10269,7 +10293,7 @@ export declare enum ModCallbackCustom {
10269
10293
  * function postKnifeInitLate(knife: EntityKnife): void {}
10270
10294
  * ```
10271
10295
  */
10272
- POST_KNIFE_INIT_LATE = 56,
10296
+ POST_KNIFE_INIT_LATE = 57,
10273
10297
  /**
10274
10298
  * The exact same thing as the vanilla `POST_KNIFE_RENDER` callback, except this callback allows
10275
10299
  * you to specify extra arguments for additional filtration.
@@ -10284,7 +10308,7 @@ export declare enum ModCallbackCustom {
10284
10308
  * function postKnifeRenderFilter(knife: EntityKnife, renderOffset: Vector): void {}
10285
10309
  * ```
10286
10310
  */
10287
- POST_KNIFE_RENDER_FILTER = 57,
10311
+ POST_KNIFE_RENDER_FILTER = 58,
10288
10312
  /**
10289
10313
  * The exact same thing as the vanilla `POST_KNIFE_UPDATE` callback, except this callback allows
10290
10314
  * you to specify extra arguments for additional filtration.
@@ -10299,7 +10323,7 @@ export declare enum ModCallbackCustom {
10299
10323
  * function postKnifeUpdateFilter(knife: EntityKnife): void {}
10300
10324
  * ```
10301
10325
  */
10302
- POST_KNIFE_UPDATE_FILTER = 58,
10326
+ POST_KNIFE_UPDATE_FILTER = 59,
10303
10327
  /**
10304
10328
  * The exact same thing as the vanilla `POST_LASER_INIT` callback, except this callback allows you
10305
10329
  * to specify extra arguments for additional filtration.
@@ -10314,7 +10338,7 @@ export declare enum ModCallbackCustom {
10314
10338
  * function postLaserInitFilter(laser: EntityLaser): void {}
10315
10339
  * ```
10316
10340
  */
10317
- POST_LASER_INIT_FILTER = 59,
10341
+ POST_LASER_INIT_FILTER = 60,
10318
10342
  /**
10319
10343
  * Fires on the first `POST_LASER_UPDATE` frame for each laser.
10320
10344
  *
@@ -10331,7 +10355,7 @@ export declare enum ModCallbackCustom {
10331
10355
  * function postLaserInitLate(laser: EntityLaser): void {}
10332
10356
  * ```
10333
10357
  */
10334
- POST_LASER_INIT_LATE = 60,
10358
+ POST_LASER_INIT_LATE = 61,
10335
10359
  /**
10336
10360
  * The exact same thing as the vanilla `POST_LASER_RENDER` callback, except this callback allows
10337
10361
  * you to specify extra arguments for additional filtration.
@@ -10346,7 +10370,7 @@ export declare enum ModCallbackCustom {
10346
10370
  * function postLaserRenderFilter(laser: EntityLaser, renderOffset: Vector): void {}
10347
10371
  * ```
10348
10372
  */
10349
- POST_LASER_RENDER_FILTER = 61,
10373
+ POST_LASER_RENDER_FILTER = 62,
10350
10374
  /**
10351
10375
  * The exact same thing as the vanilla `POST_LASER_UPDATE` callback, except this callback allows
10352
10376
  * you to specify extra arguments for additional filtration.
@@ -10361,7 +10385,7 @@ export declare enum ModCallbackCustom {
10361
10385
  * function postLaserUpdateFilter(laser: EntityLaser): void {}
10362
10386
  * ```
10363
10387
  */
10364
- POST_LASER_UPDATE_FILTER = 62,
10388
+ POST_LASER_UPDATE_FILTER = 63,
10365
10389
  /**
10366
10390
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
10367
10391
  * to the `POST_GAME_STARTED` and the `POST_NEW_ROOM` callbacks:
@@ -10387,7 +10411,7 @@ export declare enum ModCallbackCustom {
10387
10411
  * function postNewLevelReordered(stage: LevelStage, stageType: StageType): void {}
10388
10412
  * ```
10389
10413
  */
10390
- POST_NEW_LEVEL_REORDERED = 63,
10414
+ POST_NEW_LEVEL_REORDERED = 64,
10391
10415
  /**
10392
10416
  * Fires on the first `POST_NEW_ROOM` or `PRE_ENTITY_SPAWN` callback where being in a new room is
10393
10417
  * detected. This is useful because the vanilla `POST_NEW_ROOM` callback fires only after entities
@@ -10404,7 +10428,7 @@ export declare enum ModCallbackCustom {
10404
10428
  * function postNewRoomEarly(roomType: RoomType): void {}
10405
10429
  * ```
10406
10430
  */
10407
- POST_NEW_ROOM_EARLY = 64,
10431
+ POST_NEW_ROOM_EARLY = 65,
10408
10432
  /**
10409
10433
  * The same as the vanilla callback of the same name, but fires in the correct order with respect
10410
10434
  * to the `POST_GAME_STARTED` and the `POST_NEW_LEVEL` callbacks:
@@ -10427,7 +10451,7 @@ export declare enum ModCallbackCustom {
10427
10451
  * function postNewRoomReordered(roomType: RoomType): void {}
10428
10452
  * ```
10429
10453
  */
10430
- POST_NEW_ROOM_REORDERED = 65,
10454
+ POST_NEW_ROOM_REORDERED = 66,
10431
10455
  /**
10432
10456
  * The exact same thing as the vanilla `POST_NPC_DEATH` callback, except this callback allows you
10433
10457
  * to specify extra arguments for additional filtration.
@@ -10444,7 +10468,7 @@ export declare enum ModCallbackCustom {
10444
10468
  * function postNPCDeathFilter(npc: EntityNPC): void {}
10445
10469
  * ```
10446
10470
  */
10447
- POST_NPC_DEATH_FILTER = 66,
10471
+ POST_NPC_DEATH_FILTER = 67,
10448
10472
  /**
10449
10473
  * The exact same thing as the vanilla `POST_NPC_INIT` callback, except this callback allows you
10450
10474
  * to specify extra arguments for additional filtration.
@@ -10461,7 +10485,7 @@ export declare enum ModCallbackCustom {
10461
10485
  * function postNPCInitFilter(npc: EntityNPC): void {}
10462
10486
  * ```
10463
10487
  */
10464
- POST_NPC_INIT_FILTER = 67,
10488
+ POST_NPC_INIT_FILTER = 68,
10465
10489
  /**
10466
10490
  * Fires on the first `NPC_UPDATE` frame for each NPC.
10467
10491
  *
@@ -10480,7 +10504,7 @@ export declare enum ModCallbackCustom {
10480
10504
  * function postNPCInitLate(npc: EntityNPC): void {}
10481
10505
  * ```
10482
10506
  */
10483
- POST_NPC_INIT_LATE = 68,
10507
+ POST_NPC_INIT_LATE = 69,
10484
10508
  /**
10485
10509
  * The exact same thing as the vanilla `POST_NPC_RENDER` callback, except this callback allows you
10486
10510
  * to specify extra arguments for additional filtration.
@@ -10497,7 +10521,7 @@ export declare enum ModCallbackCustom {
10497
10521
  * function postNPCRenderFilter(npc: EntityNPC, renderOffset: Vector): void {}
10498
10522
  * ```
10499
10523
  */
10500
- POST_NPC_RENDER_FILTER = 69,
10524
+ POST_NPC_RENDER_FILTER = 70,
10501
10525
  /**
10502
10526
  * Fires from the `POST_NPC_UPDATE` callback when an NPC's state has changed from what it was on
10503
10527
  * the previous frame. (In this context, "state" refers to the `EntityNPC.State` field.)
@@ -10518,7 +10542,7 @@ export declare enum ModCallbackCustom {
10518
10542
  * ): void {}
10519
10543
  * ```
10520
10544
  */
10521
- POST_NPC_STATE_CHANGED = 70,
10545
+ POST_NPC_STATE_CHANGED = 71,
10522
10546
  /**
10523
10547
  * The exact same thing as the vanilla `POST_NPC_UPDATE` callback, except this callback allows you
10524
10548
  * to specify extra arguments for additional filtration.
@@ -10535,7 +10559,7 @@ export declare enum ModCallbackCustom {
10535
10559
  * function postNPCUpdateFilter(npc: EntityNPC): void {}
10536
10560
  * ```
10537
10561
  */
10538
- POST_NPC_UPDATE_FILTER = 71,
10562
+ POST_NPC_UPDATE_FILTER = 72,
10539
10563
  /**
10540
10564
  * Similar to the vanilla callback of the same name, but fires after the
10541
10565
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -10560,7 +10584,7 @@ export declare enum ModCallbackCustom {
10560
10584
  * function postPEffectUpdateReordered(player: EntityPlayer): void {}
10561
10585
  * ```
10562
10586
  */
10563
- POST_PEFFECT_UPDATE_REORDERED = 72,
10587
+ POST_PEFFECT_UPDATE_REORDERED = 73,
10564
10588
  /**
10565
10589
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup has a different variant or sub-type
10566
10590
  * than what it was on the previous frame.
@@ -10581,7 +10605,7 @@ export declare enum ModCallbackCustom {
10581
10605
  * ): void {}
10582
10606
  * ```
10583
10607
  */
10584
- POST_PICKUP_CHANGED = 73,
10608
+ POST_PICKUP_CHANGED = 74,
10585
10609
  /**
10586
10610
  * Fires on the first `POST_RENDER` frame that a pickup plays the "Collect" animation.
10587
10611
  *
@@ -10600,7 +10624,7 @@ export declare enum ModCallbackCustom {
10600
10624
  * function postPickupCollect(pickup: EntityPickup, player: EntityPlayer): void {}
10601
10625
  * ```
10602
10626
  */
10603
- POST_PICKUP_COLLECT = 74,
10627
+ POST_PICKUP_COLLECT = 75,
10604
10628
  /**
10605
10629
  * The exact same thing as the vanilla `POST_PICKUP_INIT` callback, except this callback allows
10606
10630
  * you to specify extra arguments for additional filtration.
@@ -10615,7 +10639,7 @@ export declare enum ModCallbackCustom {
10615
10639
  * function postPickupInitFilter(pickup: EntityPickup): void {}
10616
10640
  * ```
10617
10641
  */
10618
- POST_PICKUP_INIT_FILTER = 75,
10642
+ POST_PICKUP_INIT_FILTER = 76,
10619
10643
  /**
10620
10644
  * Fires from the `POST_PICKUP_INIT` callback on the first time that a player has seen the
10621
10645
  * respective pickup on the run.
@@ -10633,7 +10657,7 @@ export declare enum ModCallbackCustom {
10633
10657
  * function postPickupInitFirst(pickup: EntityPickup): void {}
10634
10658
  * ```
10635
10659
  */
10636
- POST_PICKUP_INIT_FIRST = 76,
10660
+ POST_PICKUP_INIT_FIRST = 77,
10637
10661
  /**
10638
10662
  * Fires on the first `POST_PICKUP_UPDATE` frame for each pickup.
10639
10663
  *
@@ -10650,7 +10674,7 @@ export declare enum ModCallbackCustom {
10650
10674
  * function postPickupInitLate(pickup: EntityPickup): void {}
10651
10675
  * ```
10652
10676
  */
10653
- POST_PICKUP_INIT_LATE = 77,
10677
+ POST_PICKUP_INIT_LATE = 78,
10654
10678
  /**
10655
10679
  * The exact same thing as the vanilla `POST_PICKUP_RENDER` callback, except this callback allows
10656
10680
  * you to specify extra arguments for additional filtration.
@@ -10665,7 +10689,7 @@ export declare enum ModCallbackCustom {
10665
10689
  * function postPickupRenderFilter(pickup: EntityPickup, renderOffset: Vector): void {}
10666
10690
  * ```
10667
10691
  */
10668
- POST_PICKUP_RENDER_FILTER = 78,
10692
+ POST_PICKUP_RENDER_FILTER = 79,
10669
10693
  /**
10670
10694
  * The exact same thing as the vanilla `POST_PICKUP_SELECTION` callback, except this callback
10671
10695
  * allows you to specify extra arguments for additional filtration.
@@ -10684,7 +10708,7 @@ export declare enum ModCallbackCustom {
10684
10708
  * ): [PickupVariant, int] | undefined {}
10685
10709
  * ```
10686
10710
  */
10687
- POST_PICKUP_SELECTION_FILTER = 79,
10711
+ POST_PICKUP_SELECTION_FILTER = 80,
10688
10712
  /**
10689
10713
  * Fires from the `POST_PICKUP_UPDATE` callback when a pickup's state has changed from what it was
10690
10714
  * on the previous frame. (In this context, "state" refers to the `EntityPickup.State` field.)
@@ -10703,7 +10727,7 @@ export declare enum ModCallbackCustom {
10703
10727
  * ): void {}
10704
10728
  * ```
10705
10729
  */
10706
- POST_PICKUP_STATE_CHANGED = 80,
10730
+ POST_PICKUP_STATE_CHANGED = 81,
10707
10731
  /**
10708
10732
  * The exact same thing as the vanilla `POST_PICKUP_UPDATE` callback, except this callback allows
10709
10733
  * you to specify extra arguments for additional filtration.
@@ -10718,7 +10742,7 @@ export declare enum ModCallbackCustom {
10718
10742
  * function postPickupUpdateFilter(pickup: EntityPickup): void {}
10719
10743
  * ```
10720
10744
  */
10721
- POST_PICKUP_UPDATE_FILTER = 81,
10745
+ POST_PICKUP_UPDATE_FILTER = 82,
10722
10746
  /**
10723
10747
  * Fires from the `POST_RENDER` callback on every frame that a pit exists.
10724
10748
  *
@@ -10730,7 +10754,7 @@ export declare enum ModCallbackCustom {
10730
10754
  * function postPitRender(pit: GridEntityPit): void {}
10731
10755
  * ```
10732
10756
  */
10733
- POST_PIT_RENDER = 82,
10757
+ POST_PIT_RENDER = 83,
10734
10758
  /**
10735
10759
  * Fires from the `POST_UPDATE` callback on every frame that a pit exists.
10736
10760
  *
@@ -10742,7 +10766,7 @@ export declare enum ModCallbackCustom {
10742
10766
  * function postPitUpdate(pit: GridEntityPit): void {}
10743
10767
  * ```
10744
10768
  */
10745
- POST_PIT_UPDATE = 83,
10769
+ POST_PIT_UPDATE = 84,
10746
10770
  /**
10747
10771
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's health (i.e. hearts) is
10748
10772
  * different than what it was on the previous frame. For more information, see the `PlayerHealth`
@@ -10764,7 +10788,7 @@ export declare enum ModCallbackCustom {
10764
10788
  * ): void {}
10765
10789
  * ```
10766
10790
  */
10767
- POST_PLAYER_CHANGE_HEALTH = 84,
10791
+ POST_PLAYER_CHANGE_HEALTH = 85,
10768
10792
  /**
10769
10793
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when one of the player's stats change
10770
10794
  * from what they were on the previous frame.
@@ -10794,7 +10818,7 @@ export declare enum ModCallbackCustom {
10794
10818
  * ) => void {}
10795
10819
  * ```
10796
10820
  */
10797
- POST_PLAYER_CHANGE_STAT = 85,
10821
+ POST_PLAYER_CHANGE_STAT = 86,
10798
10822
  /**
10799
10823
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player entity changes its player
10800
10824
  * type
@@ -10817,7 +10841,7 @@ export declare enum ModCallbackCustom {
10817
10841
  * ): void {}
10818
10842
  * ```
10819
10843
  */
10820
- POST_PLAYER_CHANGE_TYPE = 86,
10844
+ POST_PLAYER_CHANGE_TYPE = 87,
10821
10845
  /**
10822
10846
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
10823
10847
  * higher than what it was on the previous frame, or when the active items change, or when the
@@ -10834,7 +10858,7 @@ export declare enum ModCallbackCustom {
10834
10858
  * ): void {}
10835
10859
  * ```
10836
10860
  */
10837
- POST_PLAYER_COLLECTIBLE_ADDED = 87,
10861
+ POST_PLAYER_COLLECTIBLE_ADDED = 88,
10838
10862
  /**
10839
10863
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player's collectible count is
10840
10864
  * lower than what it was on the previous frame, or when the active items change, or when the
@@ -10851,7 +10875,7 @@ export declare enum ModCallbackCustom {
10851
10875
  * ): void {}
10852
10876
  * ```
10853
10877
  */
10854
- POST_PLAYER_COLLECTIBLE_REMOVED = 88,
10878
+ POST_PLAYER_COLLECTIBLE_REMOVED = 89,
10855
10879
  /**
10856
10880
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes fatal damage. Return false to
10857
10881
  * prevent the fatal damage.
@@ -10869,7 +10893,7 @@ export declare enum ModCallbackCustom {
10869
10893
  * function postPlayerFatalDamage(player: EntityPlayer): boolean | undefined {}
10870
10894
  * ```
10871
10895
  */
10872
- POST_PLAYER_FATAL_DAMAGE = 89,
10896
+ POST_PLAYER_FATAL_DAMAGE = 90,
10873
10897
  /**
10874
10898
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player, similar to the
10875
10899
  * `POST_PLAYER_INIT_LATE` callback, with two changes:
@@ -10891,7 +10915,7 @@ export declare enum ModCallbackCustom {
10891
10915
  * function postPlayerInitFirst(player: EntityPlayer): void {}
10892
10916
  * ```
10893
10917
  */
10894
- POST_PLAYER_INIT_FIRST = 90,
10918
+ POST_PLAYER_INIT_FIRST = 91,
10895
10919
  /**
10896
10920
  * Fires on the first `POST_PEFFECT_UPDATE_REORDERED` frame for each player.
10897
10921
  *
@@ -10911,7 +10935,7 @@ export declare enum ModCallbackCustom {
10911
10935
  * function postPlayerInitLate(pickup: EntityPickup): void {}
10912
10936
  * ```
10913
10937
  */
10914
- POST_PLAYER_INIT_LATE = 91,
10938
+ POST_PLAYER_INIT_LATE = 92,
10915
10939
  /**
10916
10940
  * Similar to the vanilla callback of the same name, but fires after the `POST_GAME_STARTED`
10917
10941
  * callback fires (if the player is spawning on the 0th game frame of the run).
@@ -10935,7 +10959,7 @@ export declare enum ModCallbackCustom {
10935
10959
  * function postPlayerRenderReordered(player: EntityPlayer, renderOffset: Vector): void {}
10936
10960
  * ```
10937
10961
  */
10938
- POST_PLAYER_RENDER_REORDERED = 92,
10962
+ POST_PLAYER_RENDER_REORDERED = 93,
10939
10963
  /**
10940
10964
  * Similar to the vanilla callback of the same name, but fires after the
10941
10965
  * `POST_GAME_STARTED_REORDERED` callback fires (if the player is being updated on the 0th game
@@ -10960,7 +10984,7 @@ export declare enum ModCallbackCustom {
10960
10984
  * function postPlayerUpdateReordered(player: EntityPlayer): void {}
10961
10985
  * ```
10962
10986
  */
10963
- POST_PLAYER_UPDATE_REORDERED = 93,
10987
+ POST_PLAYER_UPDATE_REORDERED = 94,
10964
10988
  /**
10965
10989
  * Fires from the `POST_RENDER` callback on every frame that a poop exists.
10966
10990
  *
@@ -10972,7 +10996,7 @@ export declare enum ModCallbackCustom {
10972
10996
  * function postPoopRender(poop: GridEntityPoop): void {}
10973
10997
  * ```
10974
10998
  */
10975
- POST_POOP_RENDER = 94,
10999
+ POST_POOP_RENDER = 95,
10976
11000
  /**
10977
11001
  * Fires from the `POST_UPDATE` callback on every frame that a poop exists.
10978
11002
  *
@@ -10984,7 +11008,7 @@ export declare enum ModCallbackCustom {
10984
11008
  * function postPoopUpdate(poop: GridEntityPoop): void {}
10985
11009
  * ```
10986
11010
  */
10987
- POST_POOP_UPDATE = 95,
11011
+ POST_POOP_UPDATE = 96,
10988
11012
  /**
10989
11013
  * Fires from the `POST_RENDER` callback on every frame that a pressure plate exists.
10990
11014
  *
@@ -10996,7 +11020,7 @@ export declare enum ModCallbackCustom {
10996
11020
  * function postPressurePlateRender(pressurePlate: GridEntityPressurePlate): void {}
10997
11021
  * ```
10998
11022
  */
10999
- POST_PRESSURE_PLATE_RENDER = 96,
11023
+ POST_PRESSURE_PLATE_RENDER = 97,
11000
11024
  /**
11001
11025
  * Fires from the `POST_UPDATE` callback on every frame that a pressure plate exists.
11002
11026
  *
@@ -11008,7 +11032,7 @@ export declare enum ModCallbackCustom {
11008
11032
  * function postPressurePlateUpdate(pressurePlate: GridEntityPressurePlate): void {}
11009
11033
  * ```
11010
11034
  */
11011
- POST_PRESSURE_PLATE_UPDATE = 97,
11035
+ POST_PRESSURE_PLATE_UPDATE = 98,
11012
11036
  /**
11013
11037
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
11014
11038
  * allows you to specify extra arguments for additional filtration.
@@ -11023,7 +11047,7 @@ export declare enum ModCallbackCustom {
11023
11047
  * function postProjectileInitFilter(tear: EntityTear): void {}
11024
11048
  * ```
11025
11049
  */
11026
- POST_PROJECTILE_INIT_FILTER = 98,
11050
+ POST_PROJECTILE_INIT_FILTER = 99,
11027
11051
  /**
11028
11052
  * Fires on the first `POST_PROJECTILE_UPDATE` frame for each projectile.
11029
11053
  *
@@ -11040,7 +11064,7 @@ export declare enum ModCallbackCustom {
11040
11064
  * function postProjectileInitLate(projectile: EntityProjectile): void {}
11041
11065
  * ```
11042
11066
  */
11043
- POST_PROJECTILE_INIT_LATE = 99,
11067
+ POST_PROJECTILE_INIT_LATE = 100,
11044
11068
  /**
11045
11069
  * The exact same thing as the vanilla `POST_PROJECTILE_RENDER` callback, except this callback
11046
11070
  * allows you to specify extra arguments for additional filtration.
@@ -11055,7 +11079,7 @@ export declare enum ModCallbackCustom {
11055
11079
  * function postProjectileRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
11056
11080
  * ```
11057
11081
  */
11058
- POST_PROJECTILE_RENDER_FILTER = 100,
11082
+ POST_PROJECTILE_RENDER_FILTER = 101,
11059
11083
  /**
11060
11084
  * The exact same thing as the vanilla `POST_PROJECTILE_INIT` callback, except this callback
11061
11085
  * allows you to specify extra arguments for additional filtration.
@@ -11070,7 +11094,7 @@ export declare enum ModCallbackCustom {
11070
11094
  * function postProjectileUpdateFilter(tear: EntityTear): void {}
11071
11095
  * ```
11072
11096
  */
11073
- POST_PROJECTILE_UPDATE_FILTER = 101,
11097
+ POST_PROJECTILE_UPDATE_FILTER = 102,
11074
11098
  /**
11075
11099
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player first picks up a new
11076
11100
  * item. The pickup returned in the callback is assumed to be the first pickup that no longer
@@ -11086,7 +11110,7 @@ export declare enum ModCallbackCustom {
11086
11110
  * function postPurchase(player: EntityPlayer, pickup: EntityPickup): void {}
11087
11111
  * ```
11088
11112
  */
11089
- POST_PURCHASE = 102,
11113
+ POST_PURCHASE = 103,
11090
11114
  /**
11091
11115
  * Fires from the `POST_RENDER` callback on every frame that a rock exists.
11092
11116
  *
@@ -11100,7 +11124,7 @@ export declare enum ModCallbackCustom {
11100
11124
  * function postRockRender(rock: GridEntityRock): void {}
11101
11125
  * ```
11102
11126
  */
11103
- POST_ROCK_RENDER = 103,
11127
+ POST_ROCK_RENDER = 104,
11104
11128
  /**
11105
11129
  * Fires from the `POST_UPDATE` callback on every frame that a rock exists.
11106
11130
  *
@@ -11114,7 +11138,7 @@ export declare enum ModCallbackCustom {
11114
11138
  * function postRockUpdate(rock: GridEntityRock): void {}
11115
11139
  * ```
11116
11140
  */
11117
- POST_ROCK_UPDATE = 104,
11141
+ POST_ROCK_UPDATE = 105,
11118
11142
  /**
11119
11143
  * Fires from the `POST_UPDATE` callback when the clear state of a room changes (as according to
11120
11144
  * the `Room.IsClear` method).
@@ -11131,7 +11155,7 @@ export declare enum ModCallbackCustom {
11131
11155
  * function postRoomClearChanged(roomClear: boolean): void {}
11132
11156
  * ```
11133
11157
  */
11134
- POST_ROOM_CLEAR_CHANGED = 105,
11158
+ POST_ROOM_CLEAR_CHANGED = 106,
11135
11159
  /**
11136
11160
  * Fires from the `ENTITY_TAKE_DMG` callback when a player takes damage from spikes in a Sacrifice
11137
11161
  * Room.
@@ -11146,7 +11170,7 @@ export declare enum ModCallbackCustom {
11146
11170
  * function postSacrifice(player: EntityPlayer, numSacrifices: int): void {}
11147
11171
  * ```
11148
11172
  */
11149
- POST_SACRIFICE = 106,
11173
+ POST_SACRIFICE = 107,
11150
11174
  /**
11151
11175
  * Fires from the `POST_RENDER` callback when a slot entity's animation changes.
11152
11176
  *
@@ -11164,7 +11188,7 @@ export declare enum ModCallbackCustom {
11164
11188
  * ): void {}
11165
11189
  * ```
11166
11190
  */
11167
- POST_SLOT_ANIMATION_CHANGED = 107,
11191
+ POST_SLOT_ANIMATION_CHANGED = 108,
11168
11192
  /**
11169
11193
  * Fires from the `PRE_PLAYER_COLLISION` callback when when a player collides with a slot entity.
11170
11194
  * (It will not fire if any other type of entity collides with the slot entity.)
@@ -11188,7 +11212,7 @@ export declare enum ModCallbackCustom {
11188
11212
  * ): void {}
11189
11213
  * ```
11190
11214
  */
11191
- POST_SLOT_COLLISION = 108,
11215
+ POST_SLOT_COLLISION = 109,
11192
11216
  /**
11193
11217
  * Fires from the `POST_SLOT_UPDATE` or the `POST_ENTITY_REMOVE` callback when a slot machine is
11194
11218
  * destroyed or a beggar is removed.
@@ -11230,7 +11254,7 @@ export declare enum ModCallbackCustom {
11230
11254
  * function postSlotDestroyed(slot: Entity, slotDestructionType: SlotDestructionType): void {}
11231
11255
  * ```
11232
11256
  */
11233
- POST_SLOT_DESTROYED = 109,
11257
+ POST_SLOT_DESTROYED = 110,
11234
11258
  /**
11235
11259
  * Fires when a new slot entity is initialized. Specifically, this is either:
11236
11260
  *
@@ -11249,7 +11273,7 @@ export declare enum ModCallbackCustom {
11249
11273
  * function postSlotInit(slot: Entity): void {}
11250
11274
  * ```
11251
11275
  */
11252
- POST_SLOT_INIT = 110,
11276
+ POST_SLOT_INIT = 111,
11253
11277
  /**
11254
11278
  * Fires from the `POST_RENDER` callback on every frame that a slot entity exists.
11255
11279
  *
@@ -11263,7 +11287,7 @@ export declare enum ModCallbackCustom {
11263
11287
  * function postSlotRender(slot: Entity): void {}
11264
11288
  * ```
11265
11289
  */
11266
- POST_SLOT_RENDER = 111,
11290
+ POST_SLOT_RENDER = 112,
11267
11291
  /**
11268
11292
  * Fires from the `POST_UPDATE` callback on every frame that a slot entity exists.
11269
11293
  *
@@ -11277,7 +11301,7 @@ export declare enum ModCallbackCustom {
11277
11301
  * function postSlotUpdate(slot: Entity): void {}
11278
11302
  * ```
11279
11303
  */
11280
- POST_SLOT_UPDATE = 112,
11304
+ POST_SLOT_UPDATE = 113,
11281
11305
  /**
11282
11306
  * Fires from the `POST_RENDER` callback on every frame that spikes exist.
11283
11307
  *
@@ -11289,7 +11313,7 @@ export declare enum ModCallbackCustom {
11289
11313
  * function postSpikesRender(spikes: GridEntitySpikes): void {}
11290
11314
  * ```
11291
11315
  */
11292
- POST_SPIKES_RENDER = 113,
11316
+ POST_SPIKES_RENDER = 114,
11293
11317
  /**
11294
11318
  * Fires from the `POST_UPDATE` callback on every frame that spikes exist.
11295
11319
  *
@@ -11301,7 +11325,7 @@ export declare enum ModCallbackCustom {
11301
11325
  * function postSpikesUpdate(spikes: GridEntitySpikes): void {}
11302
11326
  * ```
11303
11327
  */
11304
- POST_SPIKES_UPDATE = 114,
11328
+ POST_SPIKES_UPDATE = 115,
11305
11329
  /**
11306
11330
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
11307
11331
  * to specify extra arguments for additional filtration.
@@ -11316,7 +11340,7 @@ export declare enum ModCallbackCustom {
11316
11340
  * function postTearInitFilter(tear: EntityTear): void {}
11317
11341
  * ```
11318
11342
  */
11319
- POST_TEAR_INIT_FILTER = 115,
11343
+ POST_TEAR_INIT_FILTER = 116,
11320
11344
  /**
11321
11345
  * Fires on the first `POST_TEAR_UPDATE` frame for each tear (which is when
11322
11346
  * `EntityTear.FrameCount` is equal to 0).
@@ -11334,7 +11358,7 @@ export declare enum ModCallbackCustom {
11334
11358
  * function postTearInitLate(tear: EntityTear): void {}
11335
11359
  * ```
11336
11360
  */
11337
- POST_TEAR_INIT_LATE = 116,
11361
+ POST_TEAR_INIT_LATE = 117,
11338
11362
  /**
11339
11363
  * Fires on the second `POST_TEAR_UPDATE` frame for each tear (which is when
11340
11364
  * `EntityTear.FrameCount` is equal to 1).
@@ -11351,7 +11375,7 @@ export declare enum ModCallbackCustom {
11351
11375
  * function postTearInitVeryLate(tear: EntityTear): void {}
11352
11376
  * ```
11353
11377
  */
11354
- POST_TEAR_INIT_VERY_LATE = 117,
11378
+ POST_TEAR_INIT_VERY_LATE = 118,
11355
11379
  /**
11356
11380
  * The exact same thing as the vanilla `POST_TEAR_RENDER` callback, except this callback allows
11357
11381
  * you to specify extra arguments for additional filtration.
@@ -11366,7 +11390,7 @@ export declare enum ModCallbackCustom {
11366
11390
  * function postTearRenderFilter(tear: EntityTear, renderOffset: Vector): void {}
11367
11391
  * ```
11368
11392
  */
11369
- POST_TEAR_RENDER_FILTER = 118,
11393
+ POST_TEAR_RENDER_FILTER = 119,
11370
11394
  /**
11371
11395
  * The exact same thing as the vanilla `POST_TEAR_INIT` callback, except this callback allows you
11372
11396
  * to specify extra arguments for additional filtration.
@@ -11381,7 +11405,7 @@ export declare enum ModCallbackCustom {
11381
11405
  * function postTearUpdateFilter(tear: EntityTear): void {}
11382
11406
  * ```
11383
11407
  */
11384
- POST_TEAR_UPDATE_FILTER = 119,
11408
+ POST_TEAR_UPDATE_FILTER = 120,
11385
11409
  /**
11386
11410
  * Fires from the `POST_RENDER` callback on every frame that a TNT exists.
11387
11411
  *
@@ -11393,7 +11417,7 @@ export declare enum ModCallbackCustom {
11393
11417
  * function postTNTRender(tnt: GridEntityTNT): void {}
11394
11418
  * ```
11395
11419
  */
11396
- POST_TNT_RENDER = 120,
11420
+ POST_TNT_RENDER = 121,
11397
11421
  /**
11398
11422
  * Fires from the `POST_UPDATE` callback on every frame that a TNT exists.
11399
11423
  *
@@ -11405,7 +11429,7 @@ export declare enum ModCallbackCustom {
11405
11429
  * function postTNTUpdate(tnt: GridEntityTNT): void {}
11406
11430
  * ```
11407
11431
  */
11408
- POST_TNT_UPDATE = 121,
11432
+ POST_TNT_UPDATE = 122,
11409
11433
  /**
11410
11434
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when a player gains or loses a new
11411
11435
  * transformation.
@@ -11424,7 +11448,7 @@ export declare enum ModCallbackCustom {
11424
11448
  * ): void {}
11425
11449
  * ```
11426
11450
  */
11427
- POST_TRANSFORMATION = 122,
11451
+ POST_TRANSFORMATION = 123,
11428
11452
  /**
11429
11453
  * Fires from `ENTITY_TAKE_DMG` callback when a Wishbone or a Walnut breaks.
11430
11454
  *
@@ -11439,7 +11463,7 @@ export declare enum ModCallbackCustom {
11439
11463
  * ): void {}
11440
11464
  * ```
11441
11465
  */
11442
- POST_TRINKET_BREAK = 123,
11466
+ POST_TRINKET_BREAK = 124,
11443
11467
  /**
11444
11468
  * The same thing as the vanilla `POST_USE_PILL` callback, except this callback passes the
11445
11469
  * `PillColor` of the used pill as the final argument. It allows you to filter by the `PillColor`.
@@ -11462,7 +11486,7 @@ export declare enum ModCallbackCustom {
11462
11486
  * ): void {}
11463
11487
  * ```
11464
11488
  */
11465
- POST_USE_PILL_FILTER = 124,
11489
+ POST_USE_PILL_FILTER = 125,
11466
11490
  /**
11467
11491
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback on the frame before a Berserk effect
11468
11492
  * ends when the player is predicted to die (e.g. they currently have no health left or they took
@@ -11478,7 +11502,7 @@ export declare enum ModCallbackCustom {
11478
11502
  * function preBerserkDeath(player: EntityPlayer): void {}
11479
11503
  * ```
11480
11504
  */
11481
- PRE_BERSERK_DEATH = 125,
11505
+ PRE_BERSERK_DEATH = 126,
11482
11506
  /**
11483
11507
  * The exact same thing as the vanilla `PRE_BOMB_COLLISION` callback, except this callback allows
11484
11508
  * you to specify extra arguments for additional filtration.
@@ -11497,7 +11521,7 @@ export declare enum ModCallbackCustom {
11497
11521
  * ): void {}
11498
11522
  * ```
11499
11523
  */
11500
- PRE_BOMB_COLLISION_FILTER = 126,
11524
+ PRE_BOMB_COLLISION_FILTER = 127,
11501
11525
  /**
11502
11526
  * Fires from the `POST_PLAYER_FATAL_DAMAGE` callback when a player is about to die. If you want
11503
11527
  * to initiate a custom revival, return an integer that corresponds to the item or type of revival
@@ -11516,7 +11540,7 @@ export declare enum ModCallbackCustom {
11516
11540
  * function preCustomRevive(player: EntityPlayer): int | undefined {}
11517
11541
  * ```
11518
11542
  */
11519
- PRE_CUSTOM_REVIVE = 127,
11543
+ PRE_CUSTOM_REVIVE = 128,
11520
11544
  /**
11521
11545
  * The exact same thing as the vanilla `PRE_ENTITY_SPAWN` callback, except this callback allows
11522
11546
  * you to specify extra arguments for additional filtration.
@@ -11541,7 +11565,7 @@ export declare enum ModCallbackCustom {
11541
11565
  * ): [EntityType, int, int, int] | undefined {}
11542
11566
  * ```
11543
11567
  */
11544
- PRE_ENTITY_SPAWN_FILTER = 128,
11568
+ PRE_ENTITY_SPAWN_FILTER = 129,
11545
11569
  /**
11546
11570
  * The exact same thing as the vanilla `PRE_FAMILIAR_COLLISION` callback, except this callback
11547
11571
  * allows you to specify extra arguments for additional filtration.
@@ -11560,7 +11584,7 @@ export declare enum ModCallbackCustom {
11560
11584
  * ): void {}
11561
11585
  * ```
11562
11586
  */
11563
- PRE_FAMILIAR_COLLISION_FILTER = 129,
11587
+ PRE_FAMILIAR_COLLISION_FILTER = 130,
11564
11588
  /**
11565
11589
  * Fires from the `PRE_PICKUP_COLLISION` callback when a player touches a collectible pedestal and
11566
11590
  * meets all of the conditions to pick it up.
@@ -11580,7 +11604,7 @@ export declare enum ModCallbackCustom {
11580
11604
  * function preGetPedestal(player: EntityPlayer, collectible: EntityPickupCollectible): void {}
11581
11605
  * ```
11582
11606
  */
11583
- PRE_GET_PEDESTAL = 130,
11607
+ PRE_GET_PEDESTAL = 131,
11584
11608
  /**
11585
11609
  * Fires from the `POST_PEFFECT_UPDATE_REORDERED` callback when an item becomes queued (i.e. when
11586
11610
  * the player begins to hold the item above their head).
@@ -11600,7 +11624,7 @@ export declare enum ModCallbackCustom {
11600
11624
  * ): void {}
11601
11625
  * ```
11602
11626
  */
11603
- PRE_ITEM_PICKUP = 131,
11627
+ PRE_ITEM_PICKUP = 132,
11604
11628
  /**
11605
11629
  * The exact same thing as the vanilla `PRE_KNIFE_COLLISION` callback, except this callback allows
11606
11630
  * you to specify extra arguments for additional filtration.
@@ -11619,7 +11643,7 @@ export declare enum ModCallbackCustom {
11619
11643
  * ): void {}
11620
11644
  * ```
11621
11645
  */
11622
- PRE_KNIFE_COLLISION_FILTER = 132,
11646
+ PRE_KNIFE_COLLISION_FILTER = 133,
11623
11647
  /**
11624
11648
  * Fires on the `POST_RENDER` frame before the player is taken to a new floor. Only fires when a
11625
11649
  * player jumps into a trapdoor or enters a heaven door (beam of light). Does not fire on the
@@ -11633,7 +11657,7 @@ export declare enum ModCallbackCustom {
11633
11657
  * function preNewLevel(player: EntityPlayer): void {}
11634
11658
  * ```
11635
11659
  */
11636
- PRE_NEW_LEVEL = 133,
11660
+ PRE_NEW_LEVEL = 134,
11637
11661
  /**
11638
11662
  * The exact same thing as the vanilla `PRE_NPC_COLLISION` callback, except this callback allows
11639
11663
  * you to specify extra arguments for additional filtration.
@@ -11654,7 +11678,7 @@ export declare enum ModCallbackCustom {
11654
11678
  * ): boolean | undefined {}
11655
11679
  * ```
11656
11680
  */
11657
- PRE_NPC_COLLISION_FILTER = 134,
11681
+ PRE_NPC_COLLISION_FILTER = 135,
11658
11682
  /**
11659
11683
  * The exact same thing as the vanilla `PRE_NPC_UPDATE` callback, except this callback allows you
11660
11684
  * to specify extra arguments for additional filtration.
@@ -11671,7 +11695,7 @@ export declare enum ModCallbackCustom {
11671
11695
  * function preNPCUpdateFilter(entity: Entity): boolean | undefined {}
11672
11696
  * ```
11673
11697
  */
11674
- PRE_NPC_UPDATE_FILTER = 135,
11698
+ PRE_NPC_UPDATE_FILTER = 136,
11675
11699
  /**
11676
11700
  * The exact same thing as the vanilla `PRE_PROJECTILE_COLLISION` callback, except this callback
11677
11701
  * allows you to specify extra arguments for additional filtration.
@@ -11690,7 +11714,7 @@ export declare enum ModCallbackCustom {
11690
11714
  * ): void {}
11691
11715
  * ```
11692
11716
  */
11693
- PRE_PROJECTILE_COLLISION_FILTER = 136,
11717
+ PRE_PROJECTILE_COLLISION_FILTER = 137,
11694
11718
  /**
11695
11719
  * The exact same thing as the vanilla `PRE_ROOM_ENTITY_SPAWN` callback, except this callback
11696
11720
  * allows you to specify extra arguments for additional filtration.
@@ -11713,7 +11737,7 @@ export declare enum ModCallbackCustom {
11713
11737
  * ): [EntityType | GridEntityXMLType, int, int] | undefined {}
11714
11738
  * ```
11715
11739
  */
11716
- PRE_ROOM_ENTITY_SPAWN_FILTER = 137,
11740
+ PRE_ROOM_ENTITY_SPAWN_FILTER = 138,
11717
11741
  /**
11718
11742
  * The exact same thing as the vanilla `PRE_TEAR_COLLISION` callback, except this callback allows
11719
11743
  * you to specify extra arguments for additional filtration.
@@ -11732,7 +11756,7 @@ export declare enum ModCallbackCustom {
11732
11756
  * ): void {}
11733
11757
  * ```
11734
11758
  */
11735
- PRE_TEAR_COLLISION_FILTER = 138
11759
+ PRE_TEAR_COLLISION_FILTER = 139
11736
11760
  }
11737
11761
 
11738
11762
  /**