First of all I'm a bloody noob. My java experience is about 8 hours so speak slowly please. :-)
I was able to install eclipse and the forge environment and even make some really basic mods like changing terrain generation or modify the options menu. All of these changes were event based. So when ever the terrain generator checks if it can spawn a village at a certain location, I hooked in, replaced the original function and told him "Sorry dude, wrong dimension" or "Sure, let super handle it". I can work with that.
Now I want to have more control over the spawn algorithm especially the spawn algorithm from spawner. I know spawner call the function updateSpawner() regularly. The functions are in net.minecraft.tileentity.MobSpawnerBaseLogic but I cannot find an event to replace the original function with my function. I know some of the variables are public so I might be able to modify them like the spawning delay/range and so on. But what I want to do is to make mobs ignore the light level. The light level is checked in net.minecraft.entity.EntityLiving and I might be able to hook into into this class but this will never tell me if the mob was spawned from a spawner or regular. How do I do that instead?
I know there is a possibility to change the core classes. So when I add a flag to the entity spawned by a spawner I would be able check if it cares about light or not. But most of the information on access transformers are rather outdated or incomplete. I have a basic understanding how this works but I don't know if it is really necessary as it might cause problems with other mods.
Any hint is greatly appreciated.