isaacscript-common 72.5.0 → 72.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5980,6 +5980,11 @@ export declare function getIsaacAPIClassName(object: unknown): string | undefine
5980
5980
  */
5981
5981
  export declare function getItemConfigCardType(cardType: CardType): ItemConfigCardType | undefined;
5982
5982
 
5983
+ /**
5984
+ * Helper function to get the name for an item pool type as it appears in the "itempools.xml" file.
5985
+ */
5986
+ export declare function getItemPoolName(itemPoolType: ItemPoolType): string;
5987
+
5983
5988
  /**
5984
5989
  * Helper function to calculate what the resulting `BitFlags<DoorSlotFlag>` value would be for a
5985
5990
  * given JSON room.
@@ -8711,6 +8716,13 @@ export declare function isActionTriggeredOnAnyInput(...buttonActions: ButtonActi
8711
8716
  /** Returns true if the item type in the item config is equal to `ItemType.ACTIVE`. */
8712
8717
  export declare function isActiveCollectible(collectibleType: CollectibleType): boolean;
8713
8718
 
8719
+ /**
8720
+ * Helper function to detect if a particular entity is an active enemy. Use this over the
8721
+ * `Entity.IsActiveEnemy` method since it is bugged with friendly enemies, Grimaces, Ultra Doors,
8722
+ * and Mother.
8723
+ */
8724
+ export declare function isActiveEnemy(entity: Entity): boolean;
8725
+
8714
8726
  /**
8715
8727
  * Helper function to check if a player's active item is "double charged", meaning that it has both
8716
8728
  * a full normal charge and a full charge from The Battery.
@@ -10552,6 +10564,14 @@ export declare function logGridEntities(this: void, gridEntities: GridEntity[]):
10552
10564
  /** Helper function for log information about a specific grid entity. */
10553
10565
  export declare function logGridEntity(this: void, gridEntity: GridEntity): void;
10554
10566
 
10567
+ /**
10568
+ * Helper function to log the names of a item pool type array.
10569
+ *
10570
+ * @param itemPoolTypes The item pool types to log.
10571
+ * @param name Optional. The name of the array, which will be logged before the elements.
10572
+ */
10573
+ export declare function logItemPoolTypes(this: void, itemPoolTypes: ItemPoolType[] | readonly ItemPoolType[], name?: string): void;
10574
+
10555
10575
  /**
10556
10576
  * Helper function to log a `KColor` object.
10557
10577
  *