siege.subsystem

BodyComponentMap

class BodyComponentMap
__contains__(arg2)
Parameters:arg2 (object) –
Return type:bool
__delitem__(arg2)
Parameters:arg2 (object) –
__getitem__(arg2)
Parameters:arg2 (object) –
Return type:object
__iter__()
Return type:object
__len__()
Return type:int
__setitem__(arg2, arg3)
Parameters:
  • arg2 (object) –
  • arg3 (object) –

CraftComponentMap

class CraftComponentMap
__contains__(arg2)
Parameters:arg2 (object) –
Return type:bool
__delitem__(arg2)
Parameters:arg2 (object) –
__getitem__(arg2)
Parameters:arg2 (object) –
Return type:object
__iter__()
Return type:object
__len__()
Return type:int
__setitem__(arg2, arg3)
Parameters:
  • arg2 (object) –
  • arg3 (object) –

CustomizationComponentMap

class CustomizationComponentMap
__contains__(arg2)
Parameters:arg2 (object) –
Return type:bool
__delitem__(arg2)
Parameters:arg2 (object) –
__getitem__(arg2)
Parameters:arg2 (object) –
Return type:object
__iter__()
Return type:object
__len__()
Return type:int
__setitem__(arg2, arg3)
Parameters:
  • arg2 (object) –
  • arg3 (object) –

EquipmentAttributes

class EquipmentAttributes
__contains__(arg2)
Parameters:arg2 (object) –
Return type:bool
__delitem__(arg2)
Parameters:arg2 (object) –
__getitem__(arg2)
Parameters:arg2 (object) –
Return type:object
__iter__()
Return type:object
__len__()
Return type:int
__setitem__(arg2, arg3)
Parameters:
  • arg2 (object) –
  • arg3 (object) –
append(arg2)
Parameters:arg2 (object) –
extend(arg2)
Parameters:arg2 (object) –

ItemComponentMap

class ItemComponentMap
__contains__(arg2)
Parameters:arg2 (object) –
Return type:bool
__delitem__(arg2)
Parameters:arg2 (object) –
__getitem__(arg2)
Parameters:arg2 (object) –
Return type:object
__iter__()
Return type:object
__len__()
Return type:int
__setitem__(arg2, arg3)
Parameters:
  • arg2 (object) –
  • arg3 (object) –

Subsystem

class Subsystem
__setattr__(arg2, arg3)
Parameters:
  • arg2 (str) –
  • arg3 (object) –
add(arg2)
Parameters:arg2 (Entity) –
add(arg2)
Parameters:arg2 (Entity) –
clear()
clear()
create(arg2, arg3, arg4)
Parameters:
  • arg2 (Entity) –
  • arg3 (str) –
  • arg4 (object) –
create(arg2, arg3, arg4)
Parameters:
  • arg2 (Entity) –
  • arg3 (str) –
  • arg4 (object) –
freeze()
remove(arg2)
Parameters:arg2 (Entity) –
remove(arg2)
Parameters:arg2 (Entity) –
update(arg2)
Parameters:arg2 (int) –
update(arg2)
Parameters:arg2 (int) –

AnimationSystem

class AnimationSystem

BodySystem

class BodySystem
getBodies()
Return type:BodyComponentMap

CraftSystem

class CraftSystem
getAvailableInventories(layerManager, layers, playerEntity, reachModifier)
Parameters:
  • layerManager (LayerManager) –
  • layers (list) –
  • playerEntity (Entity) –
  • reachModifier (float) –
Return type:

list

getAvailableServices(layerManager, layers, playerEntity, reachModifier)
Parameters:
  • layerManager (LayerManager) –
  • layers (list) –
  • playerEntity (Entity) –
  • reachModifier (float) –
Return type:

StringSet

getComponents()
Return type:CraftComponentMap

CustomizationSystem

class CustomizationSystem
getCustomizations()
Return type:CustomizationComponentMap

EffectsSystem

class EffectsSystem
get(effect)
Parameters:effect (str) –
Return type:object
getAll()
Return type:ObjectMap
register(name, effect)
Parameters:
  • name (str) –
  • effect (object) –

EquipmentSystem

class EquipmentSystem
create(content, quality[, attributes=[]])
Parameters:
  • content (Content) –
  • quality (int) –
  • attributes (list) –
Return type:

Entity

getAttributes()
Return type:ObjectMap
registerAttribute(attribute)
Parameters:attribute (object) –

FoliageSystem

class FoliageSystem
getFoliage(foliageId)
Parameters:foliageId (int) –
Return type:FoliageComponent
getFoliageEntity(foliageId)
Parameters:foliageId (int) –
Return type:Entity
hasFoliage(foliageId)
Parameters:foliageId (int) –
Return type:bool

ItemsSystem

class ItemsSystem
components

LightSystem

class LightSystem

MonsterSystem

class MonsterSystem
getConnectedSpawnPosition(arg2, arg3, arg4, arg5, arg6)
Parameters:
Return type:

Vector

getCount()
Return type:int
getMonstersForBiome(biomeName)
Parameters:biomeName (str) –
Return type:Entities
registerAffix(arg2, arg3)
Parameters:
  • arg2 (str) –
  • arg3 (object) –
affixes

OrganicSystem

class OrganicSystem
checkPosition(arg2, arg3, arg4, arg5, arg6)
Parameters:
Return type:

bool

plant(arg2, arg3, arg4, arg5, arg6)
Parameters:
Return type:

Entity

plantMany(arg2, arg3, arg4, arg5, arg6, arg7)
Parameters:
Return type:

EntitySet

PhysicsSystem

class PhysicsSystem

PlacementSystem

class PlacementSystem
damage(damage)
Parameters:damage (Entity) –

RenderSystem

class RenderSystem
addRenderable(arg2, arg3)
Parameters:
clearRenderables()
create(arg2, arg3, arg4)
Parameters:
  • arg2 (Entity) –
  • arg3 (str) –
  • arg4 (object) –
createShader(path[, setCurrentTextureParam=True])
Parameters:
  • path (str) –
  • setCurrentTextureParam (bool) –
Return type:

Shader

getImageSize(arg2)
Parameters:arg2 (str) –
Return type:PixelVector
getWindowSize()
Return type:PixelVector
removeRenderable(arg2)
Parameters:arg2 (Renderable) –
setMode(mode, displayMode)
Parameters:
setVerticalSync(arg2)
Parameters:arg2 (bool) –
zoomIn()
zoomOut()
onResize
windowPosition
zoom

TileSystem

class TileSystem
getTile(tileId)
Parameters:tileId (int) –
Return type:TileComponent
getTileEntity(tileId)
Parameters:tileId (int) –
Return type:Entity
hasTile(tileId)
Parameters:tileId (int) –
Return type:bool