use of toughasnails.api.stat.capability.IThirst in project RandomTweaker by Project-RT.
the class IPlayerExpansionTAN method addStats.
@ZenMethod
public static void addStats(IPlayer player, int thirst, float hydration) {
IThirst cap = ThirstHelper.getThirstData(CraftTweakerMC.getPlayer(player));
cap.addStats(thirst, hydration);
}
use of toughasnails.api.stat.capability.IThirst in project RandomTweaker by Project-RT.
the class IPlayerExpansionTAN method setExhaustion.
@ZenMethod
public static void setExhaustion(IPlayer player, float exhaustion) {
IThirst cap = ThirstHelper.getThirstData(CraftTweakerMC.getPlayer(player));
cap.setExhaustion(exhaustion);
}
use of toughasnails.api.stat.capability.IThirst in project RandomTweaker by Project-RT.
the class IPlayerExpansionTAN method setHydration.
@ZenMethod
public static void setHydration(IPlayer player, float hydration) {
IThirst cap = ThirstHelper.getThirstData(CraftTweakerMC.getPlayer(player));
cap.setHydration(hydration);
}
use of toughasnails.api.stat.capability.IThirst in project RandomTweaker by Project-RT.
the class IPlayerExpansionTAN method setThirst.
@ZenMethod
public static void setThirst(IPlayer player, int thirst) {
IThirst cap = ThirstHelper.getThirstData(CraftTweakerMC.getPlayer(player));
cap.setThirst(thirst);
}