5ce6c6227f
Fix a couple of particle constants
...
Thanks @thebigsmilexd for information
2016-12-15 23:05:26 +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
5e6d452678
Fix TNT flashing, add explosion particles and add DATA_FUSE_LENGTH entity data constant
2016-12-09 17:20:07 +00:00
d6629d6843
More ?? ( #131 )
...
* More ??
* fix undefined variable
2016-11-30 10:07:37 +00:00
e51a2725de
Remove circular dependency between Item and NBT modules ( #121 )
2016-11-25 10:17:50 +00:00
fe348b0a9d
Speed up region file creation by only using ftruncate(). ( #116 )
...
* Speed up region file creation by only using ftruncate().
The old method was extremely slow (~200ms to create a single region file), but the new one is much faster (in the order of ~15ms). (Numbers were measured on a Linode 2048)
* Replace manual array fill with array_fill().
* Spaces -> tabs.
* Update RegionLoader.php
2016-11-23 21:23:38 +00:00
7314aaf7f7
Particles for 0.16
...
Added BlockForceFieldParticle, removed LargeExplodeParticle and added HugeExplodeSeedParticle
2016-11-12 21:05:01 +00:00
03003ffa50
Improved invalid spawnpoint checking
2016-10-31 14:05:50 +00:00
7a1cdf88e8
Fixed bugs related to #24 such as getName() on null
2016-10-31 13:50:18 +00:00
0ce25f8b29
Fix #59 (FloatingTextParticle undefined )
2016-10-29 09:59:34 +01:00
ce72f634b0
Update some old code
2016-10-27 10:55:04 +01:00
ff40c0a070
NBT updates and tile spawns fixed
2016-10-27 10:55:01 +01:00
86ed0f1397
Updated existing packets and added new ones
2016-10-27 10:55:01 +01:00
702ab53e69
Moved the default mcr/mca worlds' spawn in the center of the r.0.0.mc* region file ( #28 )
...
The default mcr/mca spawn was not centered in the 0,0 region causing the generation of not needed regions walking just a bit
2016-10-21 13:50:30 +01:00
e7e476b65e
Wooden and Stone slabs both placable
2016-10-18 18:19:58 +02:00
bcc641a25a
Fix for slab placing, close #31
2016-10-18 17:37:40 +02: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
4133f98b23
Updated a few tabs, updated SPL submodule
2016-10-03 01:59:06 +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
e9f2bf0085
Better time ticking and sync ( #2 )
...
* Remove unnecessary SetTimePacket spam
This is handled automatically client-side, as long as it is calculated correctly server side there is no issue (unless the server hits a spot of bad lag)
* Better client/server time sync when lagging
2016-10-02 12:54:27 +01:00
900c4adb66
Create sign tile like it should be.
2016-09-30 19:19:56 +01:00
e962f7fb0a
Fixed bug in updateAround where only one block is updated
2016-09-30 19:19:54 +01:00
795d6c8ddf
Fix entity-related memory leak on chunk unload
2016-09-30 19:19:48 +01:00
a6f8379c40
Fix time bugs
2016-09-28 13:59:52 +01:00
6fb41c5c7f
UpdateBlockPacket fixed and changed skinName to skinId
2016-06-22 01:09:48 +02:00
df8e1e8702
Spawn unleashed, movement fixed and some Player DataProperty cleanup
2016-06-22 00:08:52 +02:00
f82c59bdc4
Fixes #3991 , closes #4011
2016-03-15 22:52:49 +08:00
0b06a4f703
Fixed #3692 ; fixed "arrows should not catch fire in fire blocks"
2016-03-10 17:45:06 +08:00
781de3efab
Addresses #4024
2016-03-06 23:13:33 +08:00
eb00dee8a6
removed int return from getSeed
2016-02-22 13:03:27 +01:00
ed9888a2cb
Fixed #3963 , closes #3979 , added hash for non-numeric seeds
2016-02-22 19:40:40 +08:00
41a847567c
RandomSeed should be a TAG_Long
2016-02-22 18:42:49 +08:00
56644fed9d
Fixed #3961
2016-02-22 15:42:44 +08:00
36028679d8
Merge pull request #3956 from redcrab2016/redcrab2016-patch-1
...
PR: Bug Fix - Crash if player is spawn to Y coord. >0 & <1
2016-02-22 14:15:11 +08:00
3640e13f17
Added some assertions for level seed
2016-02-21 22:46:44 -05:00
a6cd526e60
PHP7 to master
2016-02-21 12:47:30 +01:00
675583293f
Crash if player spawn back to Y coord. >0 & <1
...
The issue come from line 2664 : $v = $spawn->floor()
If $spawn->y is in ]0..1[ then $v->y == 0
Then getBlockId : line 2670 use 'y' as -1 => Crash boom
2016-02-18 10:54:54 +01:00
302fb9e65e
Add @throws docs.
...
Signed-off-by: Dongjoon Hyun <dongjoon@apache.org >
2016-02-17 14:22:47 -08:00
a2734f6dc0
Merged master into php7 to support 0.13.1
2016-01-22 17:36:45 +01:00
9ff58f6ab3
Merge branch 'patch-1' of https://github.com/TrinityDevelopers/PocketMine-MP into TrinityDevelopers-patch-1
2015-12-20 00:31:52 +01:00
cbed8d40ff
Fix a mispelled "new" call
2015-11-05 17:11:42 -06:00
cf3d8f449e
Added some asserts
2015-09-27 19:48:42 +02:00
606948ef8e
Fixed return value of Level::getTickRateTime()
2015-09-27 14:31:15 +02:00
0bcf639a98
Changed how exceptions work and are logged, throw proper exceptions on tasks
2015-09-18 12:03:24 +02:00
3ffdb8e552
Removed @deprecated classes, methods and properties, added some type hints
2015-09-12 17:10:11 +02:00
29a5012c02
Merge remote-tracking branch 'origin/mcpe-0.12' into php7
2015-09-12 01:03:09 +02:00
e137ac4c56
Base PHP7 work to make it "run" - READ NEXT LINES!
...
All plugins will need to bump the API if they want to use this.
NOTE THAT THIS IS NOT THE FINAL API 2.0.0 AND THAT THERE WILL BE MORE CHANGES.
To start updating, you might also want to read https://secure.php.net/manual/en/migration70.php and specifically https://secure.php.net/manual/en/migration70.incompatible.php
To compile PHP7 with some of the required dependencies, use https://gist.github.com/shoghicp/166ab26ce5cc7a390f45
ONLY LINUX IS TESTED, DO NOT ASK FOR OTHER PLATFORMS!
----- THIS VERSION IS NOT SUPPORTED -----
This version WILL crash randomly in unexpected places due to PHP7, pthreads, PocketMine or cosmic rays.
Handle with care, and store under direct sunlight for the best performance.
2015-09-10 21:29:29 +02:00
bdf5c46793
Merge branch 'master' into mcpe-0.12
2015-08-31 17:51:07 +02:00
a18826473b
Added enderman teleport sound
2015-08-31 17:48:28 +02:00