Difference between revisions of "Talk:Entity metadata"
(→Missing registries: new section) |
|||
(2 intermediate revisions by 2 users not shown) | |||
Line 26: | Line 26: | ||
Just tested unused integer and it seems nothing that is has nothing to do with conversiontime instead of age or something like that. Just gave 300 and zombie was small, but I didn't set isBaby boolean. Needs to get checked more detailed. | Just tested unused integer and it seems nothing that is has nothing to do with conversiontime instead of age or something like that. Just gave 300 and zombie was small, but I didn't set isBaby boolean. Needs to get checked more detailed. | ||
--[[User:DevLen|DevLen]] ([[User talk:DevLen|talk]]) 13:50, 18 December 2016 (UTC) | --[[User:DevLen|DevLen]] ([[User talk:DevLen|talk]]) 13:50, 18 December 2016 (UTC) | ||
+ | |||
+ | :I'm 99% sure that the field is completely unused, at least in 1.11. Field 13 ''was'' used with zombie villagers to store the profession, but is now unused since zombie villagers are a subclass. 14 was is converting, but that was removed from regular zombie in 1.11 and now hands up is there. Though I haven't actually tested what happens when it's set. --[[User:Pokechu22|Pokechu22]] ([[User talk:Pokechu22|talk]]) 22:15, 18 December 2016 (UTC) | ||
+ | |||
+ | == Missing registries == | ||
+ | |||
+ | As of the latest revision, some of the registries mentioned on the metadata types are missing (minecraft:cat_variant, minecraft:frog_variant, and minecraft:painting_variant). For consistency, would it be better for them to be added here, or relocated to a separate page in order to not clutter this one? Should a full list of registries even be described on the wiki, or is it better to leave it to the user to extract them from the data generators? --[[User:WinX64|WinX64]] ([[User talk:WinX64|talk]]) 04:47, 27 February 2023 (UTC) |
Latest revision as of 04:47, 27 February 2023
Player metadata
There seems to be no metadata specifications for the player. After testing, I can say that the player inherits from most of the metadata from the Living Entity, and all of the entity's. The only missing indexes I found were 16,17,18 respectively a byte, a float, and an int. Does anyone know about the player metadata? Is it references anywhere else? --Hunterbuscus 3rd (talk) 05:33, 12 June 2014 (UTC)
After some testing, I found out that index 18 for the player represents the score of the player (or amount of xp orbs, I think?) should I add this as a new Entity? does this already exist elsewhere?--Hunterbuscus 3rd (talk) 06:38, 12 June 2014 (UTC)
I added a new "Human" entity as it's called in the source code. 18 is indeed the score, and 17 is the number of absorption hearts. 16 is a bit field of some sort, but I haven't looked further into how it's used. If someone wants to dig around, start at https://github.com/Bukkit/mc-dev/blob/c1627dc9cc7505581993eb0fa15597cb36e94244/net/minecraft/server/EntityHuman.java#L1049-L1057 --Jli (talk) 01:11, 13 July 2014 (UTC)
Are ids up to date ?
Objects ids are different from http://minecraft.gamepedia.com/Data_values/Entity_IDs , for example : is armor stand 78 or 30 ?
I'm trying to figure out which of these 2 pages (the minecraft.gamepedia.com and the wiki.vg ones) need updating (or both) --Rom1504 (talk) 12:25, 29 May 2015 (UTC)
Seems ids are out of date : see http://minecraft.gamepedia.com/Talk:Data_values/Entity_IDs
--Rom1504 (talk) 00:23, 30 May 2015 (UTC)
Zombie Metadata Integer
Marked as unused, but seems to be conversiontime? --DevLen (talk) 13:37, 18 December 2016 (UTC)
Just tested unused integer and it seems nothing that is has nothing to do with conversiontime instead of age or something like that. Just gave 300 and zombie was small, but I didn't set isBaby boolean. Needs to get checked more detailed. --DevLen (talk) 13:50, 18 December 2016 (UTC)
- I'm 99% sure that the field is completely unused, at least in 1.11. Field 13 was used with zombie villagers to store the profession, but is now unused since zombie villagers are a subclass. 14 was is converting, but that was removed from regular zombie in 1.11 and now hands up is there. Though I haven't actually tested what happens when it's set. --Pokechu22 (talk) 22:15, 18 December 2016 (UTC)
Missing registries
As of the latest revision, some of the registries mentioned on the metadata types are missing (minecraft:cat_variant, minecraft:frog_variant, and minecraft:painting_variant). For consistency, would it be better for them to be added here, or relocated to a separate page in order to not clutter this one? Should a full list of registries even be described on the wiki, or is it better to leave it to the user to extract them from the data generators? --WinX64 (talk) 04:47, 27 February 2023 (UTC)