5417 Commits

Author SHA1 Message Date
Dylan K. Taylor
1576a79644 more packets 2017-08-13 17:43:33 +01:00
Dylan K. Taylor
02cbf800d0 Added encode/decode for ModalFormResponsePacket 2017-08-12 19:33:16 +01:00
Dylan K. Taylor
5a4fbc6f5a Handle exception for crafting and resend inventories 2017-08-12 19:11:57 +01:00
Dylan K. Taylor
83fcec3e94 Don't add actions to the transaction if a crash occurred when getting the source inventory 2017-08-12 14:29:12 +01:00
Dylan K. Taylor
5d436a06ec Added a method to get player cursor inventory 2017-08-12 14:10:47 +01:00
Dylan K. Taylor
8958b3c51c Many many changes related to inventory transactions, fixed item dropping, fixed creative menu 2017-08-11 19:57:30 +01:00
Dylan K. Taylor
c1ff7bbef4 Added creative-inventory magic slot numbers and renamed some constants 2017-08-11 12:31:11 +01:00
Dylan K. Taylor
74ee94b385 Duct tape for inventory transactions, removed ContainerSetSlotPacket 2017-08-10 20:05:15 +01:00
Dylan K. Taylor
5208ad885c Added crafting use-ingredient fake transaction source 2017-08-10 18:42:14 +01:00
Dylan K. Taylor
0c798222a4 ... blame PhpStorm EAP 2017-08-10 18:04:44 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
51be88c698 Fixed AdventureSettings not working 2017-08-10 13:01:20 +01:00
Dylan K. Taylor
0dc8362536 Added custom player permission level 2017-08-10 11:34:34 +01:00
Dylan K. Taylor
9bae4d8ef6 updates for 1.2.0.11 2017-08-10 11:15:23 +01:00
Dylan K. Taylor
bb4808c23e attacking entities working
just moved some code :P
2017-08-10 10:49:14 +01:00
Dylan K. Taylor
3025f76cd0 Fix a couple of Sign bugs 2017-08-10 08:57:57 +01:00
Dylan K. Taylor
1e539c4e3b fix some 1.2 translation issues, close pmmp/PocketMine-Language#19 2017-08-09 21:40:20 +01:00
Dylan K. Taylor
590003d7c1 Fixed PlayerListPacket 2017-08-09 19:51:39 +01:00
Dylan K. Taylor
72d40860f3 Remove useless else branch and and return unhandled for unmatched window IDs 2017-08-09 19:05:00 +01:00
Dylan K. Taylor
d3d1e32309 Removed teleport zero-offsets (not needed in 1.2) 2017-08-09 17:01:56 +01:00
Dylan K. Taylor
36d47a33f3 Fixed crash on player death 2017-08-09 13:34:25 +01:00
Dylan K. Taylor
260179197b Use SplFixedArrays in inventory, added more typehints and cleaned up some duplicated code 2017-08-09 13:12:07 +01:00
Dylan K. Taylor
82fd3b540e Fixed a mistake in Block->isBreakable() doc 2017-08-08 22:15:44 +01:00
Dylan K. Taylor
75644b5df2 s/windowid/windowId 2017-08-08 12:37:26 +01:00
Dylan K. Taylor
3ad1b1ba7f Added some ContainerSetDataPacket constants 2017-08-08 12:19:11 +01:00
Dylan K. Taylor
b4c2305c7f Minor cleanup of Human->initEntity() 2017-08-08 10:44:11 +01:00
Dylan K. Taylor
1d0f0a2999 Merge branch 'master' into mcpe-1.2 2017-08-08 10:23:19 +01:00
Dylan K. Taylor
8ca37b3813 Fixed a bug in multiline chat handling 2017-08-07 19:41:08 +01:00
Dylan K. Taylor
2ba601b6e9 Fixed signs 2017-08-07 19:40:45 +01:00
Dylan K. Taylor
06083d6dc4 s/Item/Block 2017-08-07 16:26:27 +01:00
Dylan K. Taylor
2d8395f70e Absorption should be a float. Fixed #1071 2017-08-07 16:09:10 +01:00
Dylan K. Taylor
6b5c0af161 Separation of effect handling from Entity, fixes #886 2017-08-07 16:03:54 +01:00
Dylan K. Taylor
c84218c55b Remove overloaded parameter from GeneratorUnregisterTask construction
PhpStorm, pls tell me why you only found this _now_ and not back in January when I started using PhpStorm...
2017-08-07 15:46:57 +01:00
Dylan K. Taylor
6b7a382625 import cleanup and missing strict types declare 2017-08-07 15:42:46 +01:00
Dylan K. Taylor
54b6a5710e Fixed entityBaseTickTimer doesn't cover child overrides 2017-08-07 14:21:06 +01:00
Dylan K. Taylor
7958fffa07 Move some code around to fix block placing, breaking, and throwing snowballs 2017-08-07 12:28:07 +01:00
Dylan K. Taylor
98e0a2ecba Removed InventoryType, added new inventory API methods 2017-08-07 11:31:36 +01:00
Dylan K. Taylor
44f1dedbf8 Give creative players carte blanche
Close #879, close #431

This will be solved properly in 1.2 when creative transactions are
actually trackable. For now... HACK!
2017-08-06 21:16:08 +01:00
Dylan K. Taylor
899e318a88 Merge branch 'master' into mcpe-1.2 2017-08-06 18:46:56 +01:00
Dylan K. Taylor
23eb8600ab Added methods for endian-flipping 2017-08-06 18:46:03 +01:00
Dylan K. Taylor
989505c42c Updated crafting & creative data from 1.2.0.7 2017-08-06 17:21:52 +01:00
Dylan K. Taylor
d9da9accbc Fix packet buffers when encoding twice 2017-08-06 17:21:52 +01:00
Dylan K. Taylor
711d62b5eb Updated block & item IDs from 1.2.0.7
Note to self: these may need updating again later in the beta.
2017-08-06 17:21:52 +01:00
Dylan K. Taylor
49506659e0 More constants 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
7886918140 Cleaned up some bad code in DataPacket, added encode/decodeHeader and made encode/decodePayload protected 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
8a151dc373 Fixed PlayerSkinPacket for 1.2.0.7 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
58a12fdfa3 Updated for 1.2.0.7 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
50dffeb6a1 Day 3, part 1 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
63d2b341b9 Day 2 2017-08-06 17:21:51 +01:00
Dylan K. Taylor
77cd8e7799 More broken mess to spawn 1.2 2017-08-06 17:21:51 +01:00