'use client' import { usePlayerStore } from '@/stores/playerStore' export function HUD() { const { player } = usePlayerStore() if (!player) return null const { health, foodLevel, gamemode } = player if (gamemode === 'creative') return null const hearts = Math.ceil(health / 2) const food = Math.ceil(foodLevel / 2) return (