cubbot/src/utils/constants.ts

23 lines
609 B
TypeScript

export const SPRINT_FOOD = 6
export const REGENERATE_FOOD = 18
export const MAX_FOOD = 20
export const MAX_SATURATION = 20
export const MAX_HEALTH = 20
export const LOW_HEALTH = 4
export const REACH_DIST = 6
export const REACH_DIST2 = REACH_DIST * REACH_DIST
export const ATTACK_DIST = 4
export const ATTACK_DIST2 = ATTACK_DIST * ATTACK_DIST
export const VELOCITY_RATIO = 8000
export const DELTA_RATIO = 128 * 32
export const SERVER_TICK_RATE = 50
export const SERVER_TPS = 1 / SERVER_TICK_RATE * 1000
export const OFF_HAND_SLOT = 45
export const HOTBAR_START_SLOT = 36
export const HOTBAR_END_SLOT = 44