Skip to content
ASArcaneMP Scripting APIScripting reference
Global objectServer APIGenerated

Brewing

const Brewing: object

Defined in: server/api.d.ts:3541

Server-owned cauldrons, replicated to every client.

get(uid): BrewingSiteState | null

One cauldron by uid.

number

BrewingSiteState | null

list(): BrewingSiteState[]

Every server-owned cauldron.

BrewingSiteState[]

place(uid, registryId, x, y?, z?, yaw?, options?): boolean

Places (or replaces) a cauldron. uid must be non-zero; empty registryId binds an existing level cauldron instead of spawning one.

number

string

number | Vector3Like

number

number

number

Places it in that virtual world of that map, as setVirtualWorld does for an entity; map is a player.location().areaId. Default world 0 of the shared map.

string

number

boolean

remove(uid): boolean

Removes a cauldron everywhere.

number

boolean

set(uid, patch): boolean

Writes any of { state, potionId, yield, remainingMs, brewerId }; absent keys are left alone.

number

object

boolean