Healthy DietFEATURE GUIDEEnglish
07 / TITLEPRO & EFFECTS

TitlePro and effects after eating

TitlePro creates on-screen titles, tables and overlays. Food effects, commands and effect removal are separate post-consumption settings.

Title editorTitle commandsFood effects

01Press I for the title editor

Press I in game when no other screen is open. Edit content, layout, coordinates, scale, timing, fades, entry/exit animation, background and padding. A scheme saves layout without title text; a template saves the full title. They live under config/healthy_diet/titlepro/titlepro_schemes/ and titlepro_templates/ respectively. A sending instance needs the saved file.

02Server title commands (OP2)

CommandPurpose
/titlepro <targets> <args...>Parse title text and layout; optional extra commands may run as the command source.
/titleprosend <targets> <templateName>Load and send a complete saved template; extra commands in it may also execute.
/titletable <targets> <args...>Display a configured table title.
/titleproclear <targets>Remove titles, tables and screen overlays.
/titlescreen <targets> <#color> <alpha%> <stay_s> <fadeIn_s> <fadeOut_s>Show an overlay: opacity 0–100%, three non-negative times in seconds.

Example: /titlepro @s Hello 0 0 1 2 1 1 14 up. After the text come X/Y offset, scale, stay/fade-in/fade-out seconds, line spacing and stack direction. Quote text with spaces. Use /hdhelp for current syntax and completion; numbers here are illustrative.

03Food potion effects

The held-item /hdui potion page configures one-shot effects after eating: fixed effects or curves depending on remaining shelf life. This is separate from the ongoing group-stage bonuses. Each effect has an ID, level, tick duration, particles and probability. Level 0 is displayed as I, 20 ticks are roughly one second, and probability 100 always passes the probability check. A freshness curve requires valid shelf-life data; without it the curve entry does not fall back to fixed values.

effectDelay defaults to 10 ticks and delays these configured potion effects, not food commands or suppressed intrinsic effects.

04Commands and effect suppression

The Commands page manages onEatCommands, including ordinary commands and a Tellraw builder. It no longer has the old “generate TitlePro title” button; onEatTitles is not edited. Nutrition-change notifications have their own per-group switches. The Suppress Effects page manages suppressEffects to remove specified intrinsic effects after eating, not every potion effect on the player.

onEatCommandDelay delays food commands; effectDelay delays configured potions; suppressEffectDelay delays intrinsic-effect removal. All three default to 10 ticks in a newly created item configuration. Server-side execution is separate.