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
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
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
Dylan K. Taylor
10ff2948ac
Fixed double wooden slab name inconsistency
2017-08-06 17:15:35 +01:00
Dylan K. Taylor
0d0df3390a
Added glazed terracotta
2017-08-06 17:10:06 +01:00
Dylan K. Taylor
e4a5cb6021
Changed NBT representation in JSON to hex, fix encoding problems with UTF-8
2017-08-06 14:50:18 +01:00
Dylan K. Taylor
71e354cf1d
Added chest open/close sounds and cleanup duplicated code
2017-08-06 12:48:46 +01:00
Muqsit Rayyan
7d3fca83f0
Tile NBT usage enhancements ( #1259 )
...
* Do not create new NBT objects on Tile::getSpawnCompound()
* PocketMine's string formatting
* Remove more useless array indices and create lesser new NBT objects.
* Remove unused imports and type-hint Sign::setText() params
* Do not mess with Sign::setText() params due to #1204
* Fix formatting
* Make getSpawnCompound() final and add abstract addAdditionalSpawnData()
* Make the same changes for Bed tile
* Fix a missing "->" and remove some unneeded int casting.
2017-08-06 12:35:37 +01:00
Dylan K. Taylor
3fdbcee10f
Add some typehints and documentation to MainLogger
2017-08-06 11:43:42 +01:00