39 Commits

Author SHA1 Message Date
Dylan K. Taylor
0273e2484e
Kill entity runtime NBT (#2361) 2018-08-14 13:33:02 +01:00
Dylan K. Taylor
0bb5e88b5c Hinting up Entity API to PHP 7.2 standards 2018-05-19 10:46:47 +01:00
Dylan K. Taylor
2eb6e075ae
Refactored entity metadata handling into its own class, with type-safe methods (#1876)
This includes several other changes, including:
- SLOT data properties now accept items directly
- POS data properties now accept floored Vector3s (in future this will be block positions) or null for 0,0,0
- VECTOR3F data properties now accept Vector3s or null for 0,0,0
2018-01-20 10:52:14 +00:00
Dylan K. Taylor
74b074753f Bulk addition of constant visibilities
thanks PhpStorm inspections plugin for annoying the shit out of me until
I did this.
2017-11-21 14:44:10 +00:00
Dylan K. Taylor
aa399a1109
migrate to new CompoundTag API (#1515) 2017-11-10 15:38:21 +00:00
Dylan K. Taylor
9fb93985d6 Cleaned up Entity->spawnTo() 2017-10-19 16:13:09 +01:00
Dylan K. Taylor
2b22d5d8cc Added EntityIds interface with constants 2017-10-19 15:43:55 +01:00
Dylan K. Taylor
3738ab1f8a Fixed villager professions being useless 2017-10-08 14:14:42 +01:00
Dylan K. Taylor
95752ef542 Merge branch 'master' into mcpe-1.2 2017-08-23 13:20:35 +01:00
Muqsit
a52fa93998 Remove Entity->length 2017-08-23 02:21:33 -04:00
Dylan K. Taylor
4f1302adf2 Merge branch 'master' into mcpe-1.2 2017-08-17 17:14:16 +01:00
Dylan K. Taylor
e825ebd8fa Added some wrapper methods to make data flags less of a pain in the ass to work with 2017-08-17 16:52:17 +01:00
Dylan K. Taylor
741394dab1 Typehinted up entity API
Did you guys think ALPHA7 changes were done?!
Sone stuff still needs some work, most notably data-properties can't be typed yet because they are just mushed into a couple of methods.
2017-08-16 19:04:30 +01:00
Dylan K. Taylor
9be1b929a5 Added PhpDoc for packet field types and changed float x,y,z to Vector3 2017-08-13 20:02:07 +01:00
Dylan K. Taylor
51b0673b4b Bite the bullet and enable strict types on everything 2017-06-07 12:53:16 +01:00
Dylan K. Taylor
0a4d62b405 Added encode and decode methods for more packets 2017-05-15 15:56:59 +01:00
Dylan K. Taylor
56990eb28b MCPE protocol gets its own namespace 2017-03-08 20:28:39 +00:00
Dylan K. Taylor
9004417456 Fixed file headers (#255) 2017-01-13 16:57:05 +00:00
Dylan K. Taylor
bfc77a772a New entity data flags
@Intyre, you are beyond awesome
2016-10-27 10:55:05 +01:00
SOF3
6fc435da0e
Imports rearrangement 2016-10-03 00:43:46 +08:00
Shoghi Cervantes
7f8b39a63c Renamed NBT tags to have Tag in the name 2015-08-23 00:25:29 +02:00
Shoghi Cervantes
31ef7721b1 Removed network channels, bumped protocol 2015-08-12 14:59:48 +02:00
Shoghi Cervantes
0b176b3fe0 Implemented Channeled packet sending 2015-04-14 18:24:40 +02:00
Shoghi Cervantes
f2e2cec024 Removed entity mask 2015-04-09 14:23:37 +02:00
Shoghi Cervantes
69f841a00c
Added Squids with basic AI 2015-04-09 00:12:50 +02:00
Shoghi Cervantes
141c0a297e Skins, protocol changes, handle split packets 2015-04-08 13:00:15 +02:00
Shoghi Cervantes
b31604a536 Fixed data sending, more particles 2015-03-18 12:11:44 +01:00
Shoghi Cervantes
2ae80031f0
New implementation of sending/setting/getting entity data, added effect saving 2015-03-17 00:01:54 +01:00
Shoghi Cervantes
a98da3bab1 Renamed old getID() calls to getId() 2014-12-07 15:21:32 +01:00
Shoghi Cervantes
38089af098 Improved global entity motion encoding using per-player queues 2014-11-27 14:26:36 +01:00
Shoghi Cervantes
32dae93ef9 Removed unused imports 2014-11-04 12:08:24 +01:00
Shoghi Cervantes
8fd6582e74 Automatically set Entity / Tile entity save identifiers 2014-11-04 12:04:08 +01:00
Shoghi Cervantes
8601405a88 Fixed CPU leak 2014-10-31 21:07:00 +01:00
Shoghi Cervantes
db82f76c11 Improved network packets allocation 2014-10-27 20:30:33 +01:00
Shoghi Cervantes
eab86f5f90 Replaced array() with [] 2014-08-28 17:04:22 +02:00
Shoghi Cervantes
90fa40de34 Added entity id names 2014-08-27 17:42:38 +02:00
Shoghi Cervantes
5eee4f9771 Fixed AddEntityPacket, added base Arrow 2014-08-16 16:37:57 +02:00
Shoghi Cervantes
52d28795fa Added Villager spawn egg 2014-08-16 14:25:58 +02:00
Shoghi Cervantes
dd17652aca Fixed wrong paths 2014-04-01 05:06:12 +02:00