package squeek.applecore.api; import net.minecraft.entity.player.EntityPlayer; public interface IAppleCoreMutator { /** * Sets the exhaustion level of the {@code player}. */ public void setExhaustion(EntityPlayer player, float exhaustion); /** * Sets the hunger of the {@code player} in hunger units (1 hunger unit = 1/2 hunger bar). */ public void setHunger(EntityPlayer player, int hunger); /** * Sets the saturation level of the {@code player}. */ public void setSaturation(EntityPlayer player, float saturation); /** * Sets the health regen tick counter of the {@code player}. * * See {@link squeek.applecore.api.hunger.HealthRegenEvent.GetRegenTickPeriod} * and {@link squeek.applecore.api.hunger.HealthRegenEvent.Regen} */ public void setHealthRegenTickCounter(EntityPlayer player, int tickCounter); /** * Sets the starvation tick counter of the {@code player}. * * See {@link squeek.applecore.api.hunger.StarvationEvent.GetStarveTickPeriod} * and {@link squeek.applecore.api.hunger.StarvationEvent.Starve} */ public void setStarveDamageTickCounter(EntityPlayer player, int tickCounter); }