Skip to content

Living Entity Prototype

The ID of this prototype is minecraft:living_entity.

Operations

As Entity

Operation as_entity returns minecraft:entity prototype.

Get Type

Operation get_type returns Entity Type prototype.

Get World

Operation get_world returns minecraft:world prototype.

Get Max Health

Operation get_max_health returns puffish_skills:number prototype which represents max health of the entity.

Get Health

Operation get_health returns puffish_skills:number prototype which represents current health of the entity.

Get Effect

Operation puffish_skills:get_effect returns minecraft:status_effect_instance prototype.

Get Attributes

Operation puffish_skills:get_attributes returns minecraft:entity_attribute_instance prototype.