Sandertv
1c7773c5f1
Visibility keyword before final or abstract keyword. ( #814 )
2017-04-13 20:58:53 +08:00
Dylan K. Taylor
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
Dylan K. Taylor
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
Dylan K. Taylor
9004417456
Fixed file headers ( #255 )
2017-01-13 16:57:05 +00:00
Dylan K. Taylor
55791e0819
Fix doc formatting from FullChunk -> Chunk mass-replace
2017-01-03 22:24:28 +00:00
Dylan K. Taylor
2987c7a80c
Remove unnecessary duplication
2016-12-20 12:59:27 +00:00
Dylan K. Taylor
4063bc4ffb
Relocated Server->registerTiles() to Tile::init()
2016-12-20 12:59:27 +00:00
Dylan K. Taylor
90957cd908
Some tile improvements and added ItemFrame tile
2016-12-20 12:59:26 +00:00
Dylan K. Taylor
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
Dylan K. Taylor
995d0847f9
Fix tile derp
2016-11-27 13:06:11 +00:00
SOFe
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
SOF3
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
Intyre
a2734f6dc0
Merged master into php7 to support 0.13.1
2016-01-22 17:36:45 +01:00
Intyre
734736492a
Added some creative items and removed nether reactor
2015-11-23 21:56:38 +01:00
Shoghi Cervantes
cf3d8f449e
Added some asserts
2015-09-27 19:48:42 +02:00
Shoghi Cervantes
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
Shoghi Cervantes
d1bfb304cb
Added some extra tile entities, fake enchanting table
2015-08-07 12:07:39 +02:00
Shoghi Cervantes
8fd6582e74
Automatically set Entity / Tile entity save identifiers
2014-11-04 12:04:08 +01:00
Shoghi Cervantes
8c4faa8622
Added extra Exceptions
2014-10-28 21:07:12 +01:00
Shoghi Cervantes
34ae760def
New way to spawn entities/tiles using a global register table, allow overriding default entity/tile classes via classes
2014-10-28 13:09:27 +01:00
Shoghi Cervantes
516bb37a50
Removed some direct type checks on Entity/Tile->closed
2014-10-21 19:28:29 +02:00
Shoghi Cervantes
2f8267aa1e
Improved Level object deallocation
2014-10-19 20:45:03 +02:00
Shoghi Cervantes
b26ee09f76
Removed a bunch of TODO and fixed item drops on block update
2014-10-13 18:54:34 +02:00
Shoghi Cervantes
b45ef8928c
Added Tile->getBlock() method
2014-10-09 12:14:39 +02:00
Shoghi Cervantes
6b65b68ebc
Possible fix for #1661
2014-10-05 16:32:15 +02:00
Shoghi Cervantes
539fa232f8
Added individual object timings to Entities / Tile Entities
2014-09-30 16:09:21 +02:00
Shoghi Cervantes
ff48eb3d4d
Added better Entity/Tile scheduled updates
2014-09-01 11:59:46 +02:00
Shoghi Cervantes
c5626bae34
Do not set Level to null, closes #2032
2014-09-01 11:29:44 +02:00
Shoghi Cervantes
705e4da789
Tick entities on Level, show correct timing reports
2014-09-01 01:56:13 +02:00
Shoghi Cervantes
e473cd5e67
Improved unloaded tile entity handling
2014-08-27 18:18:33 +02:00
Shoghi Cervantes
f0f9bccb4b
Fixed #1960
2014-08-24 15:57:13 +02:00
Shoghi Cervantes
01ebe74974
Performance improvements in blocks and Entities
2014-08-24 14:08:17 +02:00
Shoghi Cervantes
db7222976e
Code cleanup
2014-08-21 17:26:41 +02:00
Shoghi Cervantes
ec93ed3e3d
Fixed crash on tile unloading
2014-08-15 16:37:39 +02:00
Shoghi Cervantes
7a5c583407
Throw exception when null chunk is passed to a Tile/Entity
2014-08-15 16:04:48 +02:00
Shoghi Cervantes
f60e2860e8
Release strong weak references on close, closes #1883
2014-08-15 13:41:13 +02:00
Shoghi Cervantes
269a10fadd
Modified Level and Chunk deprecated methods
2014-08-06 16:22:55 +02:00
Shoghi Cervantes
1a442b793c
Fixed Tiles/Entities not using the correct chunk type
2014-07-30 18:24:59 +02:00
Shoghi Cervantes
7d8a961374
Throw exception when an invalid chunk is set as the parent of a Tile/Entity
2014-07-28 21:40:50 +02:00
Shoghi Cervantes
9a4ead54e3
Added more timings
2014-07-12 15:23:06 +02:00
Shoghi Cervantes
fa50cbf4b3
Working Threaded Generation
2014-06-10 20:45:09 +02:00
Shoghi Cervantes
115b4cf4ac
Updated Levels :D
2014-06-09 11:35:52 +02:00
Shoghi Cervantes
3fc1be1262
Fixed crash when removing Tiles
2014-05-27 16:15:23 +02:00
Shoghi Cervantes
ec055fd8d1
Items spawn, Tiles spawn, both are saved, blocks drop
2014-05-24 17:25:37 +02:00
Shoghi Cervantes
d8ea2e744f
Added methods to add/remove Entities/Tiles from Levels
2014-05-24 13:49:58 +02:00
Shoghi Cervantes
ef6ca9d2cd
Added Tile::saveNBT(), moved Player::broadcastPacket() to Server
2014-05-24 13:21:55 +02:00
Shoghi Cervantes
f9103772c3
It works. (Inventory, windows, block placement)
2014-05-24 00:32:29 +02:00
Shoghi Cervantes
53749483c3
Implemented new Inventory windows on Player, Chest and Furnace
2014-05-23 20:53:06 +02:00
Shoghi Cervantes
6cbd39de9b
Added Inventory interfaces and types, updated long array() to []
2014-05-22 18:59:16 +02:00
Shoghi Cervantes
c1546aac9c
Updated Position to use Weak / strong references for Level objects
2014-05-22 04:14:06 +02:00