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
460d540dbc
Further cleanup on ListTag and CompoundTag usage
2017-11-17 11:43:32 +00:00
3a16985d45
Cleaned up item & arrow pickup code
2017-11-15 12:14:42 +00:00
aa399a1109
migrate to new CompoundTag API ( #1515 )
2017-11-10 15:38:21 +00:00
0e64c3dad8
fixed misusing isAlive(), close #1523
2017-11-07 09:32:38 +00:00
eab7b93483
Fixed misuse of kill() and close() when deleting entities ( #1490 )
2017-11-04 19:30:48 +00:00
270e0c076c
Fixed items not removed when put in the lava
2017-10-23 18:50:37 +01:00
9fb93985d6
Cleaned up Entity->spawnTo()
2017-10-19 16:13:09 +01:00
2b22d5d8cc
Added EntityIds interface with constants
2017-10-19 15:43:55 +01:00
5d75d3d5b6
Merge branch 'php/7.0' into mcpe-1.2
2017-09-01 23:10:58 +01:00
fd52022065
Refactor of health int -> float and fixed armor being useless when
...
computed damage reduction is less than 1
2017-08-30 11:03:07 +01:00
95752ef542
Merge branch 'master' into mcpe-1.2
2017-08-23 13:20:35 +01:00
a52fa93998
Remove Entity->length
2017-08-23 02:21:33 -04:00
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
456ddd3fb3
Removed obsolete parameters from Entity->attack() and Entity->heal()
2017-08-21 13:25:11 +01:00
1f70a7830e
Branch merge
2017-08-20 21:07:19 +01:00
2f3c77c68a
Fixed entity move performance issue and a ton of entity movement bugs
...
- fixed zombies and villagers movement not updating
- fixed dropped items "movement" lagging the living **** out of the server when not actually moving
- fixed arrows not falling when the supporting block is removed
- fixed knockback
- fixed zombies + villagers being un-attackable after hitting them
... the list goes on
2017-08-20 20:31:09 +01:00
4f1302adf2
Merge branch 'master' into mcpe-1.2
2017-08-17 17:14:16 +01:00
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
9be1b929a5
Added PhpDoc for packet field types and changed float x,y,z to Vector3
2017-08-13 20:02:07 +01:00
890f72dbf2
Type-hinted NBT tag constructors, made getValue() and setValue() more strict, fix dozens of assorted related bugs
2017-06-08 19:17:52 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
0a4d62b405
Added encode and decode methods for more packets
2017-05-15 15:56:59 +01:00
c537cea87e
Resolved issues with incorrect item and TNT position offsets, close #848
2017-05-04 13:52:10 +01:00
6c5ca9b256
Protocol updates for 1.1.0.5
2017-04-20 13:54:55 +01:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
598e7aac8f
More PhpStorm inspections, import cleanup
2017-01-04 14:55:11 +00:00
69369c8998
Fix dropped items not saving due to missing CompoundTag name, close #223
...
The NBT library is really badly designed.
2017-01-03 22:24:27 +00:00
e51a2725de
Remove circular dependency between Item and NBT modules ( #121 )
2016-11-25 10:17:50 +00:00
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
f98f180bbd
fix for #3972
2016-02-21 22:21:50 +01:00
cf3d8f449e
Added some asserts
2015-09-27 19:48:42 +02:00
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
696edfd31f
Added custom block data (example, chests), better deep checking of same NBT
2015-08-07 17:24:35 +02:00
02cb9d69a9
Save items properly on several places, added NBT::getItemHelper() and NBT::putItemHelper()
2015-08-06 21:44:00 +02:00
14ff537e71
Improved damage sources for projectiles, falling blocks, TNT, and items
2015-05-31 14:19:47 +02:00
75cab3dfc3
Improved updates after first tick
2015-05-28 22:43:39 +02:00
03f178379e
Fixed items getting corrupted pickup delay, not being able to be killed by other damage sources
2015-05-28 22:17:12 +02:00
85c43ba011
Allow setting nametag for any kind of entity
2015-05-18 13:08:06 +02:00
fb05636694
Fixed Item vibration
2015-05-16 21:38:10 +02:00
b1edfd7631
Improved Falling blocks physics, entity kill, chunk unserialize, fixed flat generator color, fixed nbt tags __toString(), fixed explosion offsets, fixed increased player interaction range in creative
2015-05-13 12:18:59 +02:00
44b5c23ee1
Fixed dead entities and Item picking, improved timing reports
2015-05-06 16:21:35 +02:00
0b176b3fe0
Implemented Channeled packet sending
2015-04-14 18:24:40 +02:00
c9adc336ee
Fixed items doing crazy things
2015-03-29 18:10:02 +02:00
d5ba2a72a5
Added strength, weakness, resistance effects, fixed entity area
2015-03-29 14:49:47 +02:00
d19631226f
Improved Entity attack()/heal() event firing
2015-03-25 11:11:02 +01:00
2ae80031f0
New implementation of sending/setting/getting entity data, added effect saving
2015-03-17 00:01:54 +01:00