Skip to main content

ENTITY_ENERGY

Constant ENTITY_ENERGY 

pub const ENTITY_ENERGY: EntityCapabilityKey<dyn EnergyHandler, Option<Direction>>;
Expand description

An entity’s energy, as NeoForge 26.3’s Capabilities.Energy.ENTITY, asked for the side of the entity a lookup reaches it from, or none for no particular side. Vanilla has no entity that holds energy, so only mods answer it.