001 package net.minecraftforge.event.entity.player; 002 003 import net.minecraft.entity.player.EntityPlayer; 004 import net.minecraft.entity.player.EnumStatus; 005 006 public class PlayerSleepInBedEvent extends PlayerEvent 007 { 008 public EnumStatus result = null; 009 public final int x; 010 public final int y; 011 public final int z; 012 013 public PlayerSleepInBedEvent(EntityPlayer player, int x, int y, int z) 014 { 015 super(player); 016 this.x = x; 017 this.y = y; 018 this.z = z; 019 } 020 021 }