EGG GEN GENERATOR
Generate the command-block logic for player-placeable generator eggs.
A named entity acts as an installer: the system clones a prepared generator command block to the entity, then removes only entities matching the chosen type and name.
GEN SETTINGS
Put the template command into the source command block and configure that block's Repeat / Always Active settings how you want every placed generator to behave.