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
6d6283b7f3
Fixed Player->sendPosition() not working correctly
2017-08-28 20:07:04 +01:00
95752ef542
Merge branch 'master' into mcpe-1.2
2017-08-23 13:20:35 +01:00
0f2ca99c67
Merge remote-tracking branch 'origin/pr/1310'
2017-08-23 10:44:33 +01:00
a7674c52e6
Micro optimization to movement update checking
...
No need to keep abs()ing this, because next time we have a movement update, motion < 0.00001 will be flattened to zero anyway.
2017-08-23 10:42:23 +01:00
a52fa93998
Remove Entity->length
2017-08-23 02:21:33 -04:00
770616d4ab
Merge branch 'master' into mcpe-1.2
2017-08-22 20:48:32 +01:00
3a5fc78c53
Fixed players getting kicked for flying when standing still when blocks near them get updated, fixed item movement being too slippery
2017-08-22 17:47:48 +01:00
445a67954d
Merge changes from master
2017-08-22 14:13:31 +01:00
c32b75fa18
Further (major!) performance enhancements to entity ticking
2017-08-21 20:28:56 +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
02f42eba48
Move block registration to its own class
2017-08-20 18:05:01 +01:00
e5e76d4c93
Merge branch 'master' into mcpe-1.2
2017-08-18 18:39:39 +01:00
f73d3d086e
Added some new blocks, fixed collisions not being detected when standing on top of a full block
2017-08-18 13:58:05 +01:00
b6fb2bca13
forgot to add this to the merge
2017-08-17 17:27:49 +01:00
4f1302adf2
Merge branch 'master' into mcpe-1.2
2017-08-17 17:14:16 +01:00
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
670a9fe44f
Fix some crashy issues when incompatible players get disconnected
2017-08-17 10:29:12 +01:00
b4c4005009
Some condition simplifications suggested by static analysis
2017-08-16 20:06:48 +01:00
eebc52e00b
Added API method Entity->isClosed() and made Entity->closed protected
2017-08-16 19:30:23 +01:00
20aa519f3a
Added capability to remove owners/target entities
2017-08-16 19:14:15 +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
fbe2567e58
Merge branch 'master' into mcpe-1.2
2017-08-16 12:31:12 +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
0c798222a4
... blame PhpStorm EAP
2017-08-10 18:04:44 +01:00
e8bd0c3e09
add typehints to Metadatable interface and implementations, fix missing return for Block->hasMetadata() reported in #1285
2017-08-10 18:02:01 +01:00
1d0f0a2999
Merge branch 'master' into mcpe-1.2
2017-08-08 10:23:19 +01:00
2d8395f70e
Absorption should be a float. Fixed #1071
2017-08-07 16:09:10 +01:00
6b5c0af161
Separation of effect handling from Entity, fixes #886
2017-08-07 16:03:54 +01:00
54b6a5710e
Fixed entityBaseTickTimer doesn't cover child overrides
2017-08-07 14:21:06 +01:00
77cd8e7799
More broken mess to spawn 1.2
2017-08-06 17:21:51 +01:00
aa6eef26e9
Fixed #1255
2017-07-28 14:23:27 +01:00
e8be8550a0
Fixed possible issues with tick counters being inaccurate when the server lags
2017-07-27 10:58:34 +01:00
dbb92096e4
More typehints, documentation fixes and static analysis cleanup
2017-07-15 12:12:06 +01:00
2a7b736f18
Heap of bugfixes, cleanup and PHP 7 upgrades
2017-07-13 19:18:56 +01:00
6504fdabab
Fixed squid not updating and added some debug
2017-07-05 11:42:24 +01:00
394f420059
Fixed chunks not loading when respawning and some minor spawn sequence cleanup ( #1153 )
...
* Fixed chunks not loading when respawning and some minor spawn sequence cleanup
* This causes too much unexpected behaviour to be useful
Revert "Make use of Mojang's pitch hack, close #821 "
This reverts commit c2dfef700f
.
* Removed delayed-teleport system and cleaned up movement reset for dead players
* Fixed health resetting to max when quitting and rejoining
2017-07-05 10:31:16 +01:00
b4a149cce8
Fix some issues with entities in leveldb worlds
2017-07-02 13:37:30 +01:00
a73c6f1861
Fixed some unnecessary FQNs in docs
2017-06-25 12:43:04 +01:00
a365c831a8
Fixed some doc problems
2017-06-25 12:07:28 +01:00
a4b8dd43e6
Removed useless confusing array indices in CompoundTag constructors ( #1116 )
2017-06-20 12:11:24 +01:00
be7b057fa5
Improved metadata sending and made it less spammy
...
Add changed properties to a list to send in a group on tick in a single packet
2017-06-17 20:00:45 +01:00
e3b3f60c66
Fixed item stack count and effect amplifier overflows, close #1072
2017-06-17 12:22:38 +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
b7b7bcee4f
Fixed some weak comparisons
2017-06-05 21:07:35 +01:00
54453d0b0a
Refactored entity IDs in packets for consistency and to clarify on types
2017-06-05 15:41:27 +01:00
63358a8065
Merge branch 'master' into mcpe-1.1
2017-05-30 09:45:20 +01:00