Skip to content

Types in code

root edited this page Apr 22, 2023 · 5 revisions

Location

Location is a type responsible for any kind of location be it a static location like x:10, y:5, z:1 or be it a non static location based on NPC's position or player's position ETC.

Location structure

type (byte) | data (based on type)

type definitions

id name data
0 static position (float) x, (float) y, (float) z
1 npc name position (String) name
default player position none

File

File is type responsible for any kind of file, primarily the sound kind

File structure

type (byte) | data (based on type)

type definitions

id name data
0 simple file (String) path
Clone this wiki locally