Merge branch 'release/alpha12'

This commit is contained in:
Dylan K. Taylor
2018-05-17 18:40:24 +01:00
21 changed files with 454 additions and 36 deletions

View File

@ -846,6 +846,16 @@ class Level implements ChunkManager, Metadatable{
$this->sleepTicks = $ticks;
}
/**
* @deprecated
*
* @param int $x
* @param int $y
* @param int $z
* @param int $id
* @param int $data
* @param Player[]|null $targets
*/
public function sendBlockExtraData(int $x, int $y, int $z, int $id, int $data, array $targets = null){
$pk = new LevelEventPacket;
$pk->evid = LevelEventPacket::EVENT_SET_DATA;
@ -2130,6 +2140,8 @@ class Level implements ChunkManager, Metadatable{
}
/**
* @deprecated This functionality no longer produces any effect and will be removed in a future release
*
* Gets the raw block extra data
*
* @param int $x
@ -2143,6 +2155,7 @@ class Level implements ChunkManager, Metadatable{
}
/**
* @deprecated This functionality no longer produces any effect and will be removed in a future release
* Sets the raw block metadata.
*
* @param int $x