Files
minecraft-pe-0.6.1/src/world/food/FoodConstants.h
2026-03-02 22:04:18 +03:00

17 lines
472 B
C++
Executable File

#ifndef NET_MINECRAFT_WORLD_FOOD__FoodConstants_H__
#define NET_MINECRAFT_WORLD_FOOD__FoodConstants_H__
//package net.minecraft.world.food;
class FoodConstants
{
public:
static const int MAX_FOOD = 20;
// number of game ticks to change health because of food
static const int HEALTH_TICK_COUNT = 80;
static const int HEALTH_TICK_COUNT_SIMPLE = 5;
static const int HEAL_LEVEL = 18;
};
#endif /*NET_MINECRAFT_WORLD_FOOD__FoodConstants_H__*/