Dylan K. Taylor
21a1e0eb6b
Player API typehints
2017-08-17 11:08:54 +01:00
Dylan K. Taylor
670a9fe44f
Fix some crashy issues when incompatible players get disconnected
2017-08-17 10:29:12 +01:00
Dylan K. Taylor
6efa4343b1
Cleaned up fuel duration handling, fixed some fuel items not working in furnaces
2017-08-17 10:22:47 +01:00
Dylan K. Taylor
dc3f13cd30
Cleanup from previous commit
2017-08-17 09:42:00 +01:00
Dylan K. Taylor
b4c4005009
Some condition simplifications suggested by static analysis
2017-08-16 20:06:48 +01:00
Dylan K. Taylor
eebc52e00b
Added API method Entity->isClosed() and made Entity->closed protected
2017-08-16 19:30:23 +01:00
Dylan K. Taylor
20aa519f3a
Added capability to remove owners/target entities
2017-08-16 19:14:15 +01:00
Dylan K. Taylor
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
Dylan K. Taylor
ea414ea72d
Fixed MetadataStore
2017-08-16 17:09:03 +01:00
Dylan K. Taylor
696c67f541
Missed a couple
2017-08-16 14:43:18 +01:00
Dylan K. Taylor
021dbd65d7
Cleaned up some copy-pasted code for coloured blocks names
2017-08-16 14:38:41 +01:00
Dylan K. Taylor
8510be062c
Nether Reactor block is back
...
This should never have been removed, it exists as an unobtainable block in vanilla which drops iron and diamond.
2017-08-16 14:17:14 +01:00
Dylan K. Taylor
7b142d4742
Generated some TODO comments for blocks
2017-08-16 13:25:36 +01:00
Dylan K. Taylor
643e10037c
Merge branch 'master' into mcpe-1.2
2017-08-16 13:19:37 +01:00
Dylan K. Taylor
0257432afc
Fixed a typo in BlockIds
2017-08-16 13:17:22 +01:00
Dylan K. Taylor
4950157f1d
How did this escape notice?
2017-08-16 13:08:30 +01:00
Dylan K. Taylor
c4d8c28338
Some inspection fixes
2017-08-16 13:07:33 +01:00
Dylan K. Taylor
eda2473e78
New LevelEventPacket constants
2017-08-16 12:53:53 +01:00
Dylan K. Taylor
4b65fef957
Fixed LevelEvent broadcasting
2017-08-16 12:53:32 +01:00
Dylan K. Taylor
fbe2567e58
Merge branch 'master' into mcpe-1.2
2017-08-16 12:31:12 +01:00
Dylan K. Taylor
9a0b3a6e22
Updated RakLib submodule
2017-08-16 12:28:44 +01:00
Dylan K. Taylor
5fc50aeda5
Found an unknown field in StartGamePacket
2017-08-16 10:10:42 +01:00
Dylan K. Taylor
ebb71fc6c5
Typehints and docs for MemoryManager
2017-08-15 19:48:19 +01:00
Dylan K. Taylor
ae3a8a5493
Added capability to unblock addresses without a restart
2017-08-14 14:12:06 +01:00
Dylan K. Taylor
9be1b929a5
Added PhpDoc for packet field types and changed float x,y,z to Vector3
2017-08-13 20:02:07 +01:00
Dylan K. Taylor
6480f7a989
Found an unknown field in TextPacket and added some docs
2017-08-13 18:20:06 +01:00
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