MindHost
Version-independent seam for one logical mind session. A session may outlive its native body across chunk unloads, carrier replacement and phase changes.
Functions
Link copied to clipboard
Link copied to clipboard
public abstract MindHandle open(UUID logicalOwner, MindProgram program, MindPersistentState restoredState)
Link copied to clipboard
Reattaches the Mind session state stored on a carrier restored by Minecraft.
Link copied to clipboard
Creates the default grounded carrier.
Creates a carrier using the requested native movement and physical profile.
public abstract MobBody spawnBody(Location location, MindBodyProfile profile, Consumer<MobBody> preparation)
Prepares the marked carrier before publishing its CreatureSpawnEvent.