Skip to content

API reference Obsidian.API.Entities

EntityKind enum

What a plugin's entity type's entities are. A client mod's entity should be the same kind, so that the entity data the server sends matches what it reads.

public enum EntityKind

In Obsidian.API.

Values

NameValueDescription
Mob 0

A mob: it has health, falls, takes damage and runs goals.

Projectile 1

A projectile, like a snowball: it flies along its motion, slowed by drag and pulled down by its gravity, and hits the first block or living entity in its way (see IEntityBehavior.HitAsync), which removes it.

Object 2

An object without health: it falls by its gravity and comes to rest where it lands, until it's removed.

On this page