Cubyz
Cubyz copied to clipboard
Indexes and IDs
Currently there is a bit of a mess with indexes (numeric IDs internal to the game and specific to a world) and IDs (universal string identifiers of assets). Tasks are as follows:
- [ ] add dedicated types for representing indexes (eg. see
ModelIndex) - [ ] unify naming of the variables, as currently names like
paletteId,stringId,numericIdappear all over the place - [x] incorporate indexes into
BaseItemhandling #1445 - [ ] incorporate indexes into
ToolTypehandling #1478 - [ ] rename
reverseIndicestoblocksById,itemsByIdetc. - [ ] rename
blocks.ziggetTypeByIdto justgetById - [ ] use either
getByIDorgetByIdconsistently
Related to: #1285 Related to: #897