Search the docs

Find a guide, global, type or member

TypeContentcontent.luau

MobDef

A custom mob, drawn as a vanilla entity. Refused on a server that draws no creator mobs.

Fields

mobDef.look: string#

The entity it looks like, which must name minecraft:. a minecraft: entity type

mobDef.health: number#

Health, above 0.

mobDef.attributes: { [string]: number }?#

Attribute values by attribute key. A bare key resolves to this experience, so write vanilla attributes as minecraft:<name>.

mobDef.persistent: boolean?#

Whether it is saved with the chunk and comes back when the chunk loads again; default true.