Added PlayerWakeUpEvent

An event that fires when the player begins the wake up process. Helpful for mods like HungerOverhaul that (want to) do things when the player wakes up.
Convenience. People were iffy if they should be included or not. If you're
against it, I'll remove them.
On Oct 10, 2014 4:21 AM, "LexManos" <notifications@github.com> wrote:

> In
> src/main/java/net/minecraftforge/event/entity/player/PlayerWakeUpEvent.java:
>
> > +public class PlayerWakeUpEvent extends PlayerEvent
> > +{
> > +    /**
> > +     * The bed's x coordinate
> > +     */
> > +    public final int x;
> > +    /**
> > +     * The bed's y coordinate
> > +     */
> > +    public final int y;
> > +    /**
> > +     * The bed's z coordinate
> > +     */
> > +    public final int z;
> > +
> > +    public PlayerWakeUpEvent(EntityPlayer player, int x, int y, int z)
>
> Why include the coordinates when you can just get them from the player?
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/MinecraftForge/MinecraftForge/pull/1418/files#r18693026>
> .
>