Package com.hypixel.hytale.component


package com.hypixel.hytale.component
An implementation of an EntityComponentSystem (aka ECS). For a basic (mixed) graph view see component-system.svg file located in the root of this maven module.

An ECS is made up of three main parts, Entities, Components and Systems.

Components are simply pieces of data.

Systems operate on components to produce functionality.

Entities are the concept of something that is in a world and are made up of components and operated on by systems. In this implementation entities usually take two forms, 1. Either an integer which is the index within a ArchetypeChunk or an Ref (which is just a wrapper for the integer). This is the index used to access and modify the entities data. 2. As an Holder when the entity is not a part of a ISystem for example when being saved.