Skip to content
Work in progress. These docs describe Spawnite at launch, and some parts are still being built.

AnyEntityPredictedTrait

AnyEntityPredictedTrait<T> = T & object

A trait defined with predicted and anyEntity: any entity holds it, and the player’s page predicts it on what the player controls. A predicted step writes it on the PredictedEntity it hands out, and an authority writes it on any entity, such as the room moving a monster.

Name Type
[anyEntityPredictedBrand] true
Type Parameter Default type
T extends Trait Trait