GlowstoneMC / Glowstone

A fast, customizable and compatible open source server for Minecraft: Java Edition
https://glowstone.net
Other
1.88k stars 271 forks source link

Implemented PigZapEvent #1015

Open heisluft opened 5 years ago

heisluft commented 5 years ago

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.

mastercoms commented 5 years ago

I'm going to hold off on this PR until after we make the spawning code less miserable.

heisluft commented 5 years ago

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.

mastercoms commented 5 years ago

No plans at this moment, so feel free!