Entities & mobs · Value
Entity details
An entity's type, name, location, health and unique id.
m.entity.info
In a flow
“When a player kills a mob → Answer: You killed {node.e.name} at {node.e.location}.”
When a player kills a mob → Answer: You killed {node.e.name} at {node.e.location}.
What it does
An entity's type, name, location, health and unique id. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 5 values later steps can use. Find it under Entities & mobs in the palette.
When to use it
Use it when the flow needs to: an entity's type, name, location, health and unique id.
When not to
For a value that never changes, type it into the setting instead of wiring a node.
Typical wiring
Sockets: settings you can wire
- Entity Entity
-
The entity it's about: wire one in, like Entity from Spawn an entity.
What goes there: Type it in the side panel, or wire in an entity. e.g. Zombie
If it's empty: Optional. Left empty and unwired, the step runs without it.
Values it gives
- Type Text
-
Its type, like minecraft:zombie. e.g. minecraft:zombie
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Name Text
-
Its name, or its type's name. e.g. Zombie
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 578 more
- Location Location
-
Where it is. e.g. world 3 64 0
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more
- Health Number
-
Its health, in half hearts. e.g. 20
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccount ageActive membersAddAdd answer to formAdd soundboard soundAdd timeAdd to a counterAdd to a leaderboardand 719 more
- UUID UUID
-
Its unique id. e.g. 00000000-0000-4000-8000-000000000001
If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.
Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 554 more