bravoserver / bravo

UNMAINTAINED: Reverse-engineered Minecraft stuff. Worked with 1.4.x protocol
http://bravoserver.org/
Other
206 stars 46 forks source link

Experience system (for enchanting) #416

Open edunham opened 11 years ago

edunham commented 11 years ago

Experience is the little glowy orbs that you get from mining, smelting, breeding animals, and killing stuff. You use them to put enchantments on things at an enchantment table. The player's experience shows up in a little bar above the inventory. Bravo does not appear to currently be aware that it exists.

We should test in Vanilla, but I believe the multiplayer mechanic is that things drop xp when killed or mined and the orbs float toward the nearest player. Smelting xp appears to go directly to the player's level without going through the orb stage, but this may be because you can't see the orbs when you have a furnace open.

http://wiki.vg/Protocol#Spawn_Experience_Orb_.280x1A.29

http://www.minecraftwiki.net/wiki/Experience