Skip to content
mouse114514 edited this page Sep 12, 2026 · 1 revision

Eat

Eat

Overview

Simulates the player eating: increases hunger and weight. Commonly used inside a custom food's use behavior, or to force-feed in an event.

Slots

Slot Type Description
HUNGER Number slot hunger restored
WEIGHT_GAIN Number slot weight gained

Connections

Connection Type Description
Top Statement connects after a previous statement
Bottom Statement continues to the next statement

Typical Uses

  • Restore hunger inside a custom food's "when item used" behavior
  • Force-feed during an event

Generated Code

Emits a body.Eat(...) call with the hunger and weight arguments.

Example

when customFood item used
└── eat hunger 15 weight gain 0.3

Block ID: cu_eat


中文 | Body Blocks | Block Reference

Clone this wiki locally