Search in sources :

Example 1 with SetupRemotePlayer

use of org.terasology.engine.core.modes.loadProcesses.SetupRemotePlayer in project Terasology by MovingBlocks.

the class StateLoading method initClient.

private void initClient() {
    loadProcesses.add(new JoinServer(context, gameManifest, joinStatus));
    if (!headless) {
        loadProcesses.add(new InitialiseRendering(context));
    }
    loadProcesses.add(new InitialiseEntitySystem(context));
    loadProcesses.add(new RegisterBlocks(context, gameManifest));
    if (!headless) {
        loadProcesses.add(new InitialiseGraphics(context));
    }
    loadProcesses.add(new LoadPrefabs(context));
    loadProcesses.add(new ProcessBlockPrefabs(context));
    loadProcesses.add(new LoadExtraBlockData(context));
    loadProcesses.add(new InitialiseComponentSystemManager(context));
    if (!headless) {
        loadProcesses.add(new RegisterInputSystem(context));
    }
    loadProcesses.add(new RegisterSystems(context, netMode));
    loadProcesses.add(new InitialiseCommandSystem(context));
    loadProcesses.add(new InitialiseRemoteWorld(context, gameManifest));
    loadProcesses.add(new InitialisePhysics(context));
    loadProcesses.add(new InitialiseSystems(context));
    loadProcesses.add(new PreBeginSystems(context));
    loadProcesses.add(new CreateRemoteWorldEntity(context));
    loadProcesses.add(new PostBeginSystems(context));
    loadProcesses.add(new SetupRemotePlayer(context));
    loadProcesses.add(new AwaitCharacterSpawn(context));
    loadProcesses.add(new RegisterBlockFamilies(context));
    loadProcesses.add(new PrepareWorld(context));
}
Also used : CreateRemoteWorldEntity(org.terasology.engine.core.modes.loadProcesses.CreateRemoteWorldEntity) RegisterBlockFamilies(org.terasology.engine.core.modes.loadProcesses.RegisterBlockFamilies) InitialiseGraphics(org.terasology.engine.core.modes.loadProcesses.InitialiseGraphics) RegisterInputSystem(org.terasology.engine.core.modes.loadProcesses.RegisterInputSystem) PreBeginSystems(org.terasology.engine.core.modes.loadProcesses.PreBeginSystems) InitialiseComponentSystemManager(org.terasology.engine.core.modes.loadProcesses.InitialiseComponentSystemManager) SetupRemotePlayer(org.terasology.engine.core.modes.loadProcesses.SetupRemotePlayer) RegisterBlocks(org.terasology.engine.core.modes.loadProcesses.RegisterBlocks) InitialiseRemoteWorld(org.terasology.engine.core.modes.loadProcesses.InitialiseRemoteWorld) InitialiseSystems(org.terasology.engine.core.modes.loadProcesses.InitialiseSystems) InitialiseEntitySystem(org.terasology.engine.core.modes.loadProcesses.InitialiseEntitySystem) InitialiseRendering(org.terasology.engine.core.modes.loadProcesses.InitialiseRendering) RegisterSystems(org.terasology.engine.core.modes.loadProcesses.RegisterSystems) InitialisePhysics(org.terasology.engine.core.modes.loadProcesses.InitialisePhysics) PostBeginSystems(org.terasology.engine.core.modes.loadProcesses.PostBeginSystems) LoadPrefabs(org.terasology.engine.core.modes.loadProcesses.LoadPrefabs) ProcessBlockPrefabs(org.terasology.engine.core.modes.loadProcesses.ProcessBlockPrefabs) LoadExtraBlockData(org.terasology.engine.core.modes.loadProcesses.LoadExtraBlockData) InitialiseCommandSystem(org.terasology.engine.core.modes.loadProcesses.InitialiseCommandSystem) JoinServer(org.terasology.engine.core.modes.loadProcesses.JoinServer) AwaitCharacterSpawn(org.terasology.engine.core.modes.loadProcesses.AwaitCharacterSpawn) PrepareWorld(org.terasology.engine.core.modes.loadProcesses.PrepareWorld)

Aggregations

AwaitCharacterSpawn (org.terasology.engine.core.modes.loadProcesses.AwaitCharacterSpawn)1 CreateRemoteWorldEntity (org.terasology.engine.core.modes.loadProcesses.CreateRemoteWorldEntity)1 InitialiseCommandSystem (org.terasology.engine.core.modes.loadProcesses.InitialiseCommandSystem)1 InitialiseComponentSystemManager (org.terasology.engine.core.modes.loadProcesses.InitialiseComponentSystemManager)1 InitialiseEntitySystem (org.terasology.engine.core.modes.loadProcesses.InitialiseEntitySystem)1 InitialiseGraphics (org.terasology.engine.core.modes.loadProcesses.InitialiseGraphics)1 InitialisePhysics (org.terasology.engine.core.modes.loadProcesses.InitialisePhysics)1 InitialiseRemoteWorld (org.terasology.engine.core.modes.loadProcesses.InitialiseRemoteWorld)1 InitialiseRendering (org.terasology.engine.core.modes.loadProcesses.InitialiseRendering)1 InitialiseSystems (org.terasology.engine.core.modes.loadProcesses.InitialiseSystems)1 JoinServer (org.terasology.engine.core.modes.loadProcesses.JoinServer)1 LoadExtraBlockData (org.terasology.engine.core.modes.loadProcesses.LoadExtraBlockData)1 LoadPrefabs (org.terasology.engine.core.modes.loadProcesses.LoadPrefabs)1 PostBeginSystems (org.terasology.engine.core.modes.loadProcesses.PostBeginSystems)1 PreBeginSystems (org.terasology.engine.core.modes.loadProcesses.PreBeginSystems)1 PrepareWorld (org.terasology.engine.core.modes.loadProcesses.PrepareWorld)1 ProcessBlockPrefabs (org.terasology.engine.core.modes.loadProcesses.ProcessBlockPrefabs)1 RegisterBlockFamilies (org.terasology.engine.core.modes.loadProcesses.RegisterBlockFamilies)1 RegisterBlocks (org.terasology.engine.core.modes.loadProcesses.RegisterBlocks)1 RegisterInputSystem (org.terasology.engine.core.modes.loadProcesses.RegisterInputSystem)1