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
4c764072b2
Check the entity is actually inside a block before trying to shove it out, fix #271
2017-05-26 17:15:25 +01:00
af06d78725
Merge changes from master
2017-05-24 09:54:11 +01:00
4e381ab033
Added DATA_COLOR alias
2017-05-21 14:40:49 +01:00
046f17c9e2
Merge branch 'master' into mcpe-1.1
2017-05-08 17:43:09 +01:00
4ccd955647
Fixed possible memory leak with projectiles, use owner/target metadata
2017-05-07 16:50:32 +01:00
adbb53929e
Fixed scaling issues with height and width on the client, close #819
...
Seems these metadata fields are actually the _base_ height/width. Setting the scale will cause the client to calculate bounding boxes with the scale already taken into account. This caused the scale to be applied twice on the client.
2017-05-05 16:51:15 +01:00
8a7259aa73
Merge #826 : use getEffectLevel() instead of getAmplifier() + 1
...
Closes #412
2017-05-05 19:01:04 +08:00
c4f461f65d
Fixed fall damage in 1 block of water, close #470
2017-05-05 10:41:44 +01:00
c537cea87e
Resolved issues with incorrect item and TNT position offsets, close #848
2017-05-04 13:52:10 +01:00
4d897b824b
Added more metadata properties, fixed some wrong values, fixed too many oxygen bubbles
2017-04-26 19:48:31 +01:00
caf4937222
Fixed arrow flight and spawning bugs, fixed critical trail, close #420
2017-04-26 18:55:48 +01:00
ffcada88f3
New data flags
2017-04-25 16:27:29 +01:00
1be4bd67e4
Fixed assert failure when player join in un-generated areas of the world
2017-04-24 10:32:50 +01:00
179210aa27
Merge branch 'api3/network' into api3/network-mcpe-1.1
2017-04-21 22:50:14 +01:00
6ece57e23e
Merge changes from master
2017-04-21 22:48:18 +01:00
e7406ba096
Fixed squid health attribute errors
2017-04-21 14:42:19 +01:00
3f1790bcb8
Found some missing data flags and proper fix for ladders
2017-04-20 19:42:00 +01:00
a0ba8f0098
Added some new metadata, fixed others, fixed TNT (again)
2017-04-20 17:52:24 +01:00
feb538900b
Added a couple of entity metadata properties
2017-04-20 16:05:46 +01:00
5e6a0e7ba0
More metadata changes, fixed TNT
2017-04-16 22:03:52 +01:00
d7378fe6f4
Some new metadata properties
2017-04-14 19:56:23 +01:00
66924729ff
Fixed climbing blocks such as ladders and vines
...
Seems we can now climb ANY block if the climbing flag is true, and nothing if false. This commit adds local block checks to see if a climbable block exists at the entity's feet and if so, sets the flag.
2017-04-14 19:02:53 +01:00
f3ab45e7d5
Merged in 1.0.6 changes, added autogenerated data for 1.1.0.3 (doesn't work yet) and deliberately made the same merge error as Mojang
2017-04-14 13:00:43 +01:00
1c7773c5f1
Visibility keyword before final or abstract keyword. ( #814 )
2017-04-13 20:58:53 +08:00
202bac28fc
Merge master into api3/network
2017-04-01 19:37:15 +01:00
9c25ec3afd
Some protocol changes for 1.1.0.0
2017-04-01 19:20:30 +01:00
69ac80518c
some improvements to the horrendous mess that is the handling of joining and quitting, fixed some crashes, probably caused some other crashes
...
I can't fix this completely because it's just too much of a fucking mess. NEED to separate network stuff from Player.
2017-03-30 19:33:47 +01:00
cb059ea713
fix some PhpStorm inspections
2017-03-30 12:10:59 +01:00
afb2e0c51f
fixed setting entity scale doesn't resize bounding box, close #484
2017-03-30 09:34:52 +01:00
52f2596dc5
Merge branch 'master' into api3/network
2017-03-28 12:27:40 +01:00
2079e2fd88
Fixed entity visibility Player object memory leak, close #416
2017-03-28 12:26:02 +01:00
940b20c191
Implemented Absorption effect
...
This is a little buggy due to a client-sided bug. https://bugs.mojang.com/browse/MCPE-20520
TODO: add attribute save/restore
2017-03-21 13:23:57 +00:00
2d927db264
Implemented Instant Health and Instant Damage effects
2017-03-21 11:38:08 +00:00
a5a51fb9c5
Merge branch 'master' into api3/network_mcpe-1.0.5
2017-03-21 10:47:41 +00:00
b7a3230f73
Fixed botched effect override condition for equivalent amplifiers
2017-03-20 18:56:54 +00:00
ab1150382a
Merge branch 'api3/network' into api3/network_mcpe-1.0.5
2017-03-18 16:30:06 +00:00
8114ceaf68
Merge branch 'master' into api3/network
2017-03-18 16:29:38 +00:00
92193fd27b
Use entity IDs in EntityDamageBy*EntityEvents, fixed memory leaks related to PvP/PvE/PvM ( #418 )
2017-03-13 10:30:31 +00:00
955dc38be4
Fixed botch-job implementation of Health Boost, will now actually work and not crash the server
2017-03-12 20:06:39 +00:00
6c5dbd7359
Merge branch 'master' into api3/network
2017-03-12 12:22:11 +00:00
4f27bce5b3
Destroy NBT references when closing entities, alleviates memory issues on leaked Player objects
...
This does NOT FIX THE ACTUAL ISSUES, only eliminates some of the symptoms.
2017-03-12 10:53:27 +00:00
c925845173
Added forceSend for attribute value setting, fixed slowness >= 7 removed client-side when sprinting
2017-03-09 21:33:55 +00:00
08cd944e5d
Merge branch 'master' into api3/network
2017-03-09 18:12:37 +00:00
f87b745771
New entity metadata and found some UpdateTradePacket fields
2017-03-09 17:55:26 +00:00
c052ee5847
Set alpha value to 0xff, fixed potion bubbles, close #407
...
TODO: implement transparency
2017-03-09 12:26:24 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00