Pokechu22 / Burger

A simple tool for picking out information from the minecraft JARs, primarily useful for developers.
https://b.wiki.vg
MIT License
83 stars 15 forks source link

fix 1.7 #36

Closed rob9315 closed 2 years ago

rob9315 commented 2 years ago

1.7 didn't have the runtime exceptions which were used to find the difference between Item- and Block-Lists and -Registries. I instead changed it to search for strings specific to the registries instead of identifying the lists from their exceptions.

Pokechu22 commented 2 years ago

Compared to the 1.7.10.json I have in the repo (which was generated a long time ago), this results in a different fields list (which I think is the correct one; I think the old one was sound types or materials or something) but otherwise keeps the same output (which is an improvement over the current state of things).

1.14 and newer no longer identify anything for block.register, but they do still identify block.list and block.superclass, and the blocks topping doesn't use block.register in 1.14 (only using block.list and finding block.superclass from that). (The same applies for items). This is probably fine.

Pokechu22 commented 2 years ago

Data updated for major versions: e03effbd74e980e737881ff7b1042010f0abfef6