Dylan K. Taylor
8caabd3267
Check for existence of ChunkUtils extension
2017-08-31 21:04:36 +01:00
Dylan K. Taylor
ddfe828445
Require PHP 7.2, bump PocketMine-MP version to 1.7dev
2017-08-31 20:27:05 +01:00
Dylan K. Taylor
67ad2d25b9
Added FireImmune data flag
2017-08-30 18:36:36 +01:00
Dylan K. Taylor
b9c4a65307
Don't save players with chunks!
...
I can't believe I didn't notice this
2017-08-30 16:55:17 +01:00
Dylan K. Taylor
23752548fe
Address several LevelDB related crashdumps in the crash archive
2017-08-30 15:42:31 +01:00
Dylan K. Taylor
190f4dd6ab
New entity metadata flags
2017-08-30 14:13:24 +01:00
Dylan K. Taylor
120cf56a47
Misc return typehints
2017-08-30 12:59:26 +01:00
Dylan K. Taylor
21f09d5fdb
Cleaned up Effect handling and replacement
2017-08-30 12:53:41 +01:00
Dylan K. Taylor
bde6d7db8d
Remove redundant duplicate implements
2017-08-30 12:21:09 +01:00
Dylan K. Taylor
adc6b03d4c
Typehinted up Entity API and some cleanup
2017-08-30 12:17:56 +01:00
Dylan K. Taylor
fd52022065
Refactor of health int -> float and fixed armor being useless when
...
computed damage reduction is less than 1
2017-08-30 11:03:07 +01:00
Dylan K. Taylor
ea5bd0348a
Fixed liquid flow attempting to set negative block damage values
...
This should only execute if the current liquid block is actually still existent. When decay is negative, it means the water block doesn't exist anymore.
2017-08-29 14:22:12 +01:00
Dylan K. Taylor
6abef6b22d
Made block and item factory lists private to stop people doing stupid things with them
2017-08-29 10:53:01 +01:00
SOFe
9902d29734
ServerScheduler::scheduleAsyncTask() returns the worker used ( #1312 )
2017-08-29 10:29:24 +01:00
Dylan K. Taylor
7475aa3a18
Do not allow use of PHP 7.1 due to not compatible
2017-08-28 23:42:22 +01:00
Dylan K. Taylor
6d6283b7f3
Fixed Player->sendPosition() not working correctly
2017-08-28 20:07:04 +01:00
Dylan K. Taylor
a3d21de559
Cleaned up network inventory action reading and core action creation
2017-08-28 20:04:35 +01:00
Dylan K. Taylor
6a717d8050
Fixed PlaySoundPacket
...
thanks @undrfined
2017-08-28 18:32:56 +01:00
Dylan K. Taylor
ece0692229
Fixed UUID corruption in recipe data
...
this is important for MultiRecipes to work correctly (yes I know we don't use these yet!)
2017-08-28 18:04:11 +01:00
Dylan K. Taylor
b5d2402c9b
Merge branch 'master' into mcpe-1.2
2017-08-28 18:02:09 +01:00
Dylan K. Taylor
37b050f864
Return an UnknownBlock if the BlockFactory hasn't been initialized yet
2017-08-28 17:07:39 +01:00
Dylan K. Taylor
d07b5ba1e1
Added missing return to Bow, fixed #1329
2017-08-27 20:40:30 +01:00
Dylan K. Taylor
697ea55fb7
Another typehint
2017-08-27 20:01:38 +01:00
Dylan K. Taylor
8b3fad8a7b
Removed redundant condition
2017-08-27 19:44:40 +01:00
Dylan K. Taylor
f2402f2122
Strict-compare these to strings since they cannot return anything but
2017-08-27 19:32:57 +01:00
Dylan K. Taylor
b548c4fdbe
Use null coalesce in BanList->addBan()
2017-08-27 19:29:04 +01:00
Dylan K. Taylor
a982344b96
Cleaned up Level->addSound() and Level->addParticle()
2017-08-27 19:09:05 +01:00
Dylan K. Taylor
0b2b9126a2
Improved tile spawning
...
There's no need to recreate the spawn packet for every single player, or re-serialize the NBT.
2017-08-27 18:40:18 +01:00
Dylan K. Taylor
f4f2323518
Fixed entityBaseTick not being timed for Players
2017-08-27 18:29:54 +01:00
Dylan K. Taylor
badd669b3d
Removed use of literal ints for block ID checks in Dandelion
2017-08-27 16:16:37 +01:00
Dylan K. Taylor
c7fd3eb725
Merge branch 'master' into mcpe-1.2
2017-08-27 16:09:23 +01:00
Dylan K. Taylor
a5f5502380
Moved bow functionality out of Player
2017-08-26 19:04:04 +01:00
Dylan K. Taylor
6d5620606e
Block->place() parameter refactor to make things clearer
2017-08-26 14:41:49 +01:00
Dylan K. Taylor
20f34fba53
Missed another dupe
2017-08-26 14:34:21 +01:00
Dylan K. Taylor
61968cca28
Cleaned up duplicated spawn protection code and refactor some variable names
2017-08-26 14:25:34 +01:00
Dylan K. Taylor
13187e1749
Removed damage-table mess and added API methods Item->getAttackPoints() and Item->getDefensePoints()
2017-08-26 12:59:03 +01:00
Dylan K. Taylor
7c212d3d53
Fix formatting issue in AsyncPool
2017-08-25 19:15:57 +01:00
Dylan K. Taylor
9e142655ea
Removed redundant count parameter from item constructors, added some documentation and tightened safety checks
...
the count parameter is useless since Item ctor should now only be used for constructing item _types_, not actual items. All item creations for inventories etc, should go through the ItemFactory.
2017-08-25 19:06:23 +01:00
Dylan K. Taylor
1fec16f167
Fix Block::get() regression introduced in 02f42eba
2017-08-25 18:15:53 +01:00
Dylan K. Taylor
4ab286a142
Generated some Item TODOs
2017-08-25 14:35:50 +01:00
Dylan K. Taylor
44dd7c2222
Removed some redundant item classes
2017-08-25 14:07:50 +01:00
Dylan K. Taylor
97911aa9cf
Fix undetected collision of nether brick block and nether brick item
2017-08-25 13:36:36 +01:00
Dylan K. Taylor
7ff143c793
Some minor tool cleanup
2017-08-25 13:19:21 +01:00
Dylan K. Taylor
cd7724d94a
Added concrete
2017-08-25 13:13:11 +01:00
Dylan K. Taylor
76e213ae73
Cleaned up shared rotation code, fixed quartz pillar rotation, added bone blocks
2017-08-25 13:06:16 +01:00
Dylan K. Taylor
8ce833bf74
Stripped redundant trailing commas
2017-08-25 12:41:49 +01:00
Dylan K. Taylor
ba27fff853
Fix formatting derp
2017-08-25 11:53:41 +01:00
Dylan K. Taylor
80f2519d7d
Fixed obsidian hardness, no more destroying obsidian with TNT
2017-08-25 11:52:46 +01:00
Dylan K. Taylor
ebda6ec19b
Cleaned up random-block-ticking registration
2017-08-25 11:47:38 +01:00
Dylan K. Taylor
6553c82320
Fix random block ticking losing randomness on third iteration
...
More expensive to do it this way, but this should be foolproof. The old method ran short by 4 or 5 bits, causing the Y coordinate of the third loop to be always < 8 and the Z coordinate to always be 0.
2017-08-24 22:14:07 +01:00