1. Wiki
  2. /Entities
  3. /minecraft:player.saturation

minecraft:player.saturation

Don't want to write this by hand? GodCraft sets minecraft:player.saturation for you with a switch.Get GodCraft

Overview

minecraft:player.saturation is an entity component: it goes in the components object of a custom mob, or in one of its component groups. Stores the player's hidden saturation, which is used up before the hunger bar starts to drop. Used by the player entity.

Example

Inside the components object of BP/entities/<name>.json (values are the defaults or placeholders):

BP/entities/<name>.json
{
  "minecraft:player.saturation": {}
}

We use cookies to improve your experience and analyse site traffic. Learn more