Skip to content
This repository has been archived by the owner on May 15, 2024. It is now read-only.

Per-world content IDs #28

Open
TheElectronWill opened this issue Jan 23, 2018 · 0 comments
Open

Per-world content IDs #28

TheElectronWill opened this issue Jan 23, 2018 · 0 comments

Comments

@TheElectronWill
Copy link
Contributor

Given that the internal ids could change between different servers or even between different runs of the same server, the ids of blocks, entities, etc. should be saved in the world's files.

Let's make a file for each world that maps typenames (universal) to saved ids (specific to the world).
On world load, two maps will be constructed from this file:

Map[saved id -> internal id]: Index[Int]
Map[internal id -> saved id]: Index[Int]

This is a part of #17.

@TheElectronWill TheElectronWill self-assigned this Jan 23, 2018
@TheElectronWill TheElectronWill added this to the Awesome Architecture milestone Jan 23, 2018
@TheElectronWill TheElectronWill removed this from the Awesome Architecture milestone Apr 2, 2018
@TheElectronWill TheElectronWill added this to To do in Game Worlds via automation Apr 2, 2018
@TheElectronWill TheElectronWill added this to the Alpha 0.6 milestone Apr 2, 2018
@TheElectronWill TheElectronWill added this to In progress in Alpha 0.6 Apr 22, 2018
@TheElectronWill TheElectronWill moved this from In progress to To do, craft 1.12 in Alpha 0.6 Apr 22, 2018
@TheElectronWill TheElectronWill moved this from To do, craft 1.12 to To do, core in Alpha 0.6 Apr 22, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
Alpha 0.6
  
To do, core
Game Worlds
  
To do
Development

No branches or pull requests

1 participant