package com.cbouton.fatigue;

import net.minecraft.client.Minecraft;
import net.minecraftforge.common.MinecraftForge;
import net.minecraftforge.event.ForgeSubscribe;
import net.minecraftforge.event.entity.player.PlayerEvent;

import com.cbouton.fatigue.events.playerEvent;
import com.cbouton.fatigue.lib.Statics;
import cpw.mods.fml.common.Mod;
import cpw.mods.fml.common.Mod.EventHandler;
import cpw.mods.fml.common.event.FMLInitializationEvent;

@Mod(modid = Statics.MODID, version = Statics.VERSION)
public class Fatigue
{
	public int difficulty;
    
    @EventHandler
    public void init(FMLInitializationEvent event)
    {
		//TODO: Register Movement, Player Sleep and Item Use Events.
    	MinecraftForge.EVENT_BUS.register(new playerEvent());
    	//TODO: Get game mode updates
    	difficulty = Minecraft.getMinecraft().theWorld.difficultySetting;
        System.out.println(Statics.MODID + " Version " + Statics.VERSION + " Loaded");
    }
}

@@ -946,8 +946,702 @@
     %7D%0A%7D%0A
+/*%0A * Automatic regen on peaceful Easy increases at double and decreases by half%0A * Normal increases and decreases by the default amounts Hard increases at half%0A * and decrease by double%0A * %0A * 1/2 fatigue is normal full fatigue gives Haste/Speed no fatigue gives%0A * Slowness/Mining Fatigue%0A * %0A * 10 steps/1 mining Operation is the same decrease%0A * %0A * above 50%25 hunger decreases slower/below 50%25 hunger decreases faster Hard has%0A * players spawn at 50%25 fatigue%0A * %0A * Sleeping is the best way to increase fatigue Mounted for a full day increases%0A * fatigue by 1/4 of sleeping if not moving. if moving, fatigue decreases at 50%25%0A * the difficulty rate%0A * %0A * Values can be determined later.%0A */

Add notes for nh_99