mirror of
https://github.com/pmmp/PocketMine-MP.git
synced 2025-06-30 15:19:56 +00:00
Added enderman teleport sound
This commit is contained in:
parent
fabb632286
commit
a18826473b
31
src/pocketmine/level/sound/EndermanTeleportSound.php
Normal file
31
src/pocketmine/level/sound/EndermanTeleportSound.php
Normal file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
*
|
||||
* ____ _ _ __ __ _ __ __ ____
|
||||
* | _ \ ___ ___| | _____| |_| \/ (_)_ __ ___ | \/ | _ \
|
||||
* | |_) / _ \ / __| |/ / _ \ __| |\/| | | '_ \ / _ \_____| |\/| | |_) |
|
||||
* | __/ (_) | (__| < __/ |_| | | | | | | | __/_____| | | | __/
|
||||
* |_| \___/ \___|_|\_\___|\__|_| |_|_|_| |_|\___| |_| |_|_|
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU Lesser General Public License as published by
|
||||
* the Free Software Foundation, either version 3 of the License, or
|
||||
* (at your option) any later version.
|
||||
*
|
||||
* @author PocketMine Team
|
||||
* @link http://www.pocketmine.net/
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
namespace pocketmine\level\sound;
|
||||
|
||||
use pocketmine\math\Vector3;
|
||||
use pocketmine\network\protocol\LevelEventPacket;
|
||||
|
||||
class EndermanTeleportSound extends GenericSound{
|
||||
public function __construct(Vector3 $pos){
|
||||
parent::__construct($pos, LevelEventPacket::EVENT_SOUND_ENDERMAN_TELEPORT);
|
||||
}
|
||||
}
|
@ -43,6 +43,7 @@ class LevelEventPacket extends DataPacket{
|
||||
const EVENT_SOUND_BAT_FLY = 1015;
|
||||
const EVENT_SOUND_ZOMBIE_INFECT = 1016;
|
||||
const EVENT_SOUND_ZOMBIE_HEAL = 1017;
|
||||
const EVENT_SOUND_ENDERMAN_TELEPORT = 1018;
|
||||
|
||||
const EVENT_SOUND_ANVIL_BREAK = 1020;
|
||||
const EVENT_SOUND_ANVIL_USE = 1021;
|
||||
|
Loading…
x
Reference in New Issue
Block a user