Talk:Entity metadata

From wiki.vg
Revision as of 13:36, 18 December 2016 by DevLen (talk | contribs) (→‎Zombie Metadata Integer: new section)
Jump to navigation Jump to search

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?