    001package net.minecraftforge.event.world;
    002
    003import net.minecraft.world.ChunkCoordIntPair;
    004import net.minecraft.entity.player.EntityPlayerMP;
    005import net.minecraft.server.management.PlayerInstance;
    006import net.minecraft.world.WorldServer;
    007import net.minecraftforge.event.Event;
    008
    009public class ChunkWatchEvent extends Event
    010{
    011    public final ChunkCoordIntPair chunk;
    012    public final EntityPlayerMP player;
    013
    014    public ChunkWatchEvent(ChunkCoordIntPair chunk, EntityPlayerMP player)
    015    {
    016        this.chunk = chunk;
    017        this.player = player;
    018    }
    019
    020    public static class Watch extends ChunkWatchEvent
    021    {
    022        public Watch(ChunkCoordIntPair chunk, EntityPlayerMP player) { super(chunk, player); }
    023    }
    024
    025    public static class UnWatch extends ChunkWatchEvent
    026    {
    027        public UnWatch(ChunkCoordIntPair chunkLocation, EntityPlayerMP player) { super(chunkLocation, player); }
    028    }
    029}