Jump to content

lucasmontec

Members
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

lucasmontec's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. I'm sorry, I was misunderstood here. I meant I don't know how it works and the "Minecraft uses a Btree for items..." was just an example of the kind of information interested me. Its sad to see that items are stored that way... But thanks for the quick support. Also I'm sorry if this topic was revived this many times... I should have researched better. It is sad to see such a nice game having such big problems of architecture and giving almost 0 fuc** to modding support. Every day I thank guys like you for having the balls to go through notch's code and create this robust API.
  2. Yeah, I understand stuff is this way because it is this way... I would just like to know some information like, Minecraft uses a Btree for items and their id's are part of that. Just how inners are working... I got curious about that, and maybe you guys know better than me how the entire system is plugged together.
  3. Hey guys! Hello to all of you =) Let me introduce first. I'm a java developer studiyng computer science here in Brazil. I play tons of minecraft and love mods. Well, that didn't hurt that much did it? Good, lets get going... As a dev I wanted to start modding too but I found the API a bit messy. This is probably because the minecraft code is messy too as I read some of it. But is becoming clearer the more I read. Still I'd like to know how the ID system works and why it was developed that way. I read most of the structure but didn't find anything related to that yet. Why the ID's are numbers instead of a String for example? Couldn't mojang use a fast way of searching throught strings instead of id's? If it is because of the data model, what model they use? If it is because of storage sizes, that could be engeneered.... or not? Well, I'd like to get into that if someone knows something about it. Otherwise, thanks for reading! I hope this post is in the right place.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.