Skip to content
This repository has been archived by the owner on Jan 26, 2023. It is now read-only.

Entities

Kevin Ludwig edited this page Sep 7, 2021 · 10 revisions

Internal

World

Attributes

Name
Settings
Environment

Behaviors

Name Mandatory Attributes Description
EnvironmentUpdater Environment Updates the environment component

Facets

Name Mandatory Attributes Receives Sends Description
EntityManager EntityManagerMessage Adds or removes entities to or from the engine
PlayerList EntityManagerMessage Keeps track of the player list
PlayerAddPacketizer EntityAdd Generates player add packets
ActorPacketizer EntityManagerMessage Generates add and destroy actor packets (also players)
ChunkManager ChunkManagerMessage Generates/loads or saves chunk entities of the world

Chunk

Attributes

Name
Actors
Terrain

Behaviors

Name Mandatory Attributes Description
BlockUpdater Location, Terrain Updates blocks and send changes to the player

Actors

Actor

Attributes

Name
Location
Metadata
Attributes

Facets

Name Mandatory Attributes Receives Sends Description
LocationManager Location LocationManagerMessage Updates location
LocationPacketizer LocationManagerMessage Generates location packets

Player (inherits Actor)

Attributes

Name
InventoryHolder
AuthExtra
User

Facets

Name Mandatory Attributes Receives Sends Description
RadialView Location LocationManagerMessage ChunkManagerMessage (usage: ViewChunk) Updates view by checking for changes
RadialExpansionView Location LocationManagerMessage ChunkManagerMessage (usage: ViewChunk) Updates view by checking for changes
ViewChunkPacketizer ViewChunk Generates chunk packets
PlayerLocationPacketizer LocationManagerMessage Generates player location packets
Clone this wiki locally