Skip to content

Instantly share code, notes, and snippets.

@dktapps
Created November 5, 2016 21:01
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dktapps/76b291b7a861762b54f7a8b834389883 to your computer and use it in GitHub Desktop.
Save dktapps/76b291b7a861762b54f7a8b834389883 to your computer and use it in GitHub Desktop.
Entity metadata changes in 0.16. PocketMine only, does not account for spoon changes.
Type Constant name Status Details
Property Ageable::DATA_AGEABLE_FLAGS Removed Ageable flags (Entity::DATA_FLAG_BABY) are now set on the generic entity status (Entity::DATA_FLAGS)
Property Entity::DATA_AIR Changed Value changed (1 -> 7) and default changed (300 -> 400)
Property Entity::DATA_FLAGS Changed Type changed (byte -> long)
Property Entity::DATA_LEAD_EID Changed/Removed Value changed (23 -> 38) and renamed with clearer name (DATA_LEAD_HOLDER_EID).
Property Entity::DATA_NAMETAG Changed Value changed (2 -> 4)
Property Entity::DATA_NO_AI Changed/Removed Changed to a data flag (DATA_FLAG_NO_AI)
Property Entity::DATA_POTION_AMBIENT Changed Value changed (8 -> 9)
Property Entity::DATA_POTION_COLOR Changed Value changed (7 -> 8)
Property Entity::DATA_SHOW_NAMETAG Changed/Removed Changed to two data flags (DATA_FLAG_CAN_SHOW_NAMETAG and DATA_FLAG_ALWAYS_SHOW_NAMETAG). These can be accessed with Entity->setNameTagVisible() and Entity->setNameTagAlwaysVisible().
Property Entity::DATA_SILENT Changed/Removed Changed to a data flag (DATA_FLAG_SILENT)
Property FallingSand::DATA_BLOCK_INFO Changed/Removed Now uses Entity::DATA_VARIANT
Property Human::DATA_PLAYER_BED_POSITION Changed Value changed (17 -> 29)
Property Human::DATA_PLAYER_FLAGS Changed Value changed (16 -> 27)
Flag Ageable::DATA_FLAG_BABY Changed Elevated (Entity::DATA_FLAG_BABY)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment