PrismarineJS / minecraft-data

Language independent module providing minecraft data for minecraft clients, servers and libraries.
https://prismarinejs.github.io/minecraft-data
653 stars 221 forks source link

define the schema of a future Windows.json #37

Closed rom1504 closed 9 years ago

rom1504 commented 9 years ago

22:09 <+Gjum> it's just the window name (for protocol), readable name (although that can get set by server), named slot ranges, names for the properties, and later buttons 22:10 <+Gjum> properties are for example the smelting progress of a furnace 22:11 <+Gjum> buttons would just be list[id -> "name"] 22:12 <+Gjum> and then there are some edge cases like the horse, and the player itself 22:12 <+Gjum> horse has an entity id, player has armor and crafting, but no nameID

Gjum commented 9 years ago

inventorySlotStart, which is needed by mineflayer, should be dynamic for some windows like chests. Especially since the server sends it.

I am not sure, but I think I saw some sort of generic window on a Bukkit server, that can have any amount of slots. EDIT might be some sort of chest with custom name it's some sort of generic container window