495 Commits

Author SHA1 Message Date
Dylan K. Taylor
f720a58013 RegionWorldProvider: don't assume that path has a trailing directory separator 2019-08-25 19:50:51 +01:00
Dylan K. Taylor
3eea2442a7 move filesystem-related functions to pocketmine\utils\Filesystem 2019-08-25 17:36:50 +01:00
Dylan K. Taylor
39d5903c3e Remove INT32_MIN and INT32_MAX global constants 2019-08-25 16:09:51 +01:00
Dylan K. Taylor
42ffc45c1c world providers: don't assume that getPath() has a trailing directory separator 2019-08-25 15:45:40 +01:00
Dylan K. Taylor
aa006cca0e WorldProviderManager: added getAvailableProviders()
this will be used by standalone CLI conversion tool
2019-08-24 19:59:57 +01:00
Dylan K. Taylor
6a4ae4cb94 remove position parameters from BlockFactory::get() and BlockFactory::fromFullBlock() 2019-08-24 17:19:27 +01:00
Dylan K. Taylor
aa60aa69ee World: fix bug in getNearestEntity()
fuck you PhpStorm
2019-08-21 18:51:08 -04:00
Dylan K. Taylor
e9fd57275a remove LevelEventSound, remove pitch from sounds that don't support it (most of them) 2019-08-21 17:59:00 +01:00
Dylan K. Taylor
3a41a798ad move forced overflow of SetTimePacket to SetTimePacket::create() 2019-08-20 16:24:47 +01:00
Dylan K. Taylor
794c7b2469 clean up imports 2019-08-20 15:59:27 +01:00
Dylan K. Taylor
965177fb74 Server: drop redundant proxy function broadcastPacket()
this is just making it harder to search for broadcast usages, and we want to get rid of all packet broadcasting shit from Server anyway.
2019-08-19 19:30:57 +01:00
Dylan K. Taylor
8557c93f04 remove GenericParticle, work on isolating network crap in particles 2019-08-19 19:26:26 +01:00
Dylan K. Taylor
e52ba7201c add LevelEventPacket::standardParticle() sugar 2019-08-19 19:01:09 +01:00
Dylan K. Taylor
3274db3ddc DustParticle constructor now uses Color object 2019-08-19 18:57:26 +01:00
Dylan K. Taylor
2d4a32fc77 first look at separating Entity and Location 2019-08-19 17:20:34 +01:00
Dylan K. Taylor
73b2669712 remove World->isFullBlock(), add Block->isFullCube(), clean up some BB mess 2019-08-15 16:22:54 +01:00
Dylan K. Taylor
200bcb485e Merge branch 'stable' 2019-08-14 18:20:55 +01:00
Dylan K. Taylor
2b38098243 Explosion: fix pos refactor mess 2019-08-12 19:05:21 +01:00
Dylan K. Taylor
514f395280 SubChunk: reduce visibility of blockLight and skyLight fields 2019-08-10 19:47:41 +01:00
Dylan T
c533f6a0bd
Implemented partial chunk saving on LevelDB (#3078) 2019-08-07 17:39:36 +01:00
Dylan K. Taylor
4e5b296c8c Tiles now encapsulate positions instead of extending them 2019-08-05 19:33:34 +01:00
Dylan K. Taylor
358fea9645 Move Location to Entity namespace 2019-08-05 17:20:48 +01:00
Dylan K. Taylor
53ab860db5 first shot making Block not extend Position
this makes some stuff a lot less pretty, but this seems to be the bare minimum necessary to do this task. It can be enhanced later.
2019-08-05 16:44:09 +01:00
Dylan K. Taylor
5499ac620c Removed pocketmine subdirectory, map PSR-4 style 2019-07-30 19:14:57 +01:00
Shoghi Cervantes
5ea31b57ce First step to namespaces 2014-03-05 23:43:16 +01:00
Shoghi Cervantes
23b8fc32ff removed DocBlock header for logo 2014-03-05 11:15:47 +01:00
Shoghi Cervantes
9c38ead76d fixed time not being sent correctly on creative mode the first time 2014-03-05 01:25:53 +01:00
Shoghi Cervantes
a529e7566a Removed not needed network steps, corrected slot methods 2014-03-05 00:54:12 +01:00
Shoghi Cervantes
980ee223d0 Save correct NBT Compound tag on Level chunk save 2014-03-04 19:52:52 +01:00
Shoghi Cervantes
9cc9de8dae New Random block update tick 2014-03-02 17:56:24 +01:00
Shoghi Cervantes
ca308f8159 Merge branch 'master' into Core-Rewrite
Conflicts:
	src/pmf/PMFLevel.php
2014-03-01 22:12:22 +01:00
Shoghi Cervantes
11f5691104 Fixed Pocket format importing 2014-03-01 22:08:28 +01:00
Shoghi Cervantes
2a23eadbb6 Fixed things 2014-03-01 21:42:40 +01:00
Shoghi Cervantes
573fe0e5cc Save player position, removed several methods from PluginAPI 2014-03-01 20:32:49 +01:00
Shoghi Cervantes
fdbefa0571 Added index to Level::getUsingChunk() 2014-03-01 19:04:18 +01:00
Shoghi Cervantes
c2ad811451 Added chunk move spawning logic 2014-03-01 19:01:24 +01:00
Shoghi Cervantes
9d02ed9a28 New chunk indexing and sending algorithm 2014-03-01 17:35:44 +01:00
Shoghi Cervantes
5651fc1cb1 Fixed level block and chunk sending 2014-02-28 20:39:59 +01:00
Shoghi Cervantes
f08bedf2fe Added Biome methods to Level 2014-02-28 20:04:41 +01:00
Shoghi Cervantes
c488c19db9 I can spawn!! 2014-02-28 19:47:08 +01:00
Shoghi Cervantes
2bf3f0de73 Removed EntityAPI 2014-02-27 16:47:49 +01:00
Shoghi Cervantes
6bd91cf39e fixes, new Tile update algorithm 2014-02-27 15:12:05 +01:00
Shoghi Cervantes
c9dfdc288d Updated global Tile code 2014-02-27 12:23:22 +01:00
Shoghi Cervantes
44b9d33b65 removed debug code 2014-02-27 00:24:43 +01:00
Shoghi Cervantes
103d0bf2ea Updated TextFormat constants 2014-02-27 00:11:06 +01:00
Shoghi Cervantes
4a2852bb90 Reworked Level things to handle new NBT structure 2014-02-27 00:03:53 +01:00
Shoghi Cervantes
3864630bcd New PMF level (uses NBT Entity and TileEntity) 2014-02-26 17:15:31 +01:00
Shoghi Cervantes
38c5174da7 Merged branch master into Core-Rewrite (includes new NBT changes) 2014-02-26 16:26:59 +01:00
Shoghi Cervantes
21671b133a New NBT library finished 2014-02-26 15:20:16 +01:00
Shoghi Cervantes
9cfa49c112 Added core NBT modifications 2014-02-26 15:12:58 +01:00