[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4866: Undefined array key "database_gc"
Is there a way to add some sort of metadata to a map chunk? - FOSS gamedev and creative worlds

Is there a way to add some sort of metadata to a map chunk?

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

Is there a way to add some sort of metadata to a map chunk?

by 0gb.us » Tue Nov 13, 2012 07:46

Is there a way to add some sort of meta data to a map chunk? Alternatively, is there a way to find the map chunk (by some sort of identifier that could be used later, so the data could be stored in a separate file) a block is in when it is placed?

Thanks!

EDIT: I just realized that even if there isn't an official way, I can use addition, subtraction, modulo division, regular division, and rounding to get what I need. An official way would be better if it exists though, as it would be more efficient.
Last edited by 0gb.us on Tue Nov 13, 2012 07:57, edited 1 time in total.
 

Return to WIP Mods

Who is online

Users browsing this forum: No registered users and 24 guests

cron