When trying to use /execute for "/execute as @p at @s if block ~ ~-1 ~ (block) run (command), I am trying to detect a player stepping on infested stone bricks. However, only "infested_deepslate" is seen as a legitimate block type I can reference, not "infested_stonebrick" or any other infested stone variants. Fixing this will help me a lot.
The internal name for infested stone variants is "monster_egg". Use that as the block and then specify the type with a block state.