Giter VIP home page Giter VIP logo

Comments (12)

rom1504 avatar rom1504 commented on July 3, 2024

Once the windows file is more complete, add a line in the extractors table in the readme

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

Missing data:

  • beacon properties
  • anvil, horse, and villager slots (done in #62)
  • persistence flag
  • most openedWith info
  • accepted item(type)s for each slot (range) (think: crafting result, enchanting with lapis)
  • buttons?

maybe also do:

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

I think we don't really need the buttons of a window.

I decided to remove them in my PR.

from minecraft-data.

rom1504 avatar rom1504 commented on July 3, 2024

Well maybe that means you can't automatically use the button data, but that doesn't mean that it isn't useful.

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

Its main use would be what packet you can send to simulate a button press. This however should not be modeled by a simple string.

The button-related info is also not very uniform. Something like in protocol.json would be needed, but I'm not sure if I like this option.

If you have a good idea how to properly format that data, I'm ok with putting it in.

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

Sidenote: we could also look at other servers and see what window related data they use.
For example Cuberite: http://api-docs.cuberite.org/cWindow.html and http://api-docs.cuberite.org/cInventory.html

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

@fenhl added openedWith info to http://wiki.vg/index.php?title=Inventory
Diff: http://wiki.vg/index.php?title=Inventory&diff=6832&oldid=6828

EDIT: and also removed the ids :P
EDIT 2: and fixed it again.

from minecraft-data.

rom1504 avatar rom1504 commented on July 3, 2024

ah indeed, nice

from minecraft-data.

rom1504 avatar rom1504 commented on July 3, 2024

windows.json added in readme

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

Since 1.9, the persistent 3*9 slots and the hotbar are no longer at the end.
This means that the schema needs to be changed to always include the position of the persistent slots and hotbar.

from minecraft-data.

Gjum avatar Gjum commented on July 3, 2024

always include the position of the persistent slots and hotbar.

We could make that implicit: if it's not given, calculate maximum slot index and put inventory+hotbar after it; if it's given, use those indices.

I will implement it this way for SpockBot and see how it works out.

Edit: done

from minecraft-data.

kaduvert avatar kaduvert commented on July 3, 2024
  • accepted item(type)s for each slot (range) (think: crafting result, enchanting with lapis)

this would be very helpful for PrismarineJS/prismarine-windows#100

what's the state of this?

from minecraft-data.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.