-
-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improving entities data #72
Comments
apparently wiki.vg is correct, non-unique ids |
also related to #11 |
I finally checked with flying-squid : 61 is both blaze and snowball. mcwiki non-mobs ids are wrong (see http://minecraft.gamepedia.com/Talk:Data_values/Entity_IDs) The type should be the same as the one in the mc protocol as this is what's useful (these ones https://github.com/PrismarineJS/prismarine-entity#entitytype) and I think it's okay to have non unique ids, we will just have to take that into account when building the indexer. |
What is the current state here? Are there plans on the JSON format/schema yet, especially entity metadata representation? Is the data on wiki.vg still completely valid? |
Still plan on extracting both from the mcwiki and wiki.vg to have both set of ids, but I haven gotten to do it yet. I guess I might do it soon. |
about entity metadata : I think the idea is something like [
{
"index":17,
"type":"int",
"meaning":"Shaking Power"
}
] For things with a bitmask, possible values could be there too. What I'm really unsure about is the classes thing. Do we want to store the extend relationship in the .json file, should it be all in the same .json file or an other one ? |
Each entity metadata class can only extend one other class, so an optional Example:
|
so entities.json is done. Remaining : entity metadata. Which will go in its own file, probably entities_metadata.json |
@Gjum I think the first format is probably the best. And then X-minecraft-data or users (would it belong in X-minecraft-data ?) could have go through the extends to generate the whole available fields. |
Seems like there are no reliable sources for entity metadata online (for versions 1.8 - 1.16 at least), and extracting this from game files will be a major pain - the way metadata handling is coded differs from entity to entity |
Wiki.vg is pretty reliable
…On Sun, Mar 21, 2021, 07:12 Moondarker ***@***.***> wrote:
Seems like there are no reliable sources for entity metadata online (for
versions 1.8 - 1.16 at least), and extracting this from game files will be
a major pain - the way metadata handling is coded differs from entity to
entity
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#72 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAR437SKO3YNS4QPEJYLDD3TEWE6FANCNFSM4BRNFXKA>
.
|
For latest version - yes, but we want to get everything from 1.8 to 1.16 and there are no milestones |
You can get that by looking at the page history. Yes you'd need to find the right revisions. |
1.19.4 pc entity metadata in https://gist.github.com/extremeheat/b67562233b673ec58bd63f21cfab1945, via extraction script ran on source code |
See http://minecraft.gamepedia.com/Alpha_Level_Format/Chunk_File_Format#ArmorStand
and http://wiki.vg/Entities#ArmorStand and #6 (comment)
The text was updated successfully, but these errors were encountered: