Dylan K. Taylor
876659cc73
Item factory refactor and added capability to register custom items
2017-08-21 17:49:26 +01:00
Dylan K. Taylor
c0377fc63a
more typehints, removed more 32-bit leftovers
2017-06-25 11:40:12 +01:00
Dylan K. Taylor
2024e9ecdf
Fixed extremely stupid zero-length bug in BinaryStream
...
pls don't kill me 😢
2017-06-10 18:33:54 +01:00
Dylan K. Taylor
78c09267e5
Typehinted things in BinaryStream, sorted some methods and related bugfixes
2017-06-07 13:53:10 +01:00
Dylan K. Taylor
2b02fcfe2c
fixed #992
2017-06-04 16:54:35 +01:00
Dylan K. Taylor
22ba017965
Binary strict types ( #969 )
...
* Some Binary cleanup, type-hints and strict types
yes, I know this is very crashy... that's good, because it highlights unexpected behaviour
* added some default values
2017-06-03 09:39:45 +01:00
Dylan K. Taylor
e4e4ef5f2a
Fixed preprocessor issues with signed bytes and floats, close #967
2017-06-02 12:50:48 +01:00
Dylan K. Taylor
b6ae92e1a7
Updated crafting data and item serialization for 1.1, fixed #963
2017-06-02 10:36:14 +01:00
Dylan K. Taylor
8382970d56
Merge branch 'master' into mcpe-1.1
2017-05-30 16:09:46 +01:00
Dylan K. Taylor
db3cd1829c
Made Binary::readVarInt/VarLong methods less useless
2017-05-30 14:19:34 +01:00
Dylan K. Taylor
a9afad10bc
BinaryStream no longer extends stdClass, fixed a couple of minor bugs
...
Seems :shoghi: used stdClass to silence IDEs, which before ALPHA5 would complain about myriad undefined fields due to lack of type checking (switch based on packet id 🤦 )
2017-05-15 19:28:39 +01:00
Dylan K. Taylor
71af694cc1
Use getBool() more
2017-05-10 11:30:24 +01:00
Dylan K. Taylor
56306f6636
Merge branch 'master' into mcpe-1.1
2017-05-04 21:15:49 +01:00
Dylan K. Taylor
f889bf9cf5
Fixed player list self-duplication
2017-05-02 12:28:27 +01:00
Dylan K. Taylor
90f1efc667
Found use of extra bytes in Item serialization
...
No idea why these are separate from the NBT data, but this is what they do.
2017-04-02 19:29:14 +01:00
Dylan K. Taylor
f7e959d602
Fixed inventory crash, fixed crafting
2017-04-02 10:58:39 +01:00
Dylan K. Taylor
295d9bc80b
Cleaned up muddled varint/varlong mess, added separate methods for entity unique and runtime ids, moved some MCPE-protocol-specific methods out of BinaryStream
2017-03-08 20:29:24 +00:00
Dylan K. Taylor
01a07a0b09
Removed years-old leftovers from old PocketMine
2017-02-13 14:41:30 +00:00
Dylan K. Taylor
8ea03524ff
Fixed most movement-check false-positives (finally!)
...
Removed ySize hack, fixes ladders, fixed original autojump and dropdown issues. These were due to a tiny, tiny tiny margin for error when decoding network floats (usually less than 0.000001, but enough to cause issues. Added Binary floating-point decode accuracy option to combat this. Network Vector3s are now rounded to 4 decimal places.
2017-01-20 10:00:20 +00:00
Dylan K. Taylor
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
Dylan K. Taylor
3ee43c5a17
Fix some varints
2016-11-17 18:28:39 +00:00
Dylan K. Taylor
46af92f781
Fix dataless crafting and furnace recipes
2016-10-28 12:17:11 +01:00
Dylan K. Taylor
6c1dd81130
Remove type-hints, fix some crashes
2016-10-27 10:55:05 +01:00
Dylan K. Taylor
df88e9272e
Fix DisconnectionScreen, add getBool() and putBool() methods, update some packets
2016-10-27 10:55:02 +01:00
Dylan K. Taylor
ff40c0a070
NBT updates and tile spawns fixed
2016-10-27 10:55:01 +01:00
Dylan K. Taylor
9cde63a327
Base inventory fixes
2016-10-27 10:55:00 +01:00
Dylan K. Taylor
dd0c5efb56
Initial spawn on 0.16
2016-10-27 10:55:00 +01:00
Dylan K. Taylor
88d14e9923
Remove redundant ifndefs
2016-10-23 15:14:59 +01:00
SOF3
e913b16804
Fixed some lines indented with 4 spaces rather than tabs
2016-10-03 00:58:34 +08:00
SOF3
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
Intyre
05530bedc6
Bump to 0.14.0.7, new packets and fixes
2016-02-16 00:43:59 +01:00
Shoghi Cervantes
a1a1327415
Removed signed parameter in BinaryStream->getShort() in favor of getSignedShort()
2015-09-12 00:57:09 +02:00
Shoghi Cervantes
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
Shoghi Cervantes
9456e20770
Added support for extra data, improved BinaryStream
2015-08-04 18:29:13 +02:00
Shoghi Cervantes
7fd053fb09
More changes! Alsp added Anvil block and BinaryStream
2015-08-03 18:04:13 +02:00