A minimal client-side utility mod that lets you copy registry IDs directly from Minecraft with Ctrl+C.
You can copy hovered inventory item IDs, JEI/REI ingredient IDs, fluid IDs, and optionally the targeted block or entity ID in the world. When something is copied, the mod shows a short in-game notification.
minecraft:dirt
CopyBlockId creates a client config file:
config/copyblockid-client.toml
Available options:
copyTargetedBlockInWorld = false
copyTargetedEntityInWorld = false
Set either option to true if you want Ctrl+C in the world to copy the ID of the block or entity you are looking at.