Glowstone
Glowstone copied to clipboard
Implemented PigZapEvent
Implements PigZapEvent (#922). It relies on a custom spawn method in GlowWorld. I am open to any suggestions on how to solve this, although I think that this Method will be needed for any system where an Entity has to be mutated before it is spawned (or the spawn is cancelled) via an Event other than Creature/Item/EntitySpawnEvent.
I'm going to hold off on this PR until after we make the spawning code less miserable.
I'm going to hold off on this PR until after we make the spawning code less miserable.
Have you yet started working on / thinking about the rewrite? Just asking whether you want to make this a personal issue or whether I could think about it and propose a PR as soon as I'm done.
No plans at this moment, so feel free!