d358e13868
Strict type all the things and fix lots of assorted bugs exposed by strict types ( #993 )
...
Strict type all the things
2017-06-08 11:21:51 +01:00
cc1d1b0f45
Fix type error in Furnace due to useless floor(), close #1031
2017-06-08 09:12:58 +01:00
51b0673b4b
Bite the bullet and enable strict types on everything
2017-06-07 12:53:16 +01:00
6ece57e23e
Merge changes from master
2017-04-21 22:48:18 +01:00
1c7773c5f1
Visibility keyword before final or abstract keyword. ( #814 )
2017-04-13 20:58:53 +08:00
3e76c3a6dd
Added handling for tile picking, added API for setting item lore
...
worked almost out of the box (some W10 equipment bugs though)
2017-03-28 18:47:51 +01:00
4245274aec
Merge branch 'master' into api3/network
2017-03-25 21:26:46 +00:00
2673e4de7f
More anti-leak measures for double chest inventory issues
2017-03-19 11:25:56 +00:00
8114ceaf68
Merge branch 'master' into api3/network
2017-03-18 16:29:38 +00:00
6e1abe7b15
Fixed some formatting issues in FlowerPot
2017-03-18 14:24:23 +00:00
cbb003bf29
Guard against leaked closed tiles leaking chunks and NBT trees
...
Once again, this does not fix the actual issue, only reduces the impact of it.
2017-03-18 11:50:05 +00:00
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +00:00
c21197ef17
Removed entanglement between chunks and providers. WARNING: BREAKING API CHANGES.
...
- All entity and tile constructors now require a \pocketmine\level\Level instead of a \pocketmine\level\format\Chunk.
- Chunk->getProvider() and Chunk->setProvider() have been removed.
- Chunk::__construct() has had the $provider parameter removed.
- Chunk->unload() has had the unused $save parameter removed.
- ChunkEvents now take a Level parameter instead of going through the Chunk
API bump to 3.0.0-ALPHA4
2017-02-21 17:08:45 +00:00
e4aa3d72fe
Check for unloaded chunks, fix triple chest bug, fix Chest object leak, close #256
...
Revert "Fixed double chest tile memory leak on shutdown, close #256 (#261 )"
This reverts commit 9869aaa46a
.
2017-01-19 15:34:51 +00:00
9869aaa46a
Fixed double chest tile memory leak on shutdown, close #256 ( #261 )
2017-01-15 19:41:15 +00:00
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
1cb96d24ce
Some fixes, thanks PhpStorm
2017-01-04 11:29:24 +00:00
55791e0819
Fix doc formatting from FullChunk -> Chunk mass-replace
2017-01-03 22:24:28 +00:00
e85d6d134e
Fix mob head crashes and drops, fix #221
2017-01-01 01:57:39 +00:00
772abc609d
Fix ItemFrame crash
2016-12-21 17:11:03 +00:00
8c772fe671
Working item frames
2016-12-20 13:01:28 +00:00
c4d4277a6c
Better BlockEntityDataPacket handling
2016-12-20 13:01:27 +00:00
2987c7a80c
Remove unnecessary duplication
2016-12-20 12:59:27 +00:00
4063bc4ffb
Relocated Server->registerTiles() to Tile::init()
2016-12-20 12:59:27 +00:00
90957cd908
Some tile improvements and added ItemFrame tile
2016-12-20 12:59:26 +00:00
2930cf80b4
Merge branch 'master' into mcpe-1.0
2016-12-16 10:29:58 +00:00
175dd0efa6
PhpStorm inspections
...
Fixed some minor bugs and dropped some obsolete code
pocketmine\level\generator namespace is ignored in this commit
2016-12-14 21:49:35 +00:00
4c49db6036
New generic in-memory chunk format, fixed 0.17.0.1 chunk loading
...
Terrible performance, needs profiling. TODO: fix this.
2016-11-27 21:57:59 +00:00
995d0847f9
Fix tile derp
2016-11-27 13:06:11 +00:00
e51a2725de
Remove circular dependency between Item and NBT modules ( #121 )
2016-11-25 10:17:50 +00:00
ff40c0a070
NBT updates and tile spawns fixed
2016-10-27 10:55:01 +01:00
58ff381557
PhpStorm automated formatting ( #11 )
...
* PhpStorm reformatting
* Tuned PhpStorm reformatting
* Improved ItemIds and BlockIds formatting
* Tuned more PhpStorm reformatting
* Improved string concatenation
2016-10-03 19:05:48 +08:00
e913b16804
Fixed some lines indented with 4 spaces rather than tabs
2016-10-03 00:58:34 +08:00
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
ad64a074cb
Fix furnace NBT assertion errors and inventory not working
2016-10-01 14:14:55 +01:00
2d95bdc10f
Remove derp semicolon ( #11 )
...
* Update Furnace.php
* fix formatting
2016-09-30 19:20:03 +01:00
7b8548b2b1
Added Flower Pots
2016-09-30 19:19:51 +01:00
4198c445b0
Fixed Furnace crash
2016-09-28 13:59:53 +01:00
012d46dfd8
Added Mob Heads
...
Fixed duplicated items in JSON file
2016-03-22 22:25:36 -06:00
a2734f6dc0
Merged master into php7 to support 0.13.1
2016-01-22 17:36:45 +01:00
963f7ee077
Update Spawnable.php
2015-11-25 21:00:03 +09:00
734736492a
Added some creative items and removed nether reactor
2015-11-23 21:56:38 +01:00
cf3d8f449e
Added some asserts
2015-09-27 19:48:42 +02:00
8768b7fdbd
Merge remote-tracking branch 'origin/mcpe-0.12' into php7
2015-09-17 12:25:05 +02:00
9665dfd63e
Changing the return value of getName
2015-09-16 01:21:07 +09:00
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
696edfd31f
Added custom block data (example, chests), better deep checking of same NBT
2015-08-07 17:24:35 +02:00
75b7b03857
Added support for more NBT data, renaming inventories, fixed tags not being saved, added support for tags in /give
2015-08-07 16:28:27 +02:00