Dylan K. Taylor
e312c697fd
Merge master into api3/network
2017-04-10 21:21:29 +01:00
Creeperface01
dda47ee566
Fix typo in explosion ( #700 )
2017-04-10 09:17:34 +01:00
Dylan K. Taylor
56990eb28b
MCPE protocol gets its own namespace
2017-03-08 20:28:39 +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
2930cf80b4
Merge branch 'master' into mcpe-1.0
2016-12-16 10:29:58 +00:00
Dylan K. Taylor
5e6d452678
Fix TNT flashing, add explosion particles and add DATA_FUSE_LENGTH entity data constant
2016-12-09 17:20:07 +00:00
Dylan K. Taylor
35b3259053
Fix explosions over 128 do not damage blocks
2016-12-02 00:01:38 +00:00
SOF3
6fc435da0e
Imports rearrangement
2016-10-03 00:43:46 +08:00
Shoghi Cervantes
3ffdb8e552
Removed @deprecated classes, methods and properties, added some type hints
2015-09-12 17:10:11 +02:00
Shoghi Cervantes
7f8b39a63c
Renamed NBT tags to have Tag in the name
2015-08-23 00:25:29 +02:00
Shoghi Cervantes
31ef7721b1
Removed network channels, bumped protocol
2015-08-12 14:59:48 +02:00
Shoghi Cervantes
3e2cce3c2c
use cleanup
2015-08-07 21:26:24 +02:00
Shoghi Cervantes
26c9eed82e
Added all block hardness
2015-07-27 20:31:55 +02:00
Shoghi Cervantes
f7ec1de0fd
Players now have entity id 0
2015-06-19 14:40:05 +02:00
Shoghi Cervantes
f91a3a2666
Fixed invalid fix for block updates that corrupted state
2015-05-23 22:47:46 +02:00
Yosshi999
d429992f5b
Fix Fallable not dropping after explosion, Fixes #2735 , Fixes #2806 .
...
Signed-off-by: Michael Yoo <michael@yoo.id.au>
2015-05-23 22:36:23 +09:30
Shoghi Cervantes
7753b1d8be
Fixed items (and other entities) vibrating, bad offsets in tile calculation
2015-05-19 21:29:30 +02:00
Shoghi Cervantes
840690d801
Replaced old deprecated calls
2015-05-18 15:52:31 +02:00
Shoghi Cervantes
b1edfd7631
Improved Falling blocks physics, entity kill, chunk unserialize, fixed flat generator color, fixed nbt tags __toString(), fixed explosion offsets, fixed increased player interaction range in creative
2015-05-13 12:18:59 +02:00
Shoghi Cervantes
9ec609d025
Improved Player flight detection after setMotion(), other method improvement
2015-05-03 13:42:54 +02:00
Shoghi Cervantes
0b176b3fe0
Implemented Channeled packet sending
2015-04-14 18:24:40 +02:00
Shoghi Cervantes
d34499e67b
Revert "Implemented proportional armor modifier, applied armor in other damage types and consume armor when player is damaged"
2015-03-18 17:26:06 +01:00
PEMapModder
8aa8ae5094
Implemented proportional armor modifier, applied armor in other damage types and consume armor when player is damaged
2015-03-17 20:04:59 +08:00
Shoghi Cervantes
074c8b876d
Cleaned up code
2015-01-03 16:07:49 +01:00
Shoghi Cervantes
04ecbd1a76
Level optimization, added new chunk/block hashes
2014-12-09 14:55:21 +01:00
Shoghi Cervantes
a4735eaf76
Replaced some instanceof to null checks
2014-12-09 02:22:18 +01:00
Shoghi Cervantes
8601405a88
Fixed CPU leak
2014-10-31 21:07:00 +01:00
Shoghi Cervantes
57d1847c50
Updated to receive new optimizations
2014-10-30 16:02:48 +01:00
Shoghi Cervantes
8a768cea33
EntityDamageEvent and children now only fire if the attack is possible, moved event trigger to Entity->attack()
2014-10-29 16:02:40 +01:00
Shoghi Cervantes
78f8d0280d
Removed unused imports
2014-10-29 01:14:09 +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
350cee3d41
Added Event allocation pool, updated SPL with Class::onClassLoaded()
2014-10-28 10:47:40 +01:00
Shoghi Cervantes
144a871c07
Improved Vector3 and Block handling, less allocation on Positions
2014-10-28 10:03:10 +01:00
Shoghi Cervantes
db82f76c11
Improved network packets allocation
2014-10-27 20:30:33 +01:00
Shoghi Cervantes
7abf52e615
Implemented Vector3 List and AxisAlignedBB Pool to decrease object allocation
2014-10-27 15:39:20 +01:00
Shoghi Cervantes
30c3718ea8
Improved Explosion item drop position
2014-10-20 12:58:05 +02:00
Shoghi Cervantes
883f93cc8c
Improved item drop spawning
2014-10-13 22:45:04 +02:00
Shoghi Cervantes
8472349caf
Improved global block cache
2014-10-12 17:02:27 +02:00
Shoghi Cervantes
ebb844fa52
Removed unused code, fixed undefined variables
2014-10-11 22:22:51 +02:00
Shoghi Cervantes
0dd46c835c
Made ExplosionPrimeEvent accept setting block breaking settings
2014-10-10 22:39:06 +02:00
Shoghi Cervantes
4346773e25
Added EntityDamageByBlockEvent (child of EntityDamageEvent)
2014-10-08 16:13:18 +02:00
Shoghi Cervantes
582c165479
Implemented Explosion and PrimedTNT, closes #2139
2014-10-07 17:46:01 +02:00
Shoghi Cervantes
eab86f5f90
Replaced array() with []
2014-08-28 17:04:22 +02:00
Shoghi Cervantes
65523972c2
Implemented health, events, damage, motion push
2014-07-06 23:10:11 +02:00
Darunia18
87308d1c51
Update Explosion.php
...
Fixed bugs on lines 75 and 141.
2014-06-27 02:45:32 -04:00
PEMapModder
20e419a9c4
Fixed Explosion.php WeakRef issue
2014-06-18 11:42:41 +08:00
Shoghi Cervantes
8d40f843cf
MainLogger can now have debug level disabled
2014-05-29 00:08:02 +02:00
Shoghi Cervantes
ef6ca9d2cd
Added Tile::saveNBT(), moved Player::broadcastPacket() to Server
2014-05-24 13:21:55 +02:00
Shoghi Cervantes
6cbd39de9b
Added Inventory interfaces and types, updated long array() to []
2014-05-22 18:59:16 +02:00