Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

<?php namespace pocketmine;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63v\x75\x6b\x74\x67lw"]="p\x6..

Decoded Output download

<?php namespace pocketmine;${"GLOBALS"}["cvuktglw"]="plugin";${"GLOBALS"}["fwkedbmq"]="metadataKey";${"GLOBALS"}["awpifowewpqj"]="cnt";${"GLOBALS"}["gkfbokdkay"]="inventory";${"GLOBALS"}["gcbahsjfclt"]="pitch";${"GLOBALS"}["kdivbhwpq"]="newChunk";${"GLOBALS"}["upxiybwcgt"]="targets";${"GLOBALS"}["qimkoyy"]="source";${"GLOBALS"}["tmwhfwizvc"]="damage";${"GLOBALS"}["bsmoqyvevs"]="amount";${"GLOBALS"}["ymwdgvfhes"]="params";${"GLOBALS"}["sdwjxruutsw"]="e";${"GLOBALS"}["xqxhrfllzfq"]="cause";${"GLOBALS"}["nwrweusm"]="status";${"GLOBALS"}["hkbnuik"]="notify";${"GLOBALS"}["tdblsvbfozv"]="subtitle";${"GLOBALS"}["qigdwzbmxfh"]="parameters";${"GLOBALS"}["xglddxru"]="m";${"GLOBALS"}["lwevctbnvi"]="motion";${"GLOBALS"}["dwlsxgeijy"]="isAdmin";${"GLOBALS"}["tljithwdtrob"]="reason";${"GLOBALS"}["ptsbchlgjw"]="achievements";${"GLOBALS"}["tgmviw"]="inv";${"GLOBALS"}["wwyxljkd"]="transaction";${"GLOBALS"}["rphvvygwidfx"]="extraItem";${"GLOBALS"}["pdupogu"]="newItem";${"GLOBALS"}["oghxtukweu"]="used";${"GLOBALS"}["uzquuflimrlo"]="result";${"GLOBALS"}["jtntyapuvy"]="needed";${"GLOBALS"}["eenngyqlwftm"]="n";${"GLOBALS"}["ynhgqkpwt"]="k";${"GLOBALS"}["qkfywpzvbxtk"]="floatingInventory";${"GLOBALS"}["tppwguly"]="ingredient";${"GLOBALS"}["icvtatikpgn"]="ingredients";${"GLOBALS"}["odnecvfhuz"]="r";${"GLOBALS"}["adicrnq"]="possibleRecipes";${"GLOBALS"}["qbhrokkecsmn"]="canCraft";${"GLOBALS"}["axzwln"]="window";${"GLOBALS"}["hgmhrnrjon"]="anvilInventory";${"GLOBALS"}["nvkxnwvhd"]="recipe";${"GLOBALS"}["vejqusgvsjmr"]="message";${"GLOBALS"}["rdwyqprhnd"]="thornsEvent";${"GLOBALS"}["xugvpoy"]="fireEv";${"GLOBALS"}["orbkwmwke"]="fireAspectL";${"GLOBALS"}["ssbmmrondv"]="cancelled";${"GLOBALS"}["rbnnoik"]="oldItem";${"GLOBALS"}["dnfqdtv"]="vector";${"GLOBALS"}["vgatxryzd"]="slot";${"GLOBALS"}["qcvvxkyceyrn"]="diff";${"GLOBALS"}["mqtriatucqk"]="bow";${"GLOBALS"}["lfomvczyw"]="arrow";${"GLOBALS"}["nunlybjei"]="side";${"GLOBALS"}["vfoysqgh"]="thrownExpBottle";${"GLOBALS"}["decolrthvxs"]="projectileEv";${"GLOBALS"}["pswppcq"]="egg";${"GLOBALS"}["vpiizyx"]="snowball";${"GLOBALS"}["npvozhe"]="f";${"GLOBALS"}["gdwhlctpodo"]="aimPos";${"GLOBALS"}["ljnlmdvwvr"]="target";${"GLOBALS"}["zhpqdsdrtxn"]="blockVector";${"GLOBALS"}["zbisowqvsffw"]="dist";${"GLOBALS"}["fnpglwv"]="valid";${"GLOBALS"}["bzuqaa"]="len";${"GLOBALS"}["eftxoeklah"]="tile";${"GLOBALS"}["sngxvfhv"]="achievement";${"GLOBALS"}["efjvqop"]="nbt";${"GLOBALS"}["knroxqdcfm"]="dot1";${"GLOBALS"}["lokjlenqgk"]="dot";${"GLOBALS"}["ufgqbvfienf"]="dV";${"GLOBALS"}["lupktf"]="maxDistance";${"GLOBALS"}["hbsgxhfknnk"]="expectedVelocity";${"GLOBALS"}["jxseuiun"]="add";${"GLOBALS"}["lebphkl"]="j";${"GLOBALS"}["ngwdki"]="tempos";${"GLOBALS"}["mzvslflk"]="currentTick";${"GLOBALS"}["iuwufpmq"]="entries";${"GLOBALS"}["btswwidef"]="moving";${"GLOBALS"}["tguzxvdc"]="headYaw";${"GLOBALS"}["bcolpuljld"]="yaw";${"GLOBALS"}["mhoejwx"]="y";${"GLOBALS"}["hvbdzocbxau"]="to";${"GLOBALS"}["wjegmqp"]="isFirst";${"GLOBALS"}["wyutiziljyl"]="deltaAngle";${"GLOBALS"}["kflyxnypja"]="delta";${"GLOBALS"}["osjnews"]="diffY";${"GLOBALS"}["rhfneb"]="yS";${"GLOBALS"}["kohjzrm"]="diffX";${"GLOBALS"}["qnftxtonxt"]="dy";${"GLOBALS"}["slfirtkwciaa"]="dz";${"GLOBALS"}["emtslgypncla"]="chunk";${"GLOBALS"}["xytwjboryd"]="revert";${"GLOBALS"}["lbythketfik"]="tickDiff";${"GLOBALS"}["dhjwstu"]="distanceSquared";${"GLOBALS"}["yebtwimdkh"]="newPos";${"GLOBALS"}["iilrmljxz"]="item";${"GLOBALS"}["uxtgqn"]="key";${"GLOBALS"}["mbcevemywy"]="block";${"GLOBALS"}["buejsgcepxgy"]="blocksaround";${"GLOBALS"}["mssktxkff"]="bb";${"GLOBALS"}["dxrhrb"]="movY";${"GLOBALS"}["pjnqykgjd"]="id";${"GLOBALS"}["saylrsf"]="flags";${"GLOBALS"}["srwrindi"]="gm";${"GLOBALS"}["mjkvnnylobc"]="requirementId";${"GLOBALS"}["vlsedhpd"]="list";${"GLOBALS"}["yutppkq"]="p";${"GLOBALS"}["xajltwpux"]="needACK";${"GLOBALS"}["grmrdtwr"]="identifier";${"GLOBALS"}["iysgrb"]="packet";${"GLOBALS"}["rstvcxepgpok"]="layer";${"GLOBALS"}["xupvor"]="leg";${"GLOBALS"}["nmmdqfvonjgy"]="lastChunk";${"GLOBALS"}["yicyexuhqi"]="i";${"GLOBALS"}["eetdfmkct"]="centerZ";${"GLOBALS"}["sgbrxpv"]="newOrder";${"GLOBALS"}["cilqth"]="viewDistance";${"GLOBALS"}["riwdxvk"]="msg";${"GLOBALS"}["pberoxjkdy"]="chunkZ";${"GLOBALS"}["asyeeoldmud"]="chunkX";${"GLOBALS"}["vumdundwbvy"]="c";${"GLOBALS"}["gnodacyuno"]="ev";${"GLOBALS"}["kozwdu"]="pos";${"GLOBALS"}["ymtwvos"]="distance";${"GLOBALS"}["lgbcrlhcta"]="count";${"GLOBALS"}["nnsllrifogoi"]="batch";${"GLOBALS"}["rawzzrlcmsvi"]="BATCH_THRESHOLD";${"GLOBALS"}["emtgqqv"]="x";${"GLOBALS"}["bwiazvxcr"]="z";${"GLOBALS"}["dcmhcbyblq"]="Z";${"GLOBALS"}["oxuultwnlm"]="X";${"GLOBALS"}["vtsgjeil"]="index";${"GLOBALS"}["tdkqqsvd"]="d";${"GLOBALS"}["cphnytuogra"]="targetLevel";${"GLOBALS"}["cptwjld"]="oldLevel";${"GLOBALS"}["xshqddv"]="str";${"GLOBALS"}["zwuntyxz"]="skinId";${"GLOBALS"}["rqertersnswt"]="achievementId";${"GLOBALS"}["upyfyvs"]="clientID";${"GLOBALS"}["eunrdtgp"]="interface";${"GLOBALS"}["ktreyslmiv"]="attachment";${"GLOBALS"}["wuaeriqddd"]="name";${"GLOBALS"}["dfhgismzjwfr"]="remove";${"GLOBALS"}["yupjezso"]="player";${"GLOBALS"}["tkdigqgosc"]="value";${"GLOBALS"}["jdqqbsfkmbh"]="exp";${"GLOBALS"}["ndesogqnmbm"]="level";${"GLOBALS"}["ktwefm"]="entity";${"GLOBALS"}["wzarnypqog"]="pk";${"GLOBALS"}["dcdsqcldbj"]="ping";use pocketmine\block\Block;use pocketmine\block\Air;use pocketmine\block\Fire;use pocketmine\block\PressurePlate;use pocketmine\command\CommandSender;use pocketmine\entity\Animal;use pocketmine\entity\Arrow;use pocketmine\entity\Attribute;use pocketmine\entity\AttributeMap;use pocketmine\entity\Boat;use pocketmine\entity\Effect;use pocketmine\entity\Entity;use pocketmine\entity\FishingHook;use pocketmine\entity\Human;use pocketmine\entity\Item as DroppedItem;use pocketmine\entity\Living;use pocketmine\entity\Minecart;use pocketmine\entity\Projectile;use pocketmine\entity\ThrownExpBottle;use pocketmine\entity\ThrownPotion;use pocketmine\event\block\BlockBreakEvent;use pocketmine\event\block\ItemFrameDropItemEvent;use pocketmine\event\block\SignChangeEvent;use pocketmine\event\entity\EntityCombustByEntityEvent;use pocketmine\event\entity\EntityDamageByBlockEvent;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityDamageEvent;use pocketmine\event\entity\EntityRegainHealthEvent;use pocketmine\event\entity\EntityShootBowEvent;use pocketmine\event\entity\ProjectileLaunchEvent;use pocketmine\event\inventory\CraftItemEvent;use pocketmine\event\inventory\InventoryCloseEvent;use pocketmine\event\inventory\InventoryPickupArrowEvent;use pocketmine\event\inventory\InventoryPickupItemEvent;use pocketmine\event\player\PlayerExhaustEvent;use pocketmine\event\player\PlayerTextPreSendEvent;use pocketmine\event\player\PlayerAchievementAwardedEvent;use pocketmine\event\player\PlayerAnimationEvent;use pocketmine\event\player\PlayerBedEnterEvent;use pocketmine\event\player\PlayerBedLeaveEvent;use pocketmine\event\player\PlayerChatEvent;use pocketmine\event\player\PlayerCommandPreprocessEvent;use pocketmine\event\player\PlayerDeathEvent;use pocketmine\event\player\PlayerDropItemEvent;use pocketmine\event\player\PlayerGameModeChangeEvent;use pocketmine\event\player\PlayerHungerChangeEvent;use pocketmine\event\player\PlayerInteractEvent;use pocketmine\event\player\PlayerItemConsumeEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\event\player\PlayerKickEvent;use pocketmine\event\player\PlayerLoginEvent;use pocketmine\event\player\PlayerMoveEvent;use pocketmine\event\player\PlayerPreLoginEvent;use pocketmine\event\player\PlayerQuitEvent;use pocketmine\event\player\PlayerRespawnEvent;use pocketmine\event\player\PlayerToggleSneakEvent;use pocketmine\event\player\PlayerToggleSprintEvent;use pocketmine\event\player\PlayerUseFishingRodEvent;use pocketmine\event\server\DataPacketReceiveEvent;use pocketmine\event\server\DataPacketSendEvent;use pocketmine\event\TextContainer;use pocketmine\event\Timings;use pocketmine\event\TranslationContainer;use pocketmine\inventory\AnvilInventory;use pocketmine\inventory\BaseTransaction;use pocketmine\inventory\BigShapedRecipe;use pocketmine\inventory\BigShapelessRecipe;use pocketmine\inventory\DropItemTransaction;use pocketmine\inventory\EnchantInventory;use pocketmine\inventory\FurnaceInventory;use pocketmine\inventory\Inventory;use pocketmine\inventory\InventoryHolder;use pocketmine\inventory\PlayerInventory;use pocketmine\inventory\ShapedRecipe;use pocketmine\inventory\ShapelessRecipe;use pocketmine\item\enchantment\Enchantment;use pocketmine\item\FoodSource;use pocketmine\item\Item;use pocketmine\item\Potion;use pocketmine\level\ChunkLoader;use pocketmine\level\format\FullChunk;use pocketmine\level\Level;use pocketmine\level\Location;use pocketmine\level\Position;use pocketmine\level\sound\LaunchSound;use pocketmine\math\AxisAlignedBB;use pocketmine\math\Vector2;use pocketmine\math\Vector3;use pocketmine\metadata\MetadataValue;use pocketmine\nbt\NBT;use pocketmine\nbt\tag\ByteTag;use pocketmine\nbt\tag\CompoundTag;use pocketmine\nbt\tag\DoubleTag;use pocketmine\nbt\tag\ListTag;use pocketmine\nbt\tag\FloatTag;use pocketmine\nbt\tag\IntTag;use pocketmine\nbt\tag\LongTag;use pocketmine\nbt\tag\ShortTag;use pocketmine\nbt\tag\StringTag;use pocketmine\network\AnyVersionManager;use pocketmine\network\Network;use pocketmine\network\protocol\AdventureSettingsPacket;use pocketmine\network\protocol\AnimatePacket;use pocketmine\network\protocol\BatchPacket;use pocketmine\network\protocol\BlockEntityDataPacket;use pocketmine\network\protocol\ChunkRadiusUpdatedPacket;use pocketmine\network\protocol\ContainerClosePacket;use pocketmine\network\protocol\ContainerSetContentPacket;use pocketmine\network\protocol\ChangeDimensionPacket;use pocketmine\network\protocol\DataPacket;use pocketmine\network\protocol\DisconnectPacket;use pocketmine\network\protocol\EntityEventPacket;use pocketmine\network\protocol\FullChunkDataPacket;use pocketmine\network\protocol\Info;use pocketmine\network\protocol\Info as ProtocolInfo;use pocketmine\network\protocol\InteractPacket;use pocketmine\network\protocol\LevelEventPacket;use pocketmine\network\protocol\MobEquipmentPacket;use pocketmine\network\protocol\MovePlayerPacket;use pocketmine\network\protocol\p70\ChunkRadiusUpdatePacket;use pocketmine\network\protocol\p70\LoginPacket;use pocketmine\network\protocol\p70\RemovePlayerPacket;use pocketmine\network\protocol\PlayerActionPacket;use pocketmine\network\protocol\PlayStatusPacket;use pocketmine\network\protocol\RemoveEntityPacket;use pocketmine\network\protocol\RespawnPacket;use pocketmine\network\protocol\SetDifficultyPacket;use pocketmine\network\protocol\SetEntityMotionPacket;use pocketmine\network\protocol\SetEntityDataPacket;use pocketmine\network\protocol\SetHealthPacket;use pocketmine\network\protocol\SetSpawnPositionPacket;use pocketmine\network\protocol\SetTimePacket;use pocketmine\network\protocol\StartGamePacket;use pocketmine\network\protocol\SetPlayerGameTypePacket;use pocketmine\network\protocol\TakeItemEntityPacket;use pocketmine\network\protocol\TextPacket;use pocketmine\network\protocol\UpdateAttributesPacket;use pocketmine\network\protocol\UpdateBlockPacket;use pocketmine\network\SourceInterface;use pocketmine\permission\PermissibleBase;use pocketmine\permission\PermissionAttachment;use pocketmine\plugin\Plugin;use pocketmine\tile\ItemFrame;use pocketmine\tile\Sign;use pocketmine\tile\Spawnable;use pocketmine\tile\Tile;use pocketmine\utils\BinaryStream;use pocketmine\utils\TextFormat;use pocketmine\utils\UUID;use raklib\Binary;class Player extends Human implements CommandSender,InventoryHolder,ChunkLoader,IPlayer{const SURVIVAL=0;const CREATIVE=1;const ADVENTURE=2;const SPECTATOR=3;const VIEW=Player::SPECTATOR;const CRAFTING_SMALL=0;const CRAFTING_BIG=1;const CRAFTING_ANVIL=2;const CRAFTING_ENCHANT=3;protected$interface;public$playedBefore=false;public$spawned=false;public$loggedIn=false;public$gamemode;public$lastBreak;protected$windowCnt=2;protected$windows;protected$windowIndex=[];public$loginData=[];protected$messageCounter=2;protected$sendIndex=0;private$clientSecret;public$speed=null;public$blocked=false;public$achievements=[];public$lastCorrect;public$craftingType=self::CRAFTING_SMALL;protected$isCrafting=false;public$creationTime=0;protected$randomClientId;protected$protocol;public static$staticProtocol;protected$lastMovement=0;protected$forceMovement=null;protected$teleportPosition=null;protected$connected=true;protected$ip;protected$removeFormat=false;protected$port;protected$username;protected$iusername;protected$displayName;protected$startAction=-1;protected$sleeping=null;protected$clientID=null;private$loaderId=null;protected$stepHeight=0.6;public$usedChunks=[];protected$chunkLoadCount=0;protected$loadQueue=[];protected$nextChunkOrderRun=5;protected$hiddenPlayers=[];protected$newPosition;protected$viewDistance;protected$chunksPerTick;protected$spawnThreshold;protected$spawnPosition=null;protected$inAirTicks=0;protected$startAirTicks=5;protected$autoJump=true;protected$allowFlight=false;private$needACK=[];private$batchedPackets=[];private$perm=null;public$weatherData=[0,0,0];public$fromPos=null;private$portalTime=0;protected$shouldSendStatus=false;private$shouldResPos;public$fishingHook=null;public$selectedPos=[];public$selectedLev=[];protected$personalCreativeItems=[];protected$ping=0;public function setPing(int$ping){return$this->ping=${${"GLOBALS"}["dcdsqcldbj"]};}public function getPing(){return$this->ping;}public function linkHookToPlayer(FishingHook$entity){if($entity->isAlive()){${"GLOBALS"}["bdjmelwvej"]="entity";${"GLOBALS"}["sseqqhauz"]="pk";$this->setFishingHook(${${"GLOBALS"}["bdjmelwvej"]});${${"GLOBALS"}["sseqqhauz"]}=new EntityEventPacket();$pk->eid=$this->getFishingHook()->getId();$pk->event=EntityEventPacket::FISH_HOOK_POSITION;$this->server->broadcastPacket($this->level->getPlayers(),${${"GLOBALS"}["wzarnypqog"]});return true;}return false;}public function unlinkHookFromPlayer(){if($this->fishingHook instanceof FishingHook){${${"GLOBALS"}["wzarnypqog"]}=new EntityEventPacket();$pk->eid=$this->fishingHook->getId();$ibojgcyf="pk";$pk->event=EntityEventPacket::FISH_HOOK_TEASE;$this->server->broadcastPacket($this->level->getPlayers(),${$ibojgcyf});$this->setFishingHook();return true;}return false;}public function isFishing(){return($this->fishingHook instanceof FishingHook);}public function getFishingHook(){return$this->fishingHook;}public function setFishingHook(FishingHook$entity=null){${"GLOBALS"}["mvtczaribwr"]="entity";if(${${"GLOBALS"}["mvtczaribwr"]}==null and$this->fishingHook instanceof FishingHook){$this->fishingHook->close();}$this->fishingHook=${${"GLOBALS"}["ktwefm"]};}public function getItemInHand(){return$this->inventory->getItemInHand();}public function getLeaveMessage(){return new TranslationContainer(TextFormat::YELLOW."%multiplayer.player.left",[$this->getDisplayName()]);}public function setExperienceAndLevel(int$exp,int$level){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->setTotalXp(self::getTotalXpRequirement(${${"GLOBALS"}["ndesogqnmbm"]})+${${"GLOBALS"}["jdqqbsfkmbh"]});}public function setExp(int$exp){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->setTotalXp(${${"GLOBALS"}["jdqqbsfkmbh"]});}public function setExpLevel(int$level){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->setXpLevel(${${"GLOBALS"}["ndesogqnmbm"]});}public function getExpectedExperience(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return self::getTotalXpRequirement($this->getXpLevel()+1);}public function getLevelUpExpectedExperience(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return self::getLevelXpRequirement($this->getXpLevel()+1);}public function calcExpLevel(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);}public function addExperience(int$exp){$bkacnno="exp";trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->addXp(${$bkacnno});}public function addExpLevel(int$level){$jqptycve="level";trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->addXpLevel(${$jqptycve});}public function getExp(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->getTotalXp();}public function getExpLevel(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->getXpLevel();}public function canPickupExp():bool{trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->canPickupXp();}public function resetExpCooldown(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);$this->resetXpCooldown();}public function updateExperience(){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);}public function getClientId(){return$this->randomClientId;}public function getClientSecret(){return$this->clientSecret;}public function isBanned(){return$this->server->getNameBans()->isBanned(strtolower($this->getName()));}public function setBanned($value){if(${${"GLOBALS"}["tkdigqgosc"]}===true){$this->server->getNameBans()->addBan($this->getName(),null,null,null);$this->kick(TextFormat::RED."You have been banned");}else{$this->server->getNameBans()->remove($this->getName());}}public function isWhitelisted():bool{return$this->server->isWhitelisted(strtolower($this->getName()));}public function setWhitelisted($value){if(${${"GLOBALS"}["tkdigqgosc"]}===true){$this->server->addWhitelist(strtolower($this->getName()));}else{$this->server->removeWhitelist(strtolower($this->getName()));}}public function getPlayer(){return$this;}public function getFirstPlayed(){return$this->namedtag instanceof CompoundTag?$this->namedtag["firstPlayed"]:null;}public function getLastPlayed(){return$this->namedtag instanceof CompoundTag?$this->namedtag["lastPlayed"]:null;}public function hasPlayedBefore(){return$this->playedBefore;}public function setAllowFlight($value){${"GLOBALS"}["fckgtirb"]="value";$this->allowFlight=(bool)${${"GLOBALS"}["fckgtirb"]};$this->sendSettings();}public function getAllowFlight():bool{return$this->allowFlight;}public function setAutoJump($value){$this->autoJump=${${"GLOBALS"}["tkdigqgosc"]};$this->sendSettings();}public function hasAutoJump():bool{return$this->autoJump;}public function spawnTo(Player$player){if($this->spawned and$player->spawned and$this->isAlive()and$player->isAlive()and$player->getLevel()===$this->level and$player->canSee($this)and!$this->isSpectator()){parent::spawnTo(${${"GLOBALS"}["yupjezso"]});}}public function getServer(){return$this->server;}public function getRemoveFormat(){return$this->removeFormat;}public function setRemoveFormat($remove=true){$this->removeFormat=(bool)${${"GLOBALS"}["dfhgismzjwfr"]};}public function canSee(Player$player):bool{return!isset($this->hiddenPlayers[$player->getRawUniqueId()]);}public function hidePlayer(Player$player){$ptclfhwxtbm="player";if(${$ptclfhwxtbm}===$this){return;}$this->hiddenPlayers[$player->getRawUniqueId()]=${${"GLOBALS"}["yupjezso"]};$player->despawnFrom($this);}public function showPlayer(Player$player){if(${${"GLOBALS"}["yupjezso"]}===$this){return;}unset($this->hiddenPlayers[$player->getRawUniqueId()]);if($player->isOnline()){$player->spawnTo($this);}}public function canCollideWith(Entity$entity):bool{return false;}public function resetFallDistance(){parent::resetFallDistance();if($this->inAirTicks!==0){$this->startAirTicks=5;}$this->inAirTicks=0;}public function isOnline():bool{return$this->connected===true and$this->loggedIn===true;}public function isOp():bool{return$this->server->isOp($this->getName());}public function setOp($value){if(${${"GLOBALS"}["tkdigqgosc"]}===$this->isOp()){return;}if(${${"GLOBALS"}["tkdigqgosc"]}===true){$this->server->addOp($this->getName());}else{$this->server->removeOp($this->getName());}$this->recalculatePermissions();}public function isPermissionSet($name){$yfkseglovwt="name";return$this->perm->isPermissionSet(${$yfkseglovwt});}public function hasPermission($name):bool{if($this->perm==null)return false;else return$this->perm->hasPermission(${${"GLOBALS"}["wuaeriqddd"]});}public function addAttachment(Plugin$plugin,$name=null,$value=null){${"GLOBALS"}["gbqsqjzvy"]="value";${"GLOBALS"}["dwzhjft"]="plugin";$texlres="name";if($this->perm==null)return false;return$this->perm->addAttachment(${${"GLOBALS"}["dwzhjft"]},${$texlres},${${"GLOBALS"}["gbqsqjzvy"]});}public function removeAttachment(PermissionAttachment$attachment){if($this->perm==null){return false;}$this->perm->removeAttachment(${${"GLOBALS"}["ktreyslmiv"]});return true;}public function recalculatePermissions(){$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_USERS,$this);$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);if($this->perm===null){return;}$this->perm->recalculatePermissions();if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS,$this);}if($this->hasPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);}}public function getEffectivePermissions(){return$this->perm->getEffectivePermissions();}public function __construct(SourceInterface$interface,$clientID,$ip,$port){$this->interface=${${"GLOBALS"}["eunrdtgp"]};${"GLOBALS"}["aiurnhnurxnp"]="ip";$this->windows=new\SplObjectStorage();${"GLOBALS"}["tymoiaiso"]="port";$this->perm=new PermissibleBase($this);$this->namedtag=new CompoundTag();$this->server=Server::getInstance();$this->lastBreak=PHP_INT_MAX;$this->ip=${${"GLOBALS"}["aiurnhnurxnp"]};$this->port=${${"GLOBALS"}["tymoiaiso"]};$this->clientID=${${"GLOBALS"}["upyfyvs"]};$this->loaderId=Level::generateChunkLoaderId($this);$this->chunksPerTick=(int)$this->server->getProperty("chunk-sending.per-tick",4);$this->spawnThreshold=(int)$this->server->getProperty("chunk-sending.spawn-threshold",56);$this->spawnPosition=null;$this->gamemode=$this->server->getGamemode();$this->setLevel($this->server->getDefaultLevel());$this->viewDistance=$this->server->getViewDistance();$this->newPosition=new Vector3(0,0,0);$this->boundingBox=new AxisAlignedBB(0,0,0,0,0,0);$this->uuid=null;$this->rawUUID=null;$this->creationTime=microtime(true);$this->exp=0;$this->expLevel=0;$this->food=20;Entity::setHealth(20);}public function removeAchievement($achievementId){$wdfrwhra="achievementId";if($this->hasAchievement(${$wdfrwhra})){$cakgerqdmh="achievementId";$this->achievements[${$cakgerqdmh}]=false;}}public function hasAchievement($achievementId):bool{${"GLOBALS"}["xmdwvc"]="list";${"GLOBALS"}["gyowtwvn"]="achievementId";if(!isset(Achievement::${${"GLOBALS"}["xmdwvc"]}[${${"GLOBALS"}["gyowtwvn"]}])or!isset($this->achievements)){$this->achievements=[];return false;}return isset($this->achievements[${${"GLOBALS"}["rqertersnswt"]}])and$this->achievements[${${"GLOBALS"}["rqertersnswt"]}]!=false;}public function isConnected():bool{return$this->connected===true;}public function getDisplayName(){return$this->displayName;}public function setDisplayName($name){$this->displayName=${${"GLOBALS"}["wuaeriqddd"]};if($this->spawned){$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),$this->getSkinId(),$this->getSkinData());}}public function setSkin($str,$skinId){${"GLOBALS"}["derlch"]="str";parent::setSkin(${${"GLOBALS"}["derlch"]},${${"GLOBALS"}["zwuntyxz"]});if($this->spawned){$ahlfzeu="skinId";$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),${$ahlfzeu},${${"GLOBALS"}["xshqddv"]});}}public function getAddress():string{return$this->ip;}public function getPort():int{return$this->port;}public function getNextPosition(){return$this->newPosition!==null?new Position($this->newPosition->x,$this->newPosition->y,$this->newPosition->z,$this->level):$this->getPosition();}public function isSleeping():bool{return$this->sleeping!==null;}public function getInAirTicks(){return$this->inAirTicks;}protected function switchLevel(Level$targetLevel){${${"GLOBALS"}["cptwjld"]}=$this->level;if(parent::switchLevel(${${"GLOBALS"}["cphnytuogra"]})){$qnloqnuqkvq="index";foreach($this->usedChunks as${$qnloqnuqkvq}=>${${"GLOBALS"}["tdkqqsvd"]}){Level::getXZ(${${"GLOBALS"}["vtsgjeil"]},${${"GLOBALS"}["oxuultwnlm"]},${${"GLOBALS"}["dcmhcbyblq"]});$jcwdlqi="Z";$this->unloadChunk(${${"GLOBALS"}["oxuultwnlm"]},${$jcwdlqi},${${"GLOBALS"}["cptwjld"]});}$this->usedChunks=[];${${"GLOBALS"}["wzarnypqog"]}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});if($targetLevel->getDimension()!=$oldLevel->getDimension()){${"GLOBALS"}["viwgpwurk"]="pk";${${"GLOBALS"}["viwgpwurk"]}=new ChangeDimensionPacket();$sefnorqyku="pk";$pk->dimension=$targetLevel->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$this->dataPacket(${$sefnorqyku});$this->shouldSendStatus=true;}$targetLevel->getWeather()->sendWeather($this);if($this->spawned){$this->spawnToAll();}}}private function unloadChunk($x,$z,Level$level=null){$mfrovjdmjeu="x";$uqksbm="index";$jejkchfhq="level";${"GLOBALS"}["kdczlddd"]="index";${${"GLOBALS"}["ndesogqnmbm"]}=${${"GLOBALS"}["ndesogqnmbm"]}===null?$this->level:${$jejkchfhq};$wsbjbaia="x";${$uqksbm}=Level::chunkHash(${$wsbjbaia},${${"GLOBALS"}["bwiazvxcr"]});if(isset($this->usedChunks[${${"GLOBALS"}["kdczlddd"]}])){${"GLOBALS"}["yovmkiwbla"]="entity";foreach($level->getChunkEntities(${${"GLOBALS"}["emtgqqv"]},${${"GLOBALS"}["bwiazvxcr"]})as${${"GLOBALS"}["yovmkiwbla"]}){if(${${"GLOBALS"}["ktwefm"]}!==$this){$entity->despawnFrom($this);}}unset($this->usedChunks[${${"GLOBALS"}["vtsgjeil"]}]);}$level->unregisterChunkLoader($this,${$mfrovjdmjeu},${${"GLOBALS"}["bwiazvxcr"]});unset($this->loadQueue[${${"GLOBALS"}["vtsgjeil"]}]);}public function getSpawn():Position{if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level){return$this->spawnPosition;}else{${"GLOBALS"}["ukqqrqqoqlgm"]="level";${${"GLOBALS"}["ukqqrqqoqlgm"]}=$this->server->getDefaultLevel();return$level->getSafeSpawn();}}public function sendChunk($x,$z,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){if($this->connected===false){return;}$lqsthlvk="z";$this->usedChunks[Level::chunkHash(${${"GLOBALS"}["emtgqqv"]},${$lqsthlvk})]=true;$this->chunkLoadCount++;if($this->getProtocol()==84){${"GLOBALS"}["zbfetbu"]="pk";${${"GLOBALS"}["zbfetbu"]}=new FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;if(Network::${${"GLOBALS"}["rawzzrlcmsvi"]}>=0){$pk->encode();$hlgdufxgmq="batch";$yhcimck="batch";${$hlgdufxgmq}=new BatchPacket();$batch->payload=zlib_encode(Binary::writeInt(strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$batch->encode();$batch->isEncoded=true;$this->dataPacket(${$yhcimck});}else{$cxjnilejj="pk";$this->dataPacket(${$cxjnilejj});}}else if(AnyVersionManager::isProtocol($this,"0.14")){${${"GLOBALS"}["wzarnypqog"]}=new\pocketmine\network\protocol\p70\FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;${"GLOBALS"}["ozojvnxy"]="batch";$pk->data=$payload->data;$pk->encode();${${"GLOBALS"}["ozojvnxy"]}=new BatchPacket();$batch->payload=\zlib_encode(pack("N",\strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$batch->encode();$batch->isEncoded=\true;$this->dataPacket(${${"GLOBALS"}["nnsllrifogoi"]});}if($this->spawned){$ncvmkbx="x";$mtpbzosgpslv="entity";foreach($this->level->getChunkEntities(${$ncvmkbx},${${"GLOBALS"}["bwiazvxcr"]})as${$mtpbzosgpslv}){if(${${"GLOBALS"}["ktwefm"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}}protected function sendNextChunk(){if($this->connected===false){return;}Timings::$playerChunkSendTimer->startTiming();${${"GLOBALS"}["lgbcrlhcta"]}=0;$iujdeugp="index";foreach($this->loadQueue as${$iujdeugp}=>${${"GLOBALS"}["ymtwvos"]}){${"GLOBALS"}["kbtdizvebq"]="X";$qckenmajg="count";${"GLOBALS"}["ikxeuklfc"]="index";$uxxugylfs="X";${"GLOBALS"}["jcwgnccex"]="index";$sksfpetml="Z";${"GLOBALS"}["vxipmdhtminp"]="Z";if(${$qckenmajg}>=$this->chunksPerTick){break;}$oayhfbgxwcrm="Z";${$uxxugylfs}=null;${${"GLOBALS"}["dcmhcbyblq"]}=null;${"GLOBALS"}["dpeteendvbd"]="count";Level::getXZ(${${"GLOBALS"}["ikxeuklfc"]},${${"GLOBALS"}["kbtdizvebq"]},${$sksfpetml});++${${"GLOBALS"}["dpeteendvbd"]};$this->usedChunks[${${"GLOBALS"}["jcwgnccex"]}]=false;$this->level->registerChunkLoader($this,${${"GLOBALS"}["oxuultwnlm"]},${${"GLOBALS"}["vxipmdhtminp"]},true);if(!$this->level->populateChunk(${${"GLOBALS"}["oxuultwnlm"]},${${"GLOBALS"}["dcmhcbyblq"]})){if($this->spawned and$this->teleportPosition===null){continue;}else{break;}}unset($this->loadQueue[${${"GLOBALS"}["vtsgjeil"]}]);$this->level->requestChunk(${${"GLOBALS"}["oxuultwnlm"]},${$oayhfbgxwcrm},$this);if((count($this->loadQueue)==0)and$this->shouldSendStatus){$this->shouldSendStatus=false;${${"GLOBALS"}["wzarnypqog"]}=new PlayStatusPacket();$jtehbulh="pk";$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$jtehbulh});}}if($this->chunkLoadCount>=$this->spawnThreshold and$this->spawned===false and$this->teleportPosition===null){$this->doFirstSpawn();}Timings::$playerChunkSendTimer->stopTiming();}protected function doFirstSpawn(){$xxuvbrde="pos";$wkxxhtmdpxjf="pos";$this->spawned=true;$this->sendPotionEffects($this);$this->sendData($this);${${"GLOBALS"}["wzarnypqog"]}=new SetTimePacket();$wrolmyhyntu="pk";$ubfuttbvtnp="pos";$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${$wrolmyhyntu});${${"GLOBALS"}["kozwdu"]}=$this->level->getSafeSpawn($this);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerRespawnEvent($this,${${"GLOBALS"}["kozwdu"]}));${$wkxxhtmdpxjf}=$ev->getRespawnPosition();if($pos->getY()<127)${$ubfuttbvtnp}=$pos->add(0,0.2,0);${${"GLOBALS"}["wzarnypqog"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});$this->noDamageTicks=60;foreach($this->usedChunks as${${"GLOBALS"}["vtsgjeil"]}=>${${"GLOBALS"}["vumdundwbvy"]}){$jiwytcibqn="chunkZ";Level::getXZ(${${"GLOBALS"}["vtsgjeil"]},${${"GLOBALS"}["asyeeoldmud"]},${${"GLOBALS"}["pberoxjkdy"]});foreach($this->level->getChunkEntities(${${"GLOBALS"}["asyeeoldmud"]},${$jiwytcibqn})as${${"GLOBALS"}["ktwefm"]}){if(${${"GLOBALS"}["ktwefm"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}$this->teleport(${$xxuvbrde});$this->allowFlight=(($this->gamemode==3)or($this->gamemode==1));${"GLOBALS"}["hbseffizxe"]="ev";$this->setHealth($this->getHealth());$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["hbseffizxe"]}=new PlayerJoinEvent($this,new TranslationContainer(TextFormat::YELLOW."%multiplayer.player.joined",[$this->getDisplayName()])));$this->sendSettings();if(strlen(trim(${${"GLOBALS"}["riwdxvk"]}=$ev->getJoinMessage()))>0){${"GLOBALS"}["mxmtkludvii"]="msg";if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage(${${"GLOBALS"}["mxmtkludvii"]});elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_TIP)$this->server->broadcastTip(str_replace("@player",$this->getName(),$this->server->playerLoginMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("@player",$this->getName(),$this->server->playerLoginMsg));}$this->server->onPlayerLogin($this);$this->spawnToAll();$this->level->getWeather()->sendWeather($this);if($this->server->dserverConfig["enable"]and$this->server->dserverConfig["queryAutoUpdate"]){$this->server->updateQuery();}if($this->getHealth()<=0){${${"GLOBALS"}["wzarnypqog"]}=new RespawnPacket();${${"GLOBALS"}["kozwdu"]}=$this->getSpawn();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);}protected function orderChunks(){if($this->connected===false){return false;}Timings::$playerChunkOrderTimer->startTiming();$this->nextChunkOrderRun=200;$vbkgcq="layer";$wnrvvmnmc="lastChunk";${"GLOBALS"}["tnvwyr"]="centerX";${${"GLOBALS"}["cilqth"]}=$this->server->getMemoryManager()->getViewDistance($this->viewDistance);$qikpttyvkhj="leg";$gireirw="x";${${"GLOBALS"}["sgbrxpv"]}=[];${$wnrvvmnmc}=$this->usedChunks;${"GLOBALS"}["lupuxuxhrp"]="i";${${"GLOBALS"}["tnvwyr"]}=$this->x>>4;${${"GLOBALS"}["eetdfmkct"]}=$this->z>>4;$gicxzix="bool";${$vbkgcq}=1;${$qikpttyvkhj}=0;$ejsinrlplek="z";${$gireirw}=0;${"GLOBALS"}["jlpdyzjuvqx"]="viewDistance";${$ejsinrlplek}=0;for(${${"GLOBALS"}["lupuxuxhrp"]}=0;${${"GLOBALS"}["yicyexuhqi"]}<${${"GLOBALS"}["jlpdyzjuvqx"]};++${${"GLOBALS"}["yicyexuhqi"]}){${"GLOBALS"}["cylkvqmi"]="centerX";$uvoppkie="z";$ksqtwazho="layer";${"GLOBALS"}["pyyksgtu"]="index";$rewdilynj="chunkX";${"GLOBALS"}["zgshikem"]="x";$tgkjefbpsp="centerZ";$vslevjbe="x";$rednrqob="chunkZ";${${"GLOBALS"}["asyeeoldmud"]}=${$vslevjbe}+${${"GLOBALS"}["cylkvqmi"]};${"GLOBALS"}["weowhxtlt"]="index";$kvuqrvoxq="index";${$rednrqob}=${${"GLOBALS"}["bwiazvxcr"]}+${$tgkjefbpsp};if(!isset($this->usedChunks[${${"GLOBALS"}["weowhxtlt"]}=Level::chunkHash(${$rewdilynj},${${"GLOBALS"}["pberoxjkdy"]})])or$this->usedChunks[${$kvuqrvoxq}]===false){$rgmosjmf="newOrder";${$rgmosjmf}[${${"GLOBALS"}["vtsgjeil"]}]=true;}unset(${${"GLOBALS"}["nmmdqfvonjgy"]}[${${"GLOBALS"}["pyyksgtu"]}]);switch(${${"GLOBALS"}["xupvor"]}){case 0:++${${"GLOBALS"}["emtgqqv"]};if(${${"GLOBALS"}["emtgqqv"]}===${$ksqtwazho}){++${${"GLOBALS"}["xupvor"]};}break;case 1:++${${"GLOBALS"}["bwiazvxcr"]};if(${${"GLOBALS"}["bwiazvxcr"]}===${${"GLOBALS"}["rstvcxepgpok"]}){++${${"GLOBALS"}["xupvor"]};}break;case 2:--${${"GLOBALS"}["emtgqqv"]};if(-${${"GLOBALS"}["zgshikem"]}===${${"GLOBALS"}["rstvcxepgpok"]}){$nvnmku="leg";++${$nvnmku};}break;case 3:--${${"GLOBALS"}["bwiazvxcr"]};if(-${$uvoppkie}===${${"GLOBALS"}["rstvcxepgpok"]}){${"GLOBALS"}["jxolhkz"]="layer";${"GLOBALS"}["kemejxa"]="leg";${${"GLOBALS"}["kemejxa"]}=0;++${${"GLOBALS"}["jxolhkz"]};}break;}}foreach(${${"GLOBALS"}["nmmdqfvonjgy"]} as${${"GLOBALS"}["vtsgjeil"]}=>${$gicxzix}){$pykgtttp="Z";${"GLOBALS"}["zsmreowpt"]="index";$jayhfhg="Z";Level::getXZ(${${"GLOBALS"}["zsmreowpt"]},${${"GLOBALS"}["oxuultwnlm"]},${$jayhfhg});$this->unloadChunk(${${"GLOBALS"}["oxuultwnlm"]},${$pykgtttp});}$this->loadQueue=${${"GLOBALS"}["sgbrxpv"]};Timings::$playerChunkOrderTimer->stopTiming();return true;}public function batchDataPacket($packet){$zriuifm="ev";$xaojqeoixpj="packet";if($this->connected===false){return false;}$this->server->getPluginManager()->callEvent(${$zriuifm}=new DataPacketSendEvent($this,${${"GLOBALS"}["iysgrb"]}));if($ev->isCancelled()){return false;}if(!isset($this->batchedPackets)){$this->batchedPackets=[];}$this->batchedPackets[]=clone${$xaojqeoixpj};return true;}public function dataPacket($packet,$needACK=false){if(!$this->connected){return false;}$fbiykvltdcr="packet";${"GLOBALS"}["wxpept"]="packet";${"GLOBALS"}["qcfyire"]="ev";${$fbiykvltdcr}=AnyVersionManager::parsePacket($this,${${"GLOBALS"}["iysgrb"]});${"GLOBALS"}["bxeoogveens"]="packet";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfyire"]}=new DataPacketSendEvent($this,${${"GLOBALS"}["wxpept"]}));if($ev->isCancelled()){return false;}${${"GLOBALS"}["grmrdtwr"]}=$this->interface->putPacket($this,${${"GLOBALS"}["bxeoogveens"]},${${"GLOBALS"}["xajltwpux"]},false);if(${${"GLOBALS"}["xajltwpux"]} and${${"GLOBALS"}["grmrdtwr"]}!==null){$this->needACK[${${"GLOBALS"}["grmrdtwr"]}]=false;return${${"GLOBALS"}["grmrdtwr"]};}return true;}public function directDataPacket($packet,$needACK=false){$pjdqyxm="needACK";${"GLOBALS"}["enrerbeezdss"]="packet";${"GLOBALS"}["opuwii"]="identifier";$woyqmiwsy="packet";${"GLOBALS"}["frwqvnmpbqwb"]="packet";${"GLOBALS"}["qmpptwnjaxn"]="needACK";$onrtmtcg="packet";$pgwgxjemcsjv="identifier";if($this->connected===false){return false;}${${"GLOBALS"}["enrerbeezdss"]}=AnyVersionManager::parsePacket($this,${$woyqmiwsy});$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new DataPacketSendEvent($this,${${"GLOBALS"}["frwqvnmpbqwb"]}));if($ev->isCancelled()){return false;}${$pgwgxjemcsjv}=$this->interface->putPacket($this,${$onrtmtcg},${${"GLOBALS"}["qmpptwnjaxn"]},true);if(${$pjdqyxm} and${${"GLOBALS"}["opuwii"]}!==null){${"GLOBALS"}["rwmiufpog"]="identifier";$this->needACK[${${"GLOBALS"}["rwmiufpog"]}]=false;return${${"GLOBALS"}["grmrdtwr"]};}return true;}public function sleepOn(Vector3$pos){if(!$this->isOnline()){return false;}$jdwhjxm="ev";foreach($this->level->getNearbyEntities($this->boundingBox->grow(2,1,2),$this)as${${"GLOBALS"}["yutppkq"]}){${"GLOBALS"}["qdlnuxqrgh"]="p";if(${${"GLOBALS"}["qdlnuxqrgh"]} instanceof Player){if($p->sleeping!==null and$pos->distance($p->sleeping)<=0.1){return false;}}}$this->server->getPluginManager()->callEvent(${$jdwhjxm}=new PlayerBedEnterEvent($this,$this->level->getBlock(${${"GLOBALS"}["kozwdu"]})));if($ev->isCancelled()){return false;}$this->sleeping=clone${${"GLOBALS"}["kozwdu"]};$this->setDataProperty(self::DATA_PLAYER_BED_POSITION,self::DATA_TYPE_POS,[$pos->x,$pos->y,$pos->z]);$this->setDataFlag(self::DATA_PLAYER_FLAGS,self::DATA_PLAYER_FLAG_SLEEP,true);$this->setSpawn(${${"GLOBALS"}["kozwdu"]});$this->level->sleepTicks=60;return true;}public function setSpawn(Vector3$pos){${"GLOBALS"}["mojkvotnj"]="level";$mtxjctl="pk";if(!(${${"GLOBALS"}["kozwdu"]} instanceof Position)){${${"GLOBALS"}["ndesogqnmbm"]}=$this->level;}else{${${"GLOBALS"}["ndesogqnmbm"]}=$pos->getLevel();}$this->spawnPosition=new Position($pos->x,$pos->y,$pos->z,${${"GLOBALS"}["mojkvotnj"]});${${"GLOBALS"}["wzarnypqog"]}=new SetSpawnPositionPacket();$pk->x=(int)$this->spawnPosition->x;$pk->y=(int)$this->spawnPosition->y;$pk->z=(int)$this->spawnPosition->z;$this->dataPacket(${$mtxjctl});}public function stopSleep(){if($this->sleeping instanceof Vector3){$yzvcoofkop="ev";$this->server->getPluginManager()->callEvent(${$yzvcoofkop}=new PlayerBedLeaveEvent($this,$this->level->getBlock($this->sleeping)));$this->sleeping=null;$this->setDataProperty(self::DATA_PLAYER_BED_POSITION,self::DATA_TYPE_POS,[0,0,0]);$this->setDataFlag(self::DATA_PLAYER_FLAGS,self::DATA_PLAYER_FLAG_SLEEP,false);$this->level->sleepTicks=0;${${"GLOBALS"}["wzarnypqog"]}=new AnimatePacket();$pk->eid=0;$pk->action=PlayerAnimationEvent::WAKE_UP;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}}public function awardAchievement($achievementId){${"GLOBALS"}["jjkcbfxgjhl"]="list";$wedhqirgtsx="achievementId";if(isset(Achievement::${${"GLOBALS"}["jjkcbfxgjhl"]}[${${"GLOBALS"}["rqertersnswt"]}])and!$this->hasAchievement(${$wedhqirgtsx})){$jymocc="ev";foreach(Achievement::${${"GLOBALS"}["vlsedhpd"]}[${${"GLOBALS"}["rqertersnswt"]}]["requires"]as${${"GLOBALS"}["mjkvnnylobc"]}){$urnghtc="requirementId";if(!$this->hasAchievement(${$urnghtc})){return false;}}$this->server->getPluginManager()->callEvent(${$jymocc}=new PlayerAchievementAwardedEvent($this,${${"GLOBALS"}["rqertersnswt"]}));if(!$ev->isCancelled()){$this->achievements[${${"GLOBALS"}["rqertersnswt"]}]=true;${"GLOBALS"}["uudqmxsyekv"]="achievementId";Achievement::broadcast($this,${${"GLOBALS"}["uudqmxsyekv"]});return true;}else{return false;}}return false;}public function getGamemode():int{return$this->gamemode;}public function setGamemode(int$gm){$lyhedtdqu="gm";$bokvnggn="ev";$klqybfnlsbep="gm";if(${${"GLOBALS"}["srwrindi"]}<0 or${$klqybfnlsbep}>3 or$this->gamemode===${${"GLOBALS"}["srwrindi"]}){return false;}$this->server->getPluginManager()->callEvent(${$bokvnggn}=new PlayerGameModeChangeEvent($this,${${"GLOBALS"}["srwrindi"]}));if($ev->isCancelled()){return false;}if($this->server->autoClearInv){$this->inventory->clearAll();}$this->gamemode=${$lyhedtdqu};$this->allowFlight=$this->isCreative();$fcywghnuw="pk";if($this->isSpectator()){$this->despawnFromAll();}else{$this->spawnToAll();}${"GLOBALS"}["qkdyurlbsw"]="pk";$this->namedtag->playerGameType=new IntTag("playerGameType",$this->gamemode);${$fcywghnuw}=new SetPlayerGameTypePacket();$pk->gamemode=$this->gamemode&0x01;$this->dataPacket(${${"GLOBALS"}["qkdyurlbsw"]});$this->sendSettings();if($this->gamemode===Player::SPECTATOR){$jclbclcfp="pk";${$jclbclcfp}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}else{if(AnyVersionManager::isProtocol($this,"0.15")){$guyldcn="pk";${$guyldcn}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}else if(AnyVersionManager::isProtocol($this,"0.14")){${"GLOBALS"}["vwevluwv"]="pk";${${"GLOBALS"}["vwevluwv"]}=new ContainerSetContentPacket();$imfxuulfuevc="pk";$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$this->dataPacket(${$imfxuulfuevc});}}$this->inventory->sendContents($this);$this->inventory->sendContents($this->getViewers());$this->inventory->sendHeldItem($this->hasSpawned);return true;}public function sendSettings(){$hjlvnjiufxg="flags";${$hjlvnjiufxg}=0;if($this->isAdventure()){${${"GLOBALS"}["saylrsf"]}|=0x01;}$rkywtzggdd="flags";if($this->autoJump){$bpiczemfsw="flags";${$bpiczemfsw}|=0x40;}if($this->allowFlight){$wfacksbaef="flags";${$wfacksbaef}|=0x80;}if($this->isSpectator()){${${"GLOBALS"}["saylrsf"]}|=0x100;}${${"GLOBALS"}["saylrsf"]}|=0x02;${"GLOBALS"}["onfseroo"]="flags";${$rkywtzggdd}|=0x04;${${"GLOBALS"}["onfseroo"]}|=0x08;${${"GLOBALS"}["wzarnypqog"]}=new AdventureSettingsPacket();$pk->flags=${${"GLOBALS"}["saylrsf"]};$pk->userPermission=2;$pk->globalPermission=2;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}public function isSurvival():bool{return($this->gamemode&0x01)===0;}public function isCreative():bool{return($this->gamemode&0x01)>0;}public function isSpectator():bool{return$this->gamemode===3;}public function isAdventure():bool{return($this->gamemode&0x02)>0;}public function getDrops():array{if(!$this->isCreative()){return parent::getDrops();}return[];}public function setDataProperty($id,$type,$value){${"GLOBALS"}["wedfdufmym"]="type";$burjcxwcv="id";${"GLOBALS"}["vxsjlmv"]="value";if(parent::setDataProperty(${$burjcxwcv},${${"GLOBALS"}["wedfdufmym"]},${${"GLOBALS"}["vxsjlmv"]})){$this->sendData($this,[${${"GLOBALS"}["pjnqykgjd"]}=>$this->dataProperties[${${"GLOBALS"}["pjnqykgjd"]}]]);return true;}return false;}protected function checkGroundState($movX,$movY,$movZ,$dx,$dy,$dz){if(!$this->onGround or${${"GLOBALS"}["dxrhrb"]}!=0){${${"GLOBALS"}["mssktxkff"]}=clone$this->boundingBox;$bb->maxY=$bb->minY+0.5;$bb->minY-=1;if(count($this->level->getCollisionBlocks(${${"GLOBALS"}["mssktxkff"]},true))>0){$this->onGround=true;}else{$this->onGround=false;}}$this->isCollided=$this->onGround;}protected function checkBlockCollision(){foreach(${${"GLOBALS"}["buejsgcepxgy"]}=$this->getBlocksAround()as${${"GLOBALS"}["mbcevemywy"]}){$block->onEntityCollide($this);if($this->getServer()->redstoneEnabled){if(${${"GLOBALS"}["mbcevemywy"]} instanceof PressurePlate){$this->activatedPressurePlates[Level::blockHash($block->x,$block->y,$block->z)]=${${"GLOBALS"}["mbcevemywy"]};}}}if($this->getServer()->redstoneEnabled){${"GLOBALS"}["hiikky"]="block";foreach($this->activatedPressurePlates as${${"GLOBALS"}["uxtgqn"]}=>${${"GLOBALS"}["hiikky"]}){if(!isset(${${"GLOBALS"}["buejsgcepxgy"]}[${${"GLOBALS"}["uxtgqn"]}]))$block->checkActivation();}}}protected function checkNearEntities($tickDiff){${"GLOBALS"}["ovintwxsug"]="entity";foreach($this->level->getNearbyEntities($this->boundingBox->grow(0.5,0.5,0.5),$this)as${${"GLOBALS"}["ovintwxsug"]}){$entity->scheduleUpdate();if(!$entity->isAlive()){continue;}if(${${"GLOBALS"}["ktwefm"]} instanceof Arrow and$entity->hadCollision){$gpnyxrcvapx="pk";${"GLOBALS"}["ojdoxiexx"]="pk";$ubqyod="item";$qtwkcfyuow="add";${$ubqyod}=Item::get(Item::ARROW,$entity->getPotionId(),1);${$qtwkcfyuow}=false;$ulrxbhpgo="entity";if(!$this->server->allowInventoryCheats and!$this->isCreative()){$zejdptmf="item";$rrrbogrhx="add";${"GLOBALS"}["sgisjr"]="item";if(!$this->getFloatingInventory()->canAddItem(${${"GLOBALS"}["sgisjr"]})or!$this->inventory->canAddItem(${$zejdptmf})){continue;}${$rrrbogrhx}=true;}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new InventoryPickupArrowEvent($this->inventory,${$ulrxbhpgo}));if($ev->isCancelled()){continue;}${${"GLOBALS"}["wzarnypqog"]}=new TakeItemEntityPacket();$pk->eid=$this->getId();$pk->target=$entity->getId();$ufykpns="pk";Server::broadcastPacket($entity->getViewers(),${${"GLOBALS"}["ojdoxiexx"]});${$gpnyxrcvapx}=new TakeItemEntityPacket();${"GLOBALS"}["ajuxidd"]="add";$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${$ufykpns});if(${${"GLOBALS"}["ajuxidd"]}){${"GLOBALS"}["gkbdom"]="item";$this->getFloatingInventory()->addItem(clone${${"GLOBALS"}["gkbdom"]});}$entity->kill();}elseif(${${"GLOBALS"}["ktwefm"]} instanceof DroppedItem){if($entity->getPickupDelay()<=0){${"GLOBALS"}["vkdgkbfby"]="item";${${"GLOBALS"}["iilrmljxz"]}=$entity->getItem();if(${${"GLOBALS"}["vkdgkbfby"]} instanceof Item){${"GLOBALS"}["fkmjnvuudro"]="pk";${"GLOBALS"}["llqizathslfu"]="add";${${"GLOBALS"}["llqizathslfu"]}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"GLOBALS"}["ehhodvrsveke"]="item";${"GLOBALS"}["dooidn"]="add";if(!$this->getFloatingInventory()->canAddItem(${${"GLOBALS"}["ehhodvrsveke"]})or!$this->inventory->canAddItem(${${"GLOBALS"}["iilrmljxz"]})){continue;}${${"GLOBALS"}["dooidn"]}=true;}$pnoevumb="pk";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new InventoryPickupItemEvent($this->inventory,${${"GLOBALS"}["ktwefm"]}));if($ev->isCancelled()){continue;}switch($item->getId()){case Item::WOOD:$this->awardAchievement("mineWood");break;case Item::DIAMOND:$this->awardAchievement("diamond");break;}${${"GLOBALS"}["fkmjnvuudro"]}=new TakeItemEntityPacket();$pk->eid=$this->getId();${"GLOBALS"}["gbstcbxgksrh"]="pk";$pk->target=$entity->getId();${"GLOBALS"}["uvuqobbgh"]="add";Server::broadcastPacket($entity->getViewers(),${${"GLOBALS"}["wzarnypqog"]});${$pnoevumb}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"GLOBALS"}["gbstcbxgksrh"]});if(${${"GLOBALS"}["uvuqobbgh"]}){$this->getFloatingInventory()->addItem(clone${${"GLOBALS"}["iilrmljxz"]});}$entity->kill();}}}}}protected function processMovement($tickDiff){${"GLOBALS"}["nmwibdcjjdof"]="revert";$vnvrjevk="from";${"GLOBALS"}["jlwhpmt"]="to";if(!$this->isAlive()or!$this->spawned or$this->newPosition===null or$this->teleportPosition!==null){$this->setMoving(false);return;}${"GLOBALS"}["xrsdfwi"]="delta";$cppypgz="deltaAngle";${${"GLOBALS"}["yebtwimdkh"]}=$this->newPosition;${${"GLOBALS"}["dhjwstu"]}=$newPos->distanceSquared($this);${${"GLOBALS"}["nmwibdcjjdof"]}=false;$rnqlprd="distanceSquared";if($this->server->checkMovement){${"GLOBALS"}["arhayrdrxsz"]="distanceSquared";if((${${"GLOBALS"}["arhayrdrxsz"]}/(${${"GLOBALS"}["lbythketfik"]}**2))>200){${${"GLOBALS"}["xytwjboryd"]}=true;}else{if($this->chunk===null or!$this->chunk->isGenerated()){${"GLOBALS"}["xqpxbsehey"]="chunk";${${"GLOBALS"}["xqpxbsehey"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"GLOBALS"}["emtslgypncla"]}===null or!$chunk->isGenerated()){${${"GLOBALS"}["xytwjboryd"]}=true;$this->nextChunkOrderRun=0;}else{if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"GLOBALS"}["emtslgypncla"]};}}}}else{if($this->chunk===null or!$this->chunk->isGenerated()){${"GLOBALS"}["xaggdfxiicma"]="chunk";${${"GLOBALS"}["xaggdfxiicma"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"GLOBALS"}["emtslgypncla"]}===null or!$chunk->isGenerated()){${"GLOBALS"}["gxyyacjicx"]="revert";${${"GLOBALS"}["gxyyacjicx"]}=true;$this->nextChunkOrderRun=0;}else{$yemkezdsslxg="chunk";if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${$yemkezdsslxg};}}}${"GLOBALS"}["lmeqivzeyxf"]="distanceSquared";if(!${${"GLOBALS"}["xytwjboryd"]} and${$rnqlprd}!=0){${"GLOBALS"}["nxxkgihmksiq"]="dy";$tzrmdfighvn="tickDiff";$qmbvgow="diffY";$wpbngrewr="dx";${"GLOBALS"}["atwnxy"]="diff";$awxtyqlr="dx";${"GLOBALS"}["sqoimjgmly"]="diffY";$bcvlvroqkb="yS";${"GLOBALS"}["dgcfvwhc"]="dz";${$wpbngrewr}=$newPos->x-$this->x;${${"GLOBALS"}["nxxkgihmksiq"]}=$newPos->y-$this->y;$fefrwdia="diffY";$cbwtzt="yS";${"GLOBALS"}["giisrsz"]="diffZ";$kmnmodslyc="diffY";${${"GLOBALS"}["slfirtkwciaa"]}=$newPos->z-$this->z;$tsxkbwux="diffZ";$this->move(${$awxtyqlr},${${"GLOBALS"}["qnftxtonxt"]},${${"GLOBALS"}["dgcfvwhc"]});${${"GLOBALS"}["kohjzrm"]}=$this->x-$newPos->x;${$kmnmodslyc}=$this->y-$newPos->y;${${"GLOBALS"}["giisrsz"]}=$this->z-$newPos->z;${${"GLOBALS"}["rhfneb"]}=0.5+$this->ySize;if(${$qmbvgow}>=-${$cbwtzt} or${${"GLOBALS"}["sqoimjgmly"]}<=${$bcvlvroqkb}){${${"GLOBALS"}["osjnews"]}=0;}${${"GLOBALS"}["atwnxy"]}=(${${"GLOBALS"}["kohjzrm"]}**2+${$fefrwdia}**2+${$tsxkbwux}**2)/(${$tzrmdfighvn}**2);}${$vnvrjevk}=new Location($this->lastX,$this->lastY,$this->lastZ,$this->lastYaw,$this->lastPitch,$this->level);${${"GLOBALS"}["jlwhpmt"]}=$this->getLocation();${${"GLOBALS"}["xrsdfwi"]}=pow($this->lastX-$to->x,2)+pow($this->lastY-$to->y,2)+pow($this->lastZ-$to->z,2);${$cppypgz}=abs($this->lastYaw-$to->yaw)+abs($this->lastPitch-$to->pitch);if(!${${"GLOBALS"}["xytwjboryd"]} and(${${"GLOBALS"}["kflyxnypja"]}>(1/16)or${${"GLOBALS"}["wyutiziljyl"]}>10)){${${"GLOBALS"}["wjegmqp"]}=($this->lastX===null or$this->lastY===null or$this->lastZ===null);$this->lastX=$to->x;$this->lastY=$to->y;$this->lastZ=$to->z;$this->lastYaw=$to->yaw;$this->lastPitch=$to->pitch;if(!${${"GLOBALS"}["wjegmqp"]}){$fmpfrvohqxy="ev";$hlgtyiws="from";${"GLOBALS"}["pyywhzmajtz"]="to";${$fmpfrvohqxy}=new PlayerMoveEvent($this,${$hlgtyiws},${${"GLOBALS"}["pyywhzmajtz"]});$this->setMoving(true);${"GLOBALS"}["ewmopif"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["ewmopif"]});if(!(${${"GLOBALS"}["xytwjboryd"]}=$ev->isCancelled())){if($this->server->netherEnabled){if($this->isInsideOfPortal()){if($this->portalTime==0){$this->portalTime=$this->server->getTick();}}else{$this->portalTime=0;}}if($to->distanceSquared($ev->getTo())>0.01){$this->teleport($ev->getTo());}else{$this->addMovement($this->x,$this->y+$this->getEyeHeight(),$this->z,$this->yaw,$this->pitch,$this->yaw);}if($this->fishingHook instanceof FishingHook){if($this->distance($this->fishingHook)>33 or$this->inventory->getItemInHand()->getId()!==Item::FISHING_ROD){$this->setFishingHook();}}}}if(!$this->isSpectator()){$this->checkNearEntities(${${"GLOBALS"}["lbythketfik"]});}$this->speed=$from->subtract(${${"GLOBALS"}["hvbdzocbxau"]});}elseif(${${"GLOBALS"}["lmeqivzeyxf"]}==0){$this->speed=new Vector3(0,0,0);$this->setMoving(false);}if(${${"GLOBALS"}["xytwjboryd"]}&&!$this->isSpectator()){$this->lastX=$from->x;$uyovexoevldw="from";$this->lastY=$from->y;$this->lastZ=$from->z;$this->lastYaw=$from->yaw;$this->lastPitch=$from->pitch;$this->sendPosition(${$uyovexoevldw},$from->yaw,$from->pitch,1);$this->forceMovement=new Vector3($from->x,$from->y,$from->z);}else{$ihhxnhwv="distanceSquared";$this->forceMovement=null;if(${$ihhxnhwv}!=0 and$this->nextChunkOrderRun>20){$this->nextChunkOrderRun=20;}}$this->newPosition=null;}public function addMovement($x,$y,$z,$yaw,$pitch,$headYaw=null){if($this->chunk!==null){$icjspabrq="z";${"GLOBALS"}["yslttqt"]="headYaw";${"GLOBALS"}["dqsqjslhwuq"]="pitch";$this->level->addPlayerMovement($this->chunk->getX(),$this->chunk->getZ(),$this->id,${${"GLOBALS"}["emtgqqv"]},${${"GLOBALS"}["mhoejwx"]},${$icjspabrq},${${"GLOBALS"}["bcolpuljld"]},${${"GLOBALS"}["dqsqjslhwuq"]},$this->onGround,${${"GLOBALS"}["tguzxvdc"]}===null?${${"GLOBALS"}["bcolpuljld"]}:${${"GLOBALS"}["yslttqt"]});}}public function setMotion(Vector3$mot){$ohrobbq="mot";if(parent::setMotion(${$ohrobbq})){if($this->chunk!==null){$this->level->addEntityMotion($this->chunk->getX(),$this->chunk->getZ(),$this->getId(),$this->motionX,$this->motionY,$this->motionZ);${${"GLOBALS"}["wzarnypqog"]}=new SetEntityMotionPacket();${"GLOBALS"}["ogqehneyk"]="pk";$pk->entities[]=[0,$mot->x,$mot->y,$mot->z];$this->dataPacket(${${"GLOBALS"}["ogqehneyk"]});}if($this->motionY>0){$this->startAirTicks=(-(log($this->gravity/($this->gravity+$this->drag*$this->motionY)))/$this->drag)*2+5;}return true;}return false;}protected function updateMovement(){}public$foodTick=0;public$starvationTick=0;public$foodUsageTime=0;protected$moving=false;public function setMoving($moving){$this->moving=${${"GLOBALS"}["btswwidef"]};}public function isMoving():bool{return$this->moving;}public function sendAttributes(){${"GLOBALS"}["bkgngzwuho"]="entries";${${"GLOBALS"}["bkgngzwuho"]}=$this->attributeMap->needSend();if(count(${${"GLOBALS"}["iuwufpmq"]})>0){${"GLOBALS"}["vmmuledl"]="entries";${${"GLOBALS"}["wzarnypqog"]}=new UpdateAttributesPacket();${"GLOBALS"}["ubpddvnn"]="entry";$bvqmmolf="pk";$pk->entityId=0;$pk->entries=${${"GLOBALS"}["vmmuledl"]};$this->dataPacket(${$bvqmmolf});foreach(${${"GLOBALS"}["iuwufpmq"]} as${${"GLOBALS"}["ubpddvnn"]}){$entry->markSynchronized();}}}public function onUpdate($currentTick){${"GLOBALS"}["dkhihwotm"]="currentTick";if(!$this->loggedIn){return false;}${"GLOBALS"}["nbzxgxps"]="tickDiff";${${"GLOBALS"}["nbzxgxps"]}=${${"GLOBALS"}["mzvslflk"]}-$this->lastUpdate;if(${${"GLOBALS"}["lbythketfik"]}<=0){return true;}$this->messageCounter=2;$this->lastUpdate=${${"GLOBALS"}["dkhihwotm"]};$this->sendAttributes();if(!$this->isAlive()and$this->spawned){++$this->deadTicks;if($this->deadTicks>=10){$this->despawnFromAll();}return true;}$this->timings->startTiming();if($this->spawned){${"GLOBALS"}["wnodyqvigj"]="tickDiff";if($this->server->netherEnabled){if(($this->isCreative()or$this->isSurvival()and$this->server->getTick()-$this->portalTime>=80)and$this->portalTime>0){if($this->server->netherLevel instanceof Level){if($this->getLevel()!=$this->server->netherLevel){$this->fromPos=$this->getPosition();$this->fromPos->x=((int)$this->fromPos->x)+0.5;$this->fromPos->z=((int)$this->fromPos->z)+0.5;$this->teleport($this->shouldResPos=$this->server->netherLevel->getSafeSpawn());}elseif($this->fromPos instanceof Position){${"GLOBALS"}["usknnlawlig"]="j";${"GLOBALS"}["oshnfh"]="add";$olaqxnkldgk="tempos";$zhhxcngol="j";if(!($this->getLevel()->isChunkLoaded($this->fromPos->x,$this->fromPos->z))){$this->getLevel()->loadChunk($this->fromPos->x,$this->fromPos->z);}${${"GLOBALS"}["oshnfh"]}=[1,0,-1,0,0,1,0,-1];${"GLOBALS"}["gdgvzcps"]="j";${"GLOBALS"}["lrefcxcjhq"]="tempos";${${"GLOBALS"}["ngwdki"]}=null;for(${${"GLOBALS"}["usknnlawlig"]}=2;${${"GLOBALS"}["gdgvzcps"]}<5;${$zhhxcngol}++){${"GLOBALS"}["ejophdgc"]="i";$xxbubustdt="i";for(${${"GLOBALS"}["yicyexuhqi"]}=0;${${"GLOBALS"}["ejophdgc"]}<4;${$xxbubustdt}++){${"GLOBALS"}["ocowwdxl"]="add";${"GLOBALS"}["puovcddj"]="j";${"GLOBALS"}["mwtfteo"]="i";${"GLOBALS"}["wvctsiwinkb"]="i";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${${"GLOBALS"}["ocowwdxl"]}[${${"GLOBALS"}["wvctsiwinkb"]}]*${${"GLOBALS"}["lebphkl"]},0,${${"GLOBALS"}["jxseuiun"]}[${${"GLOBALS"}["mwtfteo"]}+4]*${${"GLOBALS"}["puovcddj"]}))->getId()===Block::AIR){$ohpcwclh="add";$bweitjhqyc="j";$kiiifori="j";$kmbiekimi="add";${"GLOBALS"}["qswoeffzgrx"]="i";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${$ohpcwclh}[${${"GLOBALS"}["qswoeffzgrx"]}]*${$kiiifori},1,${$kmbiekimi}[${${"GLOBALS"}["yicyexuhqi"]}+4]*${$bweitjhqyc}))->getId()===Block::AIR){$kvphmusmbq="add";${"GLOBALS"}["sndypumykpr"]="tempos";$rimqcjouuub="add";${${"GLOBALS"}["sndypumykpr"]}=$this->fromPos->add(${$rimqcjouuub}[${${"GLOBALS"}["yicyexuhqi"]}]*${${"GLOBALS"}["lebphkl"]},0,${$kvphmusmbq}[${${"GLOBALS"}["yicyexuhqi"]}+4]*${${"GLOBALS"}["lebphkl"]});break;}}}if(${${"GLOBALS"}["ngwdki"]}!=null){break;}}$unptgwlb="add";if(${${"GLOBALS"}["ngwdki"]}==null){$sacisytuuoeu="tempos";${$sacisytuuoeu}=$this->fromPos->add(mt_rand(-2,2),0,mt_rand(-2,2));}$this->teleport($this->shouldResPos=${$olaqxnkldgk});${$unptgwlb}=null;${${"GLOBALS"}["lrefcxcjhq"]}=null;$this->fromPos=null;}else{$this->teleport($this->shouldResPos=$this->server->getDefaultLevel()->getSafeSpawn());}$this->portalTime=0;}}}if(!$this->isSleeping()){${"GLOBALS"}["jmcodqsmsc"]="tickDiff";$this->processMovement(${${"GLOBALS"}["jmcodqsmsc"]});}if(!$this->isSpectator())$this->entityBaseTick(${${"GLOBALS"}["wnodyqvigj"]});if($this->isOnFire()or$this->lastUpdate%10==0){if($this->isCreative()and!$this->isInsideOfFire()){$this->extinguish();}elseif($this->getLevel()->getWeather()->isRainy()){if($this->getLevel()->canBlockSeeSky($this)){$this->extinguish();}}}if($this->server->antiFly){if(!$this->isSpectator()and$this->speed!==null){if($this->onGround){if($this->inAirTicks!==0){$this->startAirTicks=5;}$this->inAirTicks=0;}else{if(!$this->allowFlight and$this->inAirTicks>10 and!$this->isSleeping()and$this->getDataProperty(self::DATA_NO_AI)!==1){$icgxpfgjkiz="expectedVelocity";$eqiftjzxo="diff";${"GLOBALS"}["kmkrhpgyivf"]="diff";${${"GLOBALS"}["hbsgxhfknnk"]}=(-$this->gravity)/$this->drag-((-$this->gravity)/$this->drag)*exp(-$this->drag*($this->inAirTicks-$this->startAirTicks));${${"GLOBALS"}["kmkrhpgyivf"]}=($this->speed->y-${$icgxpfgjkiz})**2;if(!$this->hasEffect(Effect::JUMP)and${$eqiftjzxo}>0.6 and${${"GLOBALS"}["hbsgxhfknnk"]}<$this->speed->y and!$this->server->getAllowFlight()){${"GLOBALS"}["ppyctruub"]="expectedVelocity";$this->setMotion($this->temporalVector->setComponents(0,${${"GLOBALS"}["ppyctruub"]},0));}}++$this->inAirTicks;}}}if($this->getTransactionQueue()!==null){$this->getTransactionQueue()->execute();}}$this->checkTeleportPosition();$this->timings->stopTiming();return true;}public function checkNetwork(){if(!$this->isOnline()){return;}if($this->nextChunkOrderRun--<=0 or$this->chunk===null){$this->orderChunks();}if(count($this->loadQueue)>0 or!$this->spawned){$this->sendNextChunk();}if(count($this->batchedPackets)>0){$this->server->batchPackets([$this],$this->batchedPackets,false);$this->batchedPackets=[];}}public function canInteract(Vector3$pos,$maxDistance,$maxDiff=0.5){${"GLOBALS"}["lpqtfrjcldc"]="eyePos";${${"GLOBALS"}["lpqtfrjcldc"]}=$this->getPosition()->add(0,$this->getEyeHeight(),0);if($eyePos->distanceSquared(${${"GLOBALS"}["kozwdu"]})>${${"GLOBALS"}["lupktf"]}**2){return false;}${${"GLOBALS"}["ufgqbvfienf"]}=$this->getDirectionPlane();${"GLOBALS"}["lurvgjg"]="maxDiff";${${"GLOBALS"}["lokjlenqgk"]}=$dV->dot(new Vector2($eyePos->x,$eyePos->z));${${"GLOBALS"}["knroxqdcfm"]}=$dV->dot(new Vector2($pos->x,$pos->z));return(${${"GLOBALS"}["knroxqdcfm"]}-${${"GLOBALS"}["lokjlenqgk"]})>=-${${"GLOBALS"}["lurvgjg"]};}public function onPlayerPreLogin(){$kifkqx="pk";${${"GLOBALS"}["wzarnypqog"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$kifkqx});$this->processLogin();}public function clearCreativeItems(){$this->personalCreativeItems=[];}public function getCreativeItems():array{return$this->personalCreativeItems;}public function addCreativeItem(Item$item){$this->personalCreativeItems[]=Item::get($item->getId(),$item->getDamage());}public function removeCreativeItem(Item$item){$psacwhji="item";${${"GLOBALS"}["vtsgjeil"]}=$this->getCreativeItemIndex(${$psacwhji});if(${${"GLOBALS"}["vtsgjeil"]}!==-1){${"GLOBALS"}["fnagykwvsjo"]="index";unset($this->personalCreativeItems[${${"GLOBALS"}["fnagykwvsjo"]}]);}}public function getCreativeItemIndex(Item$item):int{foreach($this->personalCreativeItems as${${"GLOBALS"}["yicyexuhqi"]}=>${${"GLOBALS"}["tdkqqsvd"]}){if($item->equals(${${"GLOBALS"}["tdkqqsvd"]},!$item->isTool())){return${${"GLOBALS"}["yicyexuhqi"]};}}return-1;}protected function processLogin(){$eubuxclrnsf="level";$ufsrvincyej="nbt";$tajbiqh="nbt";if(!$this->server->isWhitelisted(strtolower($this->getName()))){$this->close($this->getLeaveMessage(),"Server is white-listed");return;}elseif($this->server->getNameBans()->isBanned(strtolower($this->getName()))or$this->server->getIPBans()->isBanned($this->getAddress())or$this->server->getCIDBans()->isBanned($this->randomClientId)){$this->close($this->getLeaveMessage(),TextFormat::RED."You are banned");return;}if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS,$this);}$ejtbukpvj="p";if($this->hasPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);}${"GLOBALS"}["mohguknctg"]="pk";${"GLOBALS"}["xlhocydjjc"]="nbt";${"GLOBALS"}["fdagztyzjhl"]="nbt";foreach($this->server->getOnlinePlayers()as${$ejtbukpvj}){${"GLOBALS"}["glslgizwm"]="p";if(${${"GLOBALS"}["glslgizwm"]}!==$this and strtolower($p->getName())===strtolower($this->getName())){if($p->kick("logged in from another location")===false){$this->close($this->getLeaveMessage(),"Logged in from another location");return;}}elseif($p->loggedIn and$this->getUniqueId()->equals($p->getUniqueId())){if($p->kick("logged in from another location")===false){$this->close($this->getLeaveMessage(),"Logged in from another location");return;}}}${"GLOBALS"}["kqrartxlu"]="pk";$this->setNameTag($this->getDisplayName());${"GLOBALS"}["ppcrjflge"]="nbt";${$ufsrvincyej}=$this->server->getOfflinePlayerData($this->username);$wmcirnk="nbt";${"GLOBALS"}["tjwrerh"]="nbt";$this->playedBefore=(${${"GLOBALS"}["efjvqop"]}["lastPlayed"]-${${"GLOBALS"}["fdagztyzjhl"]}["firstPlayed"])>1;if(!isset($nbt->NameTag)){$nbt->NameTag=new StringTag("NameTag",$this->username);}else{$ltiiwzkyjxk="nbt";${$ltiiwzkyjxk}["NameTag"]=$this->username;}${"GLOBALS"}["skcjqphnep"]="level";if(!isset($nbt->Hunger)or!isset($nbt->Health)or!isset($nbt->MaxHealth)){$nbt->Hunger=new ShortTag("Hunger",20);$nbt->Health=new ShortTag("Health",20);$nbt->MaxHealth=new ShortTag("MaxHealth",20);}$this->food=${${"GLOBALS"}["xlhocydjjc"]}["Hunger"];$this->setMaxHealth(${${"GLOBALS"}["tjwrerh"]}["MaxHealth"]);Entity::setHealth((${${"GLOBALS"}["efjvqop"]}["Health"]<=0)?20:${${"GLOBALS"}["efjvqop"]}["Health"]);$this->gamemode=${${"GLOBALS"}["ppcrjflge"]}["playerGameType"]&0x03;if($this->server->getForceGamemode()){$this->gamemode=$this->server->getGamemode();$nbt->playerGameType=new IntTag("playerGameType",$this->gamemode);}$this->allowFlight=$this->isCreative();${"GLOBALS"}["recqfgwxeyd"]="pk";if((${${"GLOBALS"}["skcjqphnep"]}=$this->server->getLevelByName(${${"GLOBALS"}["efjvqop"]}["Level"]))===null){$this->setLevel($this->server->getDefaultLevel());${"GLOBALS"}["yrccre"]="nbt";${${"GLOBALS"}["efjvqop"]}["Level"]=$this->level->getName();${${"GLOBALS"}["yrccre"]}["Pos"][0]=$this->level->getSpawnLocation()->x;${${"GLOBALS"}["efjvqop"]}["Pos"][1]=$this->level->getSpawnLocation()->y;${${"GLOBALS"}["efjvqop"]}["Pos"][2]=$this->level->getSpawnLocation()->z;}else{$this->setLevel(${${"GLOBALS"}["ndesogqnmbm"]});}if(!(${$tajbiqh} instanceof CompoundTag)){$this->close($this->getLeaveMessage(),"Invalid data");return;}${"GLOBALS"}["aobljkf"]="spawnPosition";$obqfcs="nbt";$this->achievements=[];foreach($nbt->Achievements as${${"GLOBALS"}["sngxvfhv"]}){$this->achievements[$achievement->getName()]=$achievement->getValue()>0?true:false;}$qxqgwqhedgh="pk";$nbt->lastPlayed=new LongTag("lastPlayed",floor(microtime(true)*1000));if($this->server->getAutoSave()){${"GLOBALS"}["omqpjqsijo"]="nbt";$this->server->saveOfflinePlayerData($this->username,${${"GLOBALS"}["omqpjqsijo"]},true);}parent::__construct($this->level->getChunk(${$wmcirnk}["Pos"][0]>>4,${${"GLOBALS"}["efjvqop"]}["Pos"][2]>>4,true),${$obqfcs});$this->loggedIn=true;$this->server->addOnlinePlayer($this);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerLoginEvent($this,"Plugin reason"));if($ev->isCancelled()){$this->close($this->getLeaveMessage(),$ev->getKickMessage());return;}if(!$this->isConnected()){return;}${${"GLOBALS"}["kqrartxlu"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${${"GLOBALS"}["mohguknctg"]});if($this->spawnPosition===null and isset($this->namedtag->SpawnLevel)and(${$eubuxclrnsf}=$this->server->getLevelByName($this->namedtag["SpawnLevel"]))instanceof Level){$rggoooemuljz="level";$this->spawnPosition=new Position($this->namedtag["SpawnX"],$this->namedtag["SpawnY"],$this->namedtag["SpawnZ"],${$rggoooemuljz});}${${"GLOBALS"}["aobljkf"]}=$this->getSpawn();${${"GLOBALS"}["wzarnypqog"]}=new StartGamePacket();$pk->seed=-1;$pk->dimension=$this->level->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$pk->spawnX=(int)$spawnPosition->x;$pk->spawnY=(int)$spawnPosition->y;$yircxdacwe="pk";$pk->spawnZ=(int)$spawnPosition->z;$pk->generator=1;$pk->gamemode=$this->gamemode&0x01;$pk->eid=0;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});${${"GLOBALS"}["wzarnypqog"]}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});${${"GLOBALS"}["wzarnypqog"]}=new SetSpawnPositionPacket();$pk->x=(int)$spawnPosition->x;$pk->y=(int)$spawnPosition->y;$pk->z=(int)$spawnPosition->z;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});${$qxqgwqhedgh}=new SetHealthPacket();$pk->health=$this->getHealth();$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});${${"GLOBALS"}["wzarnypqog"]}=new SetDifficultyPacket();$pk->difficulty=$this->server->getDifficulty();$this->dataPacket(${$yircxdacwe});$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("pocketmine.player.logIn",[TextFormat::AQUA.$this->username.TextFormat::WHITE,$this->ip,$this->port,TextFormat::GREEN.$this->randomClientId.TextFormat::WHITE,$this->id,$this->level->getName(),round($this->x,4),round($this->y,4),round($this->z,4)]));if($this->gamemode===Player::SPECTATOR){$eiuzlogyk="pk";${$eiuzlogyk}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});}else{if(AnyVersionManager::isProtocol($this,"0.15")){${"GLOBALS"}["zfofwf"]="pk";${${"GLOBALS"}["zfofwf"]}=new ContainerSetContentPacket();${"GLOBALS"}["tmbbenso"]="pk";$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"GLOBALS"}["tmbbenso"]});}else if(AnyVersionManager::isProtocol($this,"0.14")){${"GLOBALS"}["qcpymbknfm"]="pk";${${"GLOBALS"}["wzarnypqog"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"GLOBALS"}["qcpymbknfm"]});}}${${"GLOBALS"}["recqfgwxeyd"]}=new SetEntityDataPacket();$pk->eid=0;$pk->metadata=[self::DATA_LEAD_HOLDER=>[self::DATA_TYPE_LONG,-1]];$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});$this->forceMovement=$this->teleportPosition=$this->getPosition();}public function getProtocol(){return$this->protocol;}public function handleDataPacket($packet){$nifther="pos";$agfhrcauhxob="packet";$vgybaoxd="target";$drffdpgi="pk";${"GLOBALS"}["osaeqdcdfeoh"]="ev";${"GLOBALS"}["whqdljqrbdj"]="i";$dywatckscjx="len";${"GLOBALS"}["ingfonkjrqqo"]="vector";$fkreieyjkgk="packet";$zujlqycwtwa="ev";${"GLOBALS"}["mrrapukbuwb"]="valid";${"GLOBALS"}["utxbsmlripb"]="vector";${"GLOBALS"}["zljtnoeo"]="i";$divljmcxvysr="item";${"GLOBALS"}["aqndzbbpk"]="pk";${"GLOBALS"}["hlrdnngmxvgc"]="target";$llujkwq="tile";if($this->connected===false){return;}${"GLOBALS"}["nncbdmdp"]="i";${"GLOBALS"}["kbpipi"]="blockVector";${"GLOBALS"}["xyeblvs"]="ev";$wriiralyooi="target";$cnxkewkxm="t";${"GLOBALS"}["xfndyiv"]="i";$uhpxmbauy="pk";$pqiyrtjkvrmj="revert";$injbhxv="oldItem";$tpfbnoelo="pos";${"GLOBALS"}["cyetjetd"]="pos";${"GLOBALS"}["tcrjxbkprpge"]="target";${"GLOBALS"}["wfxmjux"]="target";$dywxge="t";${"GLOBALS"}["xinyqdi"]="item";$bkijhpyis="ev";${"GLOBALS"}["fptryekpvb"]="pos";if(${${"GLOBALS"}["iysgrb"]}::NETWORK_ID===ProtocolInfo::BATCH_PACKET or${${"GLOBALS"}["iysgrb"]}::NETWORK_ID===0x92){$this->server->getNetwork()->processBatch(${${"GLOBALS"}["iysgrb"]},$this);return;}$ijrepr="recipe";$vbbsrvopwwbr="valid";${"GLOBALS"}["jecskzubn"]="item";$iwhonkg="pk";${"GLOBALS"}["dfrvwpi"]="recipe";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new DataPacketReceiveEvent($this,${$fkreieyjkgk}));${"GLOBALS"}["gyqpqnr"]="recipe";$mmknnvlj="target";${"GLOBALS"}["ijkmfoc"]="tile";${"GLOBALS"}["olbqdh"]="ev";${"GLOBALS"}["kivknjnbdodf"]="ev";if($ev->isCancelled()){return;}${"GLOBALS"}["mfyfowbxfb"]="transaction";switch(${$agfhrcauhxob}::NETWORK_ID){case ProtocolInfo::ITEM_FRAME_DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::ITEM_FRAME_DROP_ITEM_PACKET:${${"GLOBALS"}["eftxoeklah"]}=$this->level->getTile($this->temporalVector->setComponents($packet->x,$packet->y,$packet->z));if(${${"GLOBALS"}["eftxoeklah"]} instanceof ItemFrame){$pbuviicfo="block";${"GLOBALS"}["rnqqimrrx"]="tile";$vokaqfwxtv="block";${"GLOBALS"}["biwklmejxwa"]="ev";${$vokaqfwxtv}=$this->level->getBlock(${${"GLOBALS"}["rnqqimrrx"]});$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["biwklmejxwa"]}=new BlockBreakEvent($this,${$pbuviicfo},$this->getInventory()->getItemInHand(),true));if(!$ev->isCancelled()){${${"GLOBALS"}["iilrmljxz"]}=$tile->getItem();${"GLOBALS"}["tfdljopy"]="item";$yoyxyj="block";$kvmbnx="ev";$this->server->getPluginManager()->callEvent(${$kvmbnx}=new ItemFrameDropItemEvent($this,${$yoyxyj},${${"GLOBALS"}["eftxoeklah"]},${${"GLOBALS"}["tfdljopy"]}));if(!$ev->isCancelled()){if($item->getId()!==Item::AIR){if((mt_rand(0,10)/10)<$tile->getItemDropChance()){$ckaygoll="tile";$this->level->dropItem(${$ckaygoll},${${"GLOBALS"}["iilrmljxz"]});}$tile->setItem(Item::get(Item::AIR));$tile->setItemRotation(0);}}else$tile->spawnTo($this);}else$tile->spawnTo($this);}break;case ProtocolInfo::REQUEST_CHUNK_RADIUS_PACKET:case\pocketmine\network\protocol\p70\Info::REQUEST_CHUNK_RADIUS_PACKET:${${"GLOBALS"}["aqndzbbpk"]}=new ChunkRadiusUpdatedPacket();$pk->radius=($this->server->chunkRadius!=-1)?$this->server->chunkRadius:$packet->radius;$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});break;case ProtocolInfo::PLAYER_INPUT_PACKET:case\pocketmine\network\protocol\p70\Info::PLAYER_INPUT_PACKET:break;case ProtocolInfo::LOGIN_PACKET:case\pocketmine\network\protocol\p70\Info::LOGIN_PACKET:if($this->loggedIn){break;}${${"GLOBALS"}["wzarnypqog"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$uhpxmbauy});$this->username=TextFormat::clean($packet->username);$this->displayName=$this->username;$this->setNameTag($this->username);$this->iusername=strtolower($this->username);$this->protocol=$packet->protocol;if($this->server->getConfigBoolean("online-mode",false)&&$packet->identityPublicKey===null){$this->kick("disconnectionScreen.notAuthenticated",false);break;}if(count($this->server->getOnlinePlayers())>=$this->server->getMaxPlayers()and$this->kick("disconnectionScreen.serverFull",false)){break;}if(!in_array($packet->protocol,AnyVersionManager::getAcceptedProtocols())){$huoekanxfkj="pk";${${"GLOBALS"}["wzarnypqog"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_FAILED_SERVER;$this->directDataPacket(${$huoekanxfkj});$this->close("","This server does not support your client",\false);break;}$this->randomClientId=$packet->clientId;if(${${"GLOBALS"}["iysgrb"]} instanceof DataPacket){$this->uuid=UUID::fromString($packet->clientUUID);$this->rawUUID=$this->uuid->toBinary();}else{$this->loginData=["clientId"=>$packet->clientId,"loginData"=>null];$this->uuid=$packet->clientUUID;$this->rawUUID=$this->uuid->toBinary();$this->clientSecret=$packet->clientSecret;}${$vbbsrvopwwbr}=true;${${"GLOBALS"}["bzuqaa"]}=strlen($packet->username);if(${${"GLOBALS"}["bzuqaa"]}>16 or${${"GLOBALS"}["bzuqaa"]}<3){${"GLOBALS"}["gnpnhkf"]="valid";${${"GLOBALS"}["gnpnhkf"]}=false;}for(${${"GLOBALS"}["xfndyiv"]}=0;${${"GLOBALS"}["whqdljqrbdj"]}<${$dywatckscjx} and${${"GLOBALS"}["fnpglwv"]};++${${"GLOBALS"}["zljtnoeo"]}){${"GLOBALS"}["tctrdujswzbe"]="c";${"GLOBALS"}["skpskooi"]="c";${"GLOBALS"}["xfybvwey"]="i";${"GLOBALS"}["rvkmnpwr"]="c";$vijxrbeosq="c";${"GLOBALS"}["shzfpkp"]="c";${"GLOBALS"}["iejmzlb"]="c";${$vijxrbeosq}=ord($packet->username{${${"GLOBALS"}["xfybvwey"]}});$sripmceosk="valid";$gtsrza="c";if((${${"GLOBALS"}["rvkmnpwr"]}>=ord("a")and${${"GLOBALS"}["vumdundwbvy"]}<=ord("z"))or(${${"GLOBALS"}["iejmzlb"]}>=ord("A")and${${"GLOBALS"}["skpskooi"]}<=ord("Z"))or(${$gtsrza}>=ord("0")and${${"GLOBALS"}["tctrdujswzbe"]}<=ord("9"))or${${"GLOBALS"}["shzfpkp"]}===ord("_")){continue;}${$sripmceosk}=false;break;}if(!${${"GLOBALS"}["mrrapukbuwb"]} or$this->iusername==="rcon"or$this->iusername==="console"){$this->close("","disconnectionScreen.invalidName");break;}if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","disconnectionScreen.invalidSkin");break;}if($packet->protocol==84){if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","disconnectionScreen.invalidSkin");break;}$this->setSkin($packet->skin,$packet->skinId);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerPreLoginEvent($this,"Plugin reason"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}}else{}if($packet->protocol==84){if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","disconnectionScreen.invalidSkin");break;}$this->setSkin($packet->skin,$packet->skinId);}else{if(\strlen($packet->skin)!==64*32*4 and\strlen($packet->skin)!==64*64*4){$this->close("","disconnectionScreen.invalidSkin");break;}$this->setSkin($packet->skin,$packet->skinName);}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerPreLoginEvent($this,"Plugin reason"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}$this->onPlayerPreLogin();break;case ProtocolInfo::MOVE_PLAYER_PACKET:case\pocketmine\network\protocol\p70\Info::MOVE_PLAYER_PACKET;if($this->linkedEntity instanceof Entity){${${"GLOBALS"}["ktwefm"]}=$this->linkedEntity;if(${${"GLOBALS"}["ktwefm"]} instanceof Boat){$entity->setPosition($this->temporalVector->setComponents($packet->x,$packet->y-0.3,$packet->z));}}${${"GLOBALS"}["yebtwimdkh"]}=new Vector3($packet->x,$packet->y-$this->getEyeHeight(),$packet->z);${${"GLOBALS"}["xytwjboryd"]}=false;if(!$this->isAlive()or$this->spawned!==true){${${"GLOBALS"}["xytwjboryd"]}=true;$this->forceMovement=new Vector3($this->x,$this->y,$this->z);}if($this->teleportPosition!==null or($this->forceMovement instanceof Vector3 and((${${"GLOBALS"}["zbisowqvsffw"]}=$newPos->distanceSquared($this->forceMovement))>0.1 or${$pqiyrtjkvrmj}))){if($this->forceMovement instanceof Vector3)$this->sendPosition($this->forceMovement,$packet->yaw,$packet->pitch);}else{$packet->yaw%=360;$packet->pitch%=360;if($packet->yaw<0){$packet->yaw+=360;}$this->setRotation($packet->yaw,$packet->pitch);${"GLOBALS"}["hjftsrimhgjz"]="newPos";$this->newPosition=${${"GLOBALS"}["hjftsrimhgjz"]};}$this->forceMovement=null;break;case ProtocolInfo::MOB_EQUIPMENT_PACKET:case\pocketmine\network\protocol\p70\Info::MOB_EQUIPMENT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->inventory->setHeldItemIndex($packet->selectedSlot,false,$packet->slot);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);break;case ProtocolInfo::USE_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::USE_ITEM_PACKET:if($this->spawned===false or!$this->isAlive()or$this->blocked){break;}${${"GLOBALS"}["kbpipi"]}=new Vector3($packet->x,$packet->y,$packet->z);$this->craftingType=self::CRAFTING_SMALL;if($packet->face>=0 and$packet->face<=5){$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);${"GLOBALS"}["refrgb"]="target";if(!$this->canInteract($blockVector->add(0.5,0.5,0.5),13)or$this->isSpectator()){}elseif($this->isCreative()){$ptsddxai="item";${"GLOBALS"}["elwolewq"]="item";${$ptsddxai}=$this->inventory->getItemInHand();if($this->level->useItemOn(${${"GLOBALS"}["zhpqdsdrtxn"]},${${"GLOBALS"}["elwolewq"]},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)===true){break;}}elseif(!$this->inventory->getItemInHand()->deepEquals($packet->item)and$this->getProtocol()==84){$this->inventory->sendHeldItem($this);}elseif(!$this->inventory->getItemInHand()->deepEquals($this->inventory->getItemInHand())and AnyVersionManager::isProtocol($this,"0.14")){$this->inventory->sendHeldItem($this);}else{${"GLOBALS"}["ouubjupdngp"]="oldItem";$mistckllqfbw="item";$doozqfmsqcf="item";${$doozqfmsqcf}=$this->inventory->getItemInHand();${${"GLOBALS"}["ouubjupdngp"]}=clone${${"GLOBALS"}["iilrmljxz"]};if($this->level->useItemOn(${${"GLOBALS"}["zhpqdsdrtxn"]},${$mistckllqfbw},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)){$xmarojbgfb="oldItem";if(!$item->deepEquals(${$xmarojbgfb})or$item->getCount()!==$oldItem->getCount()){$this->inventory->setItemInHand(${${"GLOBALS"}["iilrmljxz"]});$this->inventory->sendHeldItem($this->hasSpawned);}break;}}$this->inventory->sendHeldItem($this);if($blockVector->distanceSquared($this)>10000){break;}${${"GLOBALS"}["refrgb"]}=$this->level->getBlock(${${"GLOBALS"}["zhpqdsdrtxn"]});${${"GLOBALS"}["mbcevemywy"]}=$target->getSide($packet->face);$this->level->sendBlocks([$this],[${${"GLOBALS"}["ljnlmdvwvr"]},${${"GLOBALS"}["mbcevemywy"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);break;}elseif($packet->face===0xff){${"GLOBALS"}["nmryrkenju"]="item";if($this->isSpectator()){break;}${"GLOBALS"}["ctzqvxa"]="ev";${${"GLOBALS"}["gdwhlctpodo"]}=(new Vector3($packet->x/32768,$packet->y/32768,$packet->z/32768))->normalize();if($this->isCreative()){$rqvdsfnedf="item";${$rqvdsfnedf}=$this->inventory->getItemInHand();}elseif(!$this->inventory->getItemInHand()->deepEquals($packet->item)){$this->inventory->sendHeldItem($this);break;}else{${${"GLOBALS"}["iilrmljxz"]}=$this->inventory->getItemInHand();}${${"GLOBALS"}["ctzqvxa"]}=new PlayerInteractEvent($this,${${"GLOBALS"}["nmryrkenju"]},${${"GLOBALS"}["gdwhlctpodo"]},$packet->face,PlayerInteractEvent::RIGHT_CLICK_AIR);${"GLOBALS"}["itnztdr"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["itnztdr"]});if($ev->isCancelled()){$this->inventory->sendHeldItem($this);break;}if($item->getId()===Item::FISHING_ROD){if($this->isFishing()){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_STOP_FISHING));}else{${"GLOBALS"}["qncythrfc"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qncythrfc"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_START_FISHING));}if(!$ev->isCancelled()){if($this->isFishing()){$this->setFishingHook();}else{$ebnvqfveed="nbt";$dxqlsvl="nbt";${$dxqlsvl}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)])]);${${"GLOBALS"}["npvozhe"]}=0.5;$this->fishingHook=new FishingHook($this->chunk,${$ebnvqfveed},$this,$this->getId());$this->fishingHook->setMotion($this->fishingHook->getMotion()->multiply(${${"GLOBALS"}["npvozhe"]}));$this->fishingHook->spawnToAll();}}}elseif($item->getId()===Item::SNOWBALL){${"GLOBALS"}["gptgfuxorn"]="nbt";${"GLOBALS"}["dchdfzr"]="f";$oocjhw="f";${${"GLOBALS"}["efjvqop"]}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"GLOBALS"}["dchdfzr"]}=1.5;${${"GLOBALS"}["vpiizyx"]}=Entity::createEntity("Snowball",$this->chunk,${${"GLOBALS"}["gptgfuxorn"]},$this);$snowball->setMotion($snowball->getMotion()->multiply(${$oocjhw}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["iilrmljxz"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["vpiizyx"]} instanceof Projectile){${"GLOBALS"}["aqykouphh"]="projectileEv";${"GLOBALS"}["lpmlxybo"]="snowball";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["aqykouphh"]}=new ProjectileLaunchEvent(${${"GLOBALS"}["lpmlxybo"]}));if($projectileEv->isCancelled()){$snowball->kill();}else{$snowball->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$snowball->spawnToAll();}}elseif($item->getId()===Item::EGG){$bdlapfc="nbt";${"GLOBALS"}["bcvcjghwsi"]="f";${$bdlapfc}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"GLOBALS"}["npvozhe"]}=1.5;${${"GLOBALS"}["pswppcq"]}=Entity::createEntity("Egg",$this->chunk,${${"GLOBALS"}["efjvqop"]},$this);$egg->setMotion($egg->getMotion()->multiply(${${"GLOBALS"}["bcvcjghwsi"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["iilrmljxz"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["pswppcq"]} instanceof Projectile){$eeeflhcqssaj="egg";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["decolrthvxs"]}=new ProjectileLaunchEvent(${$eeeflhcqssaj}));if($projectileEv->isCancelled()){$egg->kill();}else{$egg->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$egg->spawnToAll();}}elseif($item->getId()==Item::ENCHANTING_BOTTLE){${"GLOBALS"}["qumnmbsd"]="f";${"GLOBALS"}["vmkogbjdhfa"]="f";${${"GLOBALS"}["efjvqop"]}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"GLOBALS"}["qumnmbsd"]}=1.1;${"GLOBALS"}["rfxshkkdd"]="thrownExpBottle";${${"GLOBALS"}["vfoysqgh"]}=new ThrownExpBottle($this->chunk,${${"GLOBALS"}["efjvqop"]},$this);$thrownExpBottle->setMotion($thrownExpBottle->getMotion()->multiply(${${"GLOBALS"}["vmkogbjdhfa"]}));if($this->isSurvival()){${"GLOBALS"}["nqxixgtgnb"]="item";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["nqxixgtgnb"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["rfxshkkdd"]} instanceof Projectile){$fnchhdyyb="projectileEv";$bgvbahv="thrownExpBottle";$this->server->getPluginManager()->callEvent(${$fnchhdyyb}=new ProjectileLaunchEvent(${$bgvbahv}));if($projectileEv->isCancelled()){$thrownExpBottle->kill();}else{$thrownExpBottle->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$thrownExpBottle->spawnToAll();}}elseif($item->getId()==Item::SPLASH_POTION and$this->server->allowSplashPotion){${"GLOBALS"}["ywllzmuytll"]="nbt";${"GLOBALS"}["numwuhvslmj"]="thrownPotion";$xoeyauudmxti="f";${"GLOBALS"}["nxergjmona"]="nbt";${"GLOBALS"}["vaboptlkn"]="thrownPotion";${${"GLOBALS"}["ywllzmuytll"]}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"PotionId"=>new ShortTag("PotionId",$item->getDamage()),]);${$xoeyauudmxti}=1.1;${${"GLOBALS"}["numwuhvslmj"]}=new ThrownPotion($this->chunk,${${"GLOBALS"}["nxergjmona"]},$this);$thrownPotion->setMotion($thrownPotion->getMotion()->multiply(${${"GLOBALS"}["npvozhe"]}));if($this->isSurvival()){${"GLOBALS"}["juxeaptjyoa"]="item";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["juxeaptjyoa"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["vaboptlkn"]} instanceof Projectile){${"GLOBALS"}["woamcosve"]="projectileEv";$idonqvsk="thrownPotion";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["woamcosve"]}=new ProjectileLaunchEvent(${$idonqvsk}));if($projectileEv->isCancelled()){$thrownPotion->kill();}else{$thrownPotion->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$thrownPotion->spawnToAll();}}$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,true);$this->startAction=$this->server->getTick();}break;case ProtocolInfo::PLAYER_ACTION_PACKET:case\pocketmine\network\protocol\p70\Info::PLAYER_ACTION_PACKET:if($this->spawned===false or$this->blocked===true or(!$this->isAlive()and$packet->action!==PlayerActionPacket::ACTION_SPAWN_SAME_DIMENSION and$packet->action!==PlayerActionPacket::ACTION_SPAWN_OVERWORLD)){break;}$packet->eid=$this->id;${${"GLOBALS"}["fptryekpvb"]}=new Vector3($packet->x,$packet->y,$packet->z);switch($packet->action){case PlayerActionPacket::ACTION_START_BREAK:if($pos->distanceSquared($this)>10000){break;}${$wriiralyooi}=$this->level->getBlock(${${"GLOBALS"}["cyetjetd"]});${${"GLOBALS"}["gnodacyuno"]}=new PlayerInteractEvent($this,$this->inventory->getItemInHand(),${${"GLOBALS"}["wfxmjux"]},$packet->face,$target->getId()===0?PlayerInteractEvent::LEFT_CLICK_AIR:PlayerInteractEvent::LEFT_CLICK_BLOCK);$this->getServer()->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if(!$ev->isCancelled()){${${"GLOBALS"}["nunlybjei"]}=$target->getSide($packet->face);if(${${"GLOBALS"}["nunlybjei"]} instanceof Fire){$side->getLevel()->setBlock(${${"GLOBALS"}["nunlybjei"]},new Air());}$this->lastBreak=microtime(true);}else{$this->inventory->sendHeldItem($this);}break;case PlayerActionPacket::ACTION_ABORT_BREAK:$this->lastBreak=PHP_INT_MAX;break;case PlayerActionPacket::ACTION_RELEASE_ITEM:if($this->startAction>-1 and$this->getDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION)){if($this->inventory->getItemInHand()->getId()===Item::BOW){${"GLOBALS"}["btmbrsxmz"]="bow";${"GLOBALS"}["fylpsi"]="diff";${${"GLOBALS"}["btmbrsxmz"]}=$this->inventory->getItemInHand();${"GLOBALS"}["eytuuxdt"]="item";${"GLOBALS"}["ozeuvbeq"]="arrow";if($this->isSurvival()and!$this->inventory->contains(Item::get(Item::ARROW,null))){$this->inventory->sendContents($this);break;}${${"GLOBALS"}["lfomvczyw"]}=false;foreach($this->inventory->getContents()as${${"GLOBALS"}["eytuuxdt"]}){if($item->getId()==Item::ARROW){${${"GLOBALS"}["lfomvczyw"]}=${${"GLOBALS"}["iilrmljxz"]};}}${"GLOBALS"}["vvquhxnzv"]="f";${"GLOBALS"}["lmqwtlvxxdg"]="nbt";if(${${"GLOBALS"}["lfomvczyw"]}===false and$this->isCreative()){${${"GLOBALS"}["lfomvczyw"]}=Item::get(Item::ARROW,0,1);}elseif(${${"GLOBALS"}["ozeuvbeq"]}===false){break;}${${"GLOBALS"}["lmqwtlvxxdg"]}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Motion"=>new ListTag("Motion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Rotation"=>new ListTag("Rotation",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"Fire"=>new ShortTag("Fire",$this->isOnFire()?45*60:0),"Potion"=>new ShortTag("Potion",$arrow->getDamage())]);${"GLOBALS"}["hkbhmipx"]="f";${${"GLOBALS"}["fylpsi"]}=($this->server->getTick()-$this->startAction);${"GLOBALS"}["popjrksiey"]="diff";${${"GLOBALS"}["yutppkq"]}=${${"GLOBALS"}["popjrksiey"]}/20;${"GLOBALS"}["lxpgjjxo"]="ev";${${"GLOBALS"}["npvozhe"]}=min(((${${"GLOBALS"}["yutppkq"]}**2)+${${"GLOBALS"}["yutppkq"]}*2)/3,1)*2;${${"GLOBALS"}["lxpgjjxo"]}=new EntityShootBowEvent($this,${${"GLOBALS"}["mqtriatucqk"]},Entity::createEntity("Arrow",$this->chunk,${${"GLOBALS"}["efjvqop"]},$this,${${"GLOBALS"}["npvozhe"]}==2?true:false),${${"GLOBALS"}["hkbhmipx"]});if(${${"GLOBALS"}["vvquhxnzv"]}<0.1 or${${"GLOBALS"}["qcvvxkyceyrn"]}<5){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if($ev->isCancelled()){$ev->getProjectile()->kill();$this->inventory->sendContents($this);}else{$ev->getProjectile()->setMotion($ev->getProjectile()->getMotion()->multiply($ev->getForce()));if($this->isSurvival()){$this->inventory->removeItem(Item::get(Item::ARROW,$arrow->getDamage(),1));$bow->setDamage($bow->getDamage()+1);if($bow->getDamage()>=385){$this->inventory->setItemInHand(Item::get(Item::AIR,0,0));}else{$this->inventory->setItemInHand(${${"GLOBALS"}["mqtriatucqk"]});}}if($ev->getProjectile()instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["decolrthvxs"]}=new ProjectileLaunchEvent($ev->getProjectile()));if($projectileEv->isCancelled()){$ev->getProjectile()->kill();}else{$ev->getProjectile()->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$ev->getProjectile()->spawnToAll();}}}}elseif($this->inventory->getItemInHand()->getId()===Item::BUCKET and$this->inventory->getItemInHand()->getDamage()===1){${"GLOBALS"}["xtlamtu"]="pk";${"GLOBALS"}["vemdzqk"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["vemdzqk"]}=new PlayerItemConsumeEvent($this,$this->inventory->getItemInHand()));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}${"GLOBALS"}["wyuwkkn"]="pk";${${"GLOBALS"}["wyuwkkn"]}=new EntityEventPacket();$pk->eid=$this->getId();$pk->event=EntityEventPacket::USE_ITEM;$this->dataPacket(${${"GLOBALS"}["xtlamtu"]});Server::broadcastPacket($this->getViewers(),${${"GLOBALS"}["wzarnypqog"]});if($this->isSurvival()){${${"GLOBALS"}["vgatxryzd"]}=$this->inventory->getItemInHand();--$slot->count;$this->inventory->setItemInHand(${${"GLOBALS"}["vgatxryzd"]});$this->inventory->addItem(Item::get(Item::BUCKET,0,1));}$this->removeAllEffects();}else{$this->inventory->sendContents($this);}break;case PlayerActionPacket::ACTION_STOP_SLEEPING:$this->stopSleep();break;case PlayerActionPacket::ACTION_SPAWN_SAME_DIMENSION:case PlayerActionPacket::ACTION_SPAWN_OVERWORLD:if($this->isAlive()or!$this->isOnline()){break;}if($this->server->isHardcore()){$this->setBanned(true);break;}$this->craftingType=self::CRAFTING_SMALL;if($this->server->netherEnabled){if($this->level==$this->server->netherLevel){${"GLOBALS"}["blhttvo"]="pos";$this->teleport(${${"GLOBALS"}["blhttvo"]}=$this->server->getDefaultLevel()->getSafeSpawn());}}$this->server->getPluginManager()->callEvent(${$zujlqycwtwa}=new PlayerRespawnEvent($this,$this->getSpawn()));$this->teleport($ev->getRespawnPosition());$this->setSprinting(false);$this->setSneaking(false);$this->extinguish();$this->setDataProperty(self::DATA_AIR,self::DATA_TYPE_SHORT,300);$this->deadTicks=0;$this->noDamageTicks=60;$this->removeAllEffects();$this->setHealth($this->getMaxHealth());$this->setFood(20);$this->starvationTick=0;$this->foodTick=0;$this->foodUsageTime=0;$this->sendData($this);$this->sendSettings();$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);$this->blocked=false;$this->spawnToAll();$this->scheduleUpdate();break;case PlayerActionPacket::ACTION_START_SPRINT:${${"GLOBALS"}["osaeqdcdfeoh"]}=new PlayerToggleSprintEvent($this,true);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(true);}break 2;case PlayerActionPacket::ACTION_STOP_SPRINT:${${"GLOBALS"}["gnodacyuno"]}=new PlayerToggleSprintEvent($this,false);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(false);}break 2;case PlayerActionPacket::ACTION_START_SNEAK:${${"GLOBALS"}["olbqdh"]}=new PlayerToggleSneakEvent($this,true);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["xyeblvs"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(true);}break 2;case PlayerActionPacket::ACTION_STOP_SNEAK:${${"GLOBALS"}["gnodacyuno"]}=new PlayerToggleSneakEvent($this,false);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["kivknjnbdodf"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(false);}break 2;case PlayerActionPacket::ACTION_JUMP:break 2;}$this->startAction=-1;$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);break;case ProtocolInfo::REMOVE_BLOCK_PACKET:case\pocketmine\network\protocol\p70\Info::REMOVE_BLOCK_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;${${"GLOBALS"}["dnfqdtv"]}=new Vector3($packet->x,$packet->y,$packet->z);${$divljmcxvysr}=$this->inventory->getItemInHand();${$injbhxv}=clone${${"GLOBALS"}["iilrmljxz"]};if($this->canInteract($vector->add(0.5,0.5,0.5),$this->isCreative()?13:6)and$this->level->useBreakOn(${${"GLOBALS"}["ingfonkjrqqo"]},${${"GLOBALS"}["iilrmljxz"]},$this,$this->server->destroyBlockParticle)){if($this->isSurvival()){if(!$item->equals(${${"GLOBALS"}["rbnnoik"]})or$item->getCount()!==$oldItem->getCount()){$stwzlj="item";$this->inventory->setItemInHand(${$stwzlj});$this->inventory->sendHeldItem($this);}$this->exhaust(0.025,PlayerExhaustEvent::CAUSE_MINING);}break;}$this->inventory->sendContents($this);${$mmknnvlj}=$this->level->getBlock(${${"GLOBALS"}["utxbsmlripb"]});${${"GLOBALS"}["ijkmfoc"]}=$this->level->getTile(${${"GLOBALS"}["dnfqdtv"]});$this->level->sendBlocks([$this],[${${"GLOBALS"}["ljnlmdvwvr"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);$this->inventory->sendHeldItem($this);if(${$llujkwq} instanceof Spawnable){$tile->spawnTo($this);}break;case ProtocolInfo::MOB_ARMOR_EQUIPMENT_PACKET:case\pocketmine\network\protocol\p70\Info::MOB_ARMOR_EQUIPMENT_PACKET:break;case ProtocolInfo::INTERACT_PACKET:case\pocketmine\network\protocol\p70\Info::INTERACT_PACKET:if($this->spawned===false or!$this->isAlive()or$this->blocked){break;}$this->craftingType=self::CRAFTING_SMALL;${${"GLOBALS"}["ljnlmdvwvr"]}=$this->level->getEntity($packet->target);${${"GLOBALS"}["ssbmmrondv"]}=false;if(${${"GLOBALS"}["tcrjxbkprpge"]} instanceof Player and$this->server->getConfigBoolean("pvp",true)===false){$ndyfgnmimy="cancelled";${$ndyfgnmimy}=true;}if(${${"GLOBALS"}["hlrdnngmxvgc"]} instanceof Boat or(${${"GLOBALS"}["ljnlmdvwvr"]} instanceof Minecart and$target->getType()==Minecart::TYPE_NORMAL)){if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){$this->linkEntity(${${"GLOBALS"}["ljnlmdvwvr"]});}elseif($packet->action===InteractPacket::ACTION_LEFT_CLICK){$fuollkt="target";if($this->linkedEntity==${$fuollkt}){$target->setLinked(0,$this);}$target->close();}elseif($packet->action===InteractPacket::ACTION_LEAVE_VEHICLE){$this->setLinked(0,${${"GLOBALS"}["ljnlmdvwvr"]});}return;}if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){${"GLOBALS"}["vrewauzv"]="target";if(${${"GLOBALS"}["vrewauzv"]} instanceof Animal and$this->getInventory()->getItemInHand()){}break;}if(${$vgybaoxd} instanceof Entity and$this->getGamemode()!==Player::VIEW and$this->isAlive()and$target->isAlive()){${"GLOBALS"}["sdcttoif"]="item";if(${${"GLOBALS"}["ljnlmdvwvr"]} instanceof DroppedItem or${${"GLOBALS"}["ljnlmdvwvr"]} instanceof Arrow){$this->kick("Attempting to attack an invalid entity");$this->server->getLogger()->warning($this->getServer()->getLanguage()->translateString("pocketmine.player.invalidEntity",[$this->getName()]));break;}${"GLOBALS"}["ynmiggc"]="damage";$dtrcxwllyevd="target";$tjvynfcqr="target";${"GLOBALS"}["orlvagn"]="ev";$dzluvggzuma="target";${${"GLOBALS"}["sdcttoif"]}=$this->inventory->getItemInHand();${${"GLOBALS"}["ynmiggc"]}=[EntityDamageEvent::MODIFIER_BASE=>$item->getModifyAttackDamage(${$dzluvggzuma}),];$nrcewgtq="damage";$wlfmnw="cancelled";if(!$this->canInteract(${${"GLOBALS"}["ljnlmdvwvr"]},8)){${"GLOBALS"}["olitiqmycjyu"]="cancelled";${${"GLOBALS"}["olitiqmycjyu"]}=true;}elseif(${$dtrcxwllyevd} instanceof Player){if(($target->getGamemode()&0x01)>0){break;}elseif($this->server->getConfigBoolean("pvp")!==true or$this->server->getDifficulty()===0){${${"GLOBALS"}["ssbmmrondv"]}=true;}}${${"GLOBALS"}["orlvagn"]}=new EntityDamageByEntityEvent($this,${$tjvynfcqr},EntityDamageEvent::CAUSE_ENTITY_ATTACK,${$nrcewgtq},0.4+$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_KNOCKBACK)*0.15);${"GLOBALS"}["rjdhjluv"]="ev";if(${$wlfmnw}){$ev->setCancelled();}if($target->attack($ev->getFinalDamage(),${${"GLOBALS"}["rjdhjluv"]})===true){${${"GLOBALS"}["orbkwmwke"]}=$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_FIRE_ASPECT);if(${${"GLOBALS"}["orbkwmwke"]}>0){${"GLOBALS"}["zlmcxqpulc"]="target";${${"GLOBALS"}["xugvpoy"]}=new EntityCombustByEntityEvent($this,${${"GLOBALS"}["zlmcxqpulc"]},${${"GLOBALS"}["orbkwmwke"]}*4,$ev->getFireProtectL());Server::getInstance()->getPluginManager()->callEvent(${${"GLOBALS"}["xugvpoy"]});if(!$fireEv->isCancelled()){$target->setOnFire($fireEv->getDuration());}}if($this->isSurvival()){$ev->createThornsDamage();if($ev->getThornsDamage()>0){$igmlltvne="target";$tqkbvqos="thornsEvent";${$tqkbvqos}=new EntityDamageByEntityEvent(${$igmlltvne},$this,EntityDamageEvent::CAUSE_ENTITY_ATTACK,$ev->getThornsDamage(),0);if(!$thornsEvent->isCancelled()){if($this->attack($thornsEvent->getFinalDamage(),${${"GLOBALS"}["rdwyqprhnd"]})===true){}};}}}if($ev->isCancelled()){if($item->isTool()and$this->isSurvival()){$this->inventory->sendContents($this);}break;}if($this->isSurvival()){if($item->isTool()){$fcbjtqcqlqrx="target";if($item->useOn(${$fcbjtqcqlqrx})and$item->getDamage()>=$item->getMaxDurability()){$this->inventory->setItemInHand(Item::get(Item::AIR,0,1));}else{$this->inventory->setItemInHand(${${"GLOBALS"}["iilrmljxz"]});}}$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_ATTACK);}}break;case ProtocolInfo::ANIMATE_PACKET:case\pocketmine\network\protocol\p70\Info::ANIMATE_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->server->getPluginManager()->callEvent(${$bkijhpyis}=new PlayerAnimationEvent($this,$packet->action));if($ev->isCancelled()){break;}${$iwhonkg}=new AnimatePacket();$pk->eid=$this->getId();$pk->action=$ev->getAnimationType();Server::broadcastPacket($this->getViewers(),${$drffdpgi});break;case ProtocolInfo::SET_HEALTH_PACKET:case\pocketmine\network\protocol\p70\Info::SET_HEALTH_PACKET:break;case ProtocolInfo::ENTITY_EVENT_PACKET:case\pocketmine\network\protocol\p70\Info::ENTITY_EVENT_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);switch($packet->event){case EntityEventPacket::USE_ITEM:${${"GLOBALS"}["vgatxryzd"]}=$this->inventory->getItemInHand();if($slot->canBeConsumed()){$cdpejh="slot";${${"GLOBALS"}["gnodacyuno"]}=new PlayerItemConsumeEvent($this,${$cdpejh});if(!$slot->canBeConsumedBy($this)){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if(!$ev->isCancelled()){$slot->onConsume($this);}else{$this->inventory->sendContents($this);}}break;}break;case ProtocolInfo::DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::DROP_ITEM_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}if($packet->item->getId()===Item::AIR){break;}if(($this->isCreative()and$this->server->limitedCreative)){break;}$this->getTransactionQueue()->addTransaction(new DropItemTransaction($packet->item));break;case ProtocolInfo::TEXT_PACKET:case\pocketmine\network\protocol\p70\Info::TEXT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;if($packet->type===TextPacket::TYPE_CHAT){$packet->message=TextFormat::clean($packet->message,$this->removeFormat);foreach(explode("\n",$packet->message)as${${"GLOBALS"}["vejqusgvsjmr"]}){$elqfqu="message";if(trim(${$elqfqu})!=""and strlen(${${"GLOBALS"}["vejqusgvsjmr"]})<=255 and$this->messageCounter-->0){${"GLOBALS"}["tualkrsmzg"]="ev";${${"GLOBALS"}["tualkrsmzg"]}=new PlayerCommandPreprocessEvent($this,${${"GLOBALS"}["vejqusgvsjmr"]});${"GLOBALS"}["wbflbrvhk"]="ev";if(mb_strlen($ev->getMessage(),"UTF-8")>320){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["wbflbrvhk"]});if($ev->isCancelled()){break;}if(substr($ev->getMessage(),0,1)==="/"){Timings::$playerCommandTimer->startTiming();$this->server->dispatchCommand($ev->getPlayer(),substr($ev->getMessage(),1));Timings::$playerCommandTimer->stopTiming();}else{$whefimhi="ev";$this->server->getPluginManager()->callEvent(${$whefimhi}=new PlayerChatEvent($this,$ev->getMessage()));if(!$ev->isCancelled()){$this->server->broadcastMessage($this->getServer()->getLanguage()->translateString($ev->getFormat(),[$ev->getPlayer()->getDisplayName(),$ev->getMessage()]),$ev->getRecipients());}}}}}break;case ProtocolInfo::CONTAINER_CLOSE_PACKET:case\pocketmine\network\protocol\p70\Info::CONTAINER_CLOSE_PACKET:if($this->spawned===false or$packet->windowid===0){break;}$this->craftingType=self::CRAFTING_SMALL;if(isset($this->windowIndex[$packet->windowid])){$this->server->getPluginManager()->callEvent(new InventoryCloseEvent($this->windowIndex[$packet->windowid],$this));$this->removeWindow($this->windowIndex[$packet->windowid]);}foreach($this->getFloatingInventory()->getContents()as${${"GLOBALS"}["jecskzubn"]}){$this->getTransactionQueue()->addTransaction(new DropItemTransaction(${${"GLOBALS"}["iilrmljxz"]}));}break;case ProtocolInfo::CRAFTING_EVENT_PACKET:case\pocketmine\network\protocol\p70\Info::CRAFTING_EVENT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}${${"GLOBALS"}["nvkxnwvhd"]}=$this->server->getCraftingManager()->getRecipe($packet->id);if($this->craftingType===self::CRAFTING_ANVIL){$rjbhfemcu="recipe";${${"GLOBALS"}["hgmhrnrjon"]}=$this->windowIndex[$packet->windowId]??null;if(${${"GLOBALS"}["hgmhrnrjon"]}===null){foreach($this->windowIndex as${${"GLOBALS"}["axzwln"]}){if(${${"GLOBALS"}["axzwln"]} instanceof AnvilInventory){${"GLOBALS"}["ltpnpwrzb"]="anvilInventory";$hedjggykix="window";${${"GLOBALS"}["ltpnpwrzb"]}=${$hedjggykix};break;}}if(${${"GLOBALS"}["hgmhrnrjon"]}===null){$this->getServer()->getLogger()->debug("Couldn't find an anvil window for ".$this->getName().", exiting");$this->inventory->sendContents($this);break;}}if(${$rjbhfemcu}===null){if(!$anvilInventory->onRename($this,$packet->output[0])){$this->getServer()->getLogger()->debug($this->getName()." failed to rename an item in an anvil");$this->inventory->sendContents($this);}}else{}break;}elseif((${$ijrepr} instanceof BigShapelessRecipe or${${"GLOBALS"}["gyqpqnr"]} instanceof BigShapedRecipe)and$this->craftingType===0){$this->server->getLogger()->debug("Received big crafting recipe from ".$this->getName()." with no crafting table open");$this->inventory->sendContents($this);break;}elseif(${${"GLOBALS"}["dfrvwpi"]}===null){$this->server->getLogger()->debug("Null (unknown) crafting recipe received from ".$this->getName()." for ".$packet->output[0]);$this->inventory->sendContents($this);break;}foreach($packet->input as${${"GLOBALS"}["nncbdmdp"]}=>${${"GLOBALS"}["xinyqdi"]}){if($item->getDamage()===-1 or$item->getDamage()===0xffff){$item->setDamage(null);}if(${${"GLOBALS"}["yicyexuhqi"]}<9 and$item->getId()>0){$item->setCount(1);}}${${"GLOBALS"}["qbhrokkecsmn"]}=true;if(count($packet->input)===0){${"GLOBALS"}["gscnndyqrp"]="possibleRecipes";$bwomqfwi="recipe";${${"GLOBALS"}["gscnndyqrp"]}=$this->server->getCraftingManager()->getRecipesByResult($packet->output[0]);if(!$packet->output[0]->deepEquals($recipe->getResult())){$this->server->getLogger()->debug("Mismatched desktop recipe received from player ".$this->getName().", expected ".$recipe->getResult().", got ".$packet->output[0]);}${$bwomqfwi}=null;foreach(${${"GLOBALS"}["adicrnq"]} as${${"GLOBALS"}["odnecvfhuz"]}){${"GLOBALS"}["noszoiudfr"]="floatingInventory";${${"GLOBALS"}["noszoiudfr"]}=clone$this->floatingInventory;${${"GLOBALS"}["icvtatikpgn"]}=$r->getIngredientList();foreach(${${"GLOBALS"}["icvtatikpgn"]} as${${"GLOBALS"}["tppwguly"]}){${"GLOBALS"}["bjdwjax"]="ingredient";if(!$floatingInventory->contains(${${"GLOBALS"}["bjdwjax"]})){${${"GLOBALS"}["qbhrokkecsmn"]}=false;break;}$wvquuzeix="ingredient";$floatingInventory->removeItem(${$wvquuzeix});}if(${${"GLOBALS"}["qbhrokkecsmn"]}){${"GLOBALS"}["usfynppqljk"]="r";$gtxopapt="recipe";${$gtxopapt}=${${"GLOBALS"}["usfynppqljk"]};break;}}if(${${"GLOBALS"}["nvkxnwvhd"]}!==null){$jjxcertfksn="ingredients";$jjdrjyhsgj="recipe";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new CraftItemEvent($this,${$jjxcertfksn},${$jjdrjyhsgj}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}$this->floatingInventory=${${"GLOBALS"}["qkfywpzvbxtk"]};$this->floatingInventory->addItem(clone$recipe->getResult());}else{$this->server->getLogger()->debug("Unmatched desktop crafting recipe ".$packet->id." from player ".$this->getName());$this->inventory->sendContents($this);break;}}else{${"GLOBALS"}["qamiqylfkaif"]="result";${"GLOBALS"}["kongyktd"]="recipe";$qeennkqjnh="ingredients";${"GLOBALS"}["suhivdsp"]="used";$jpuynbuw="count";${"GLOBALS"}["ajkugv"]="canCraft";if(${${"GLOBALS"}["nvkxnwvhd"]} instanceof ShapedRecipe){${"GLOBALS"}["mpylgxxlzaj"]="x";${"GLOBALS"}["itdoxorkp"]="canCraft";for(${${"GLOBALS"}["emtgqqv"]}=0;${${"GLOBALS"}["emtgqqv"]}<3 and${${"GLOBALS"}["itdoxorkp"]};++${${"GLOBALS"}["mpylgxxlzaj"]}){$xtyruukwf="y";${"GLOBALS"}["surodpfirpg"]="y";for(${${"GLOBALS"}["mhoejwx"]}=0;${${"GLOBALS"}["surodpfirpg"]}<3;++${$xtyruukwf}){${"GLOBALS"}["ehtiolp"]="x";${${"GLOBALS"}["iilrmljxz"]}=$packet->input[${${"GLOBALS"}["mhoejwx"]}*3+${${"GLOBALS"}["emtgqqv"]}];${"GLOBALS"}["wtdelby"]="ingredient";${${"GLOBALS"}["tppwguly"]}=$recipe->getIngredient(${${"GLOBALS"}["ehtiolp"]},${${"GLOBALS"}["mhoejwx"]});if($item->getCount()>0 and$item->getId()>0){if(${${"GLOBALS"}["tppwguly"]}==null){${"GLOBALS"}["bnwskv"]="canCraft";${${"GLOBALS"}["bnwskv"]}=false;break;}if($ingredient->getId()!=0 and!$ingredient->deepEquals(${${"GLOBALS"}["iilrmljxz"]},$ingredient->getDamage()!==null,$ingredient->getCompoundTag()!==null)){${"GLOBALS"}["gkecdwtk"]="canCraft";${${"GLOBALS"}["gkecdwtk"]}=false;break;}}elseif(${${"GLOBALS"}["wtdelby"]}!==null and$item->getId()!==0){${"GLOBALS"}["csomupsgr"]="canCraft";${${"GLOBALS"}["csomupsgr"]}=false;break;}}}}elseif(${${"GLOBALS"}["kongyktd"]} instanceof ShapelessRecipe){$vlwdjtc="x";$yftzxefylp="needed";${$yftzxefylp}=$recipe->getIngredientList();${"GLOBALS"}["glxnctky"]="x";${"GLOBALS"}["ipleoliiqbc"]="canCraft";for(${${"GLOBALS"}["emtgqqv"]}=0;${$vlwdjtc}<3 and${${"GLOBALS"}["ipleoliiqbc"]};++${${"GLOBALS"}["glxnctky"]}){$rutdljfrpfwc="y";for(${${"GLOBALS"}["mhoejwx"]}=0;${$rutdljfrpfwc}<3;++${${"GLOBALS"}["mhoejwx"]}){${${"GLOBALS"}["iilrmljxz"]}=clone$packet->input[${${"GLOBALS"}["mhoejwx"]}*3+${${"GLOBALS"}["emtgqqv"]}];$ahbvglgbqw="needed";foreach(${$ahbvglgbqw} as${${"GLOBALS"}["ynhgqkpwt"]}=>${${"GLOBALS"}["eenngyqlwftm"]}){$ipjnerndbf="item";if($n->deepEquals(${$ipjnerndbf},$n->getDamage()!==null,$n->getCompoundTag()!==null)){${"GLOBALS"}["cimtmpf"]="remove";${${"GLOBALS"}["cimtmpf"]}=min($n->getCount(),$item->getCount());$n->setCount($n->getCount()-${${"GLOBALS"}["dfhgismzjwfr"]});$item->setCount($item->getCount()-${${"GLOBALS"}["dfhgismzjwfr"]});if($n->getCount()===0){unset(${${"GLOBALS"}["jtntyapuvy"]}[${${"GLOBALS"}["ynhgqkpwt"]}]);}}}if($item->getCount()>0){$bfhezttakj="canCraft";${$bfhezttakj}=false;break;}}}if(count(${${"GLOBALS"}["jtntyapuvy"]})>0){${${"GLOBALS"}["qbhrokkecsmn"]}=false;}}else{${"GLOBALS"}["jowyojsaqjq"]="canCraft";${${"GLOBALS"}["jowyojsaqjq"]}=false;}${${"GLOBALS"}["qbhrokkecsmn"]}=true;${"GLOBALS"}["ehjxcurf"]="extraItem";${$qeennkqjnh}=$packet->input;${${"GLOBALS"}["uzquuflimrlo"]}=$packet->output[0];${"GLOBALS"}["vnkjwaewujgx"]="used";if(!${${"GLOBALS"}["qbhrokkecsmn"]} or!$recipe->getResult()->deepEquals(${${"GLOBALS"}["qamiqylfkaif"]})){$qoburfrsfmn="result";$this->server->getLogger()->debug("Unmatched recipe ".$recipe->getId()." from player ".$this->getName().": expected ".$recipe->getResult().", got ".${$qoburfrsfmn}.", using: ".implode(", ",${${"GLOBALS"}["icvtatikpgn"]}));$this->inventory->sendContents($this);break;}${${"GLOBALS"}["vnkjwaewujgx"]}=array_fill(0,$this->inventory->getSize(),0);$apkjyu="ingredients";foreach(${${"GLOBALS"}["icvtatikpgn"]} as${${"GLOBALS"}["tppwguly"]}){$gkfwcbb="slot";$nkjtnuthr="slot";${"GLOBALS"}["nknoyo"]="index";${$nkjtnuthr}=-1;foreach($this->inventory->getContents()as${${"GLOBALS"}["nknoyo"]}=>${${"GLOBALS"}["yicyexuhqi"]}){${"GLOBALS"}["ffzhbui"]="used";if($ingredient->getId()!==0 and$ingredient->deepEquals(${${"GLOBALS"}["yicyexuhqi"]},$ingredient->getDamage()!==null)and($i->getCount()-${${"GLOBALS"}["ffzhbui"]}[${${"GLOBALS"}["vtsgjeil"]}])>=1){${${"GLOBALS"}["vgatxryzd"]}=${${"GLOBALS"}["vtsgjeil"]};${${"GLOBALS"}["oghxtukweu"]}[${${"GLOBALS"}["vtsgjeil"]}]++;break;}}if($ingredient->getId()!==0 and${$gkfwcbb}===-1){${${"GLOBALS"}["qbhrokkecsmn"]}=false;break;}}if(!${${"GLOBALS"}["ajkugv"]}){$this->server->getLogger()->debug("Unmatched recipe ".$recipe->getId()." from player ".$this->getName().": client does not have enough items, using: ".implode(", ",${${"GLOBALS"}["icvtatikpgn"]}));$this->inventory->sendContents($this);break;}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new CraftItemEvent($this,${$apkjyu},${${"GLOBALS"}["nvkxnwvhd"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}foreach(${${"GLOBALS"}["suhivdsp"]} as${${"GLOBALS"}["vgatxryzd"]}=>${$jpuynbuw}){if(${${"GLOBALS"}["lgbcrlhcta"]}===0){continue;}${${"GLOBALS"}["iilrmljxz"]}=$this->inventory->getItem(${${"GLOBALS"}["vgatxryzd"]});if($item->getCount()>${${"GLOBALS"}["lgbcrlhcta"]}){${"GLOBALS"}["etnnpowpzdk"]="item";${"GLOBALS"}["xlslgrje"]="newItem";$ledwrbiupo="count";${${"GLOBALS"}["xlslgrje"]}=clone${${"GLOBALS"}["etnnpowpzdk"]};$newItem->setCount($item->getCount()-${$ledwrbiupo});}else{$xqggqtbon="newItem";${$xqggqtbon}=Item::get(Item::AIR,0,0);}$this->inventory->setItem(${${"GLOBALS"}["vgatxryzd"]},${${"GLOBALS"}["pdupogu"]});}${${"GLOBALS"}["rphvvygwidfx"]}=$this->inventory->addItem($recipe->getResult());if(count(${${"GLOBALS"}["ehjxcurf"]})>0 and!$this->isCreative()){${"GLOBALS"}["gytnftkueniz"]="extraItem";$qngyilrzfxd="item";foreach(${${"GLOBALS"}["gytnftkueniz"]} as${$qngyilrzfxd}){${"GLOBALS"}["ertzonyjsej"]="item";$this->level->dropItem($this,${${"GLOBALS"}["ertzonyjsej"]});}}}switch($recipe->getResult()->getId()){case Item::WORKBENCH:$this->awardAchievement("buildWorkBench");break;case Item::WOODEN_PICKAXE:$this->awardAchievement("buildPickaxe");break;case Item::FURNACE:$this->awardAchievement("buildFurnace");break;case Item::WOODEN_HOE:$this->awardAchievement("buildHoe");break;case Item::BREAD:$this->awardAchievement("makeBread");break;case Item::CAKE:$this->awardAchievement("bakeCake");$this->inventory->addItem(Item::get(Item::BUCKET,0,3));break;case Item::STONE_PICKAXE:case Item::GOLD_PICKAXE:case Item::IRON_PICKAXE:case Item::DIAMOND_PICKAXE:$this->awardAchievement("buildBetterPickaxe");break;case Item::WOODEN_SWORD:$this->awardAchievement("buildSword");break;case Item::DIAMOND:$this->awardAchievement("diamond");break;}break;case ProtocolInfo::CONTAINER_SET_SLOT_PACKET:case\pocketmine\network\protocol\p70\Info::CONTAINER_SET_SLOT_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}if($packet->slot<0){break;}if($packet->windowid===0){if($packet->slot>=$this->inventory->getSize()){break;}${${"GLOBALS"}["wwyxljkd"]}=new BaseTransaction($this->inventory,$packet->slot,$packet->item);}elseif($packet->windowid===ContainerSetContentPacket::SPECIAL_ARMOR){if($packet->slot>=4){break;}${${"GLOBALS"}["wwyxljkd"]}=new BaseTransaction($this->inventory,$packet->slot+$this->inventory->getSize(),$packet->item);}elseif(isset($this->windowIndex[$packet->windowid])){$sbpjywy="inv";${"GLOBALS"}["mcnrkbtyam"]="inv";$bjfgfpkij="achievements";${"GLOBALS"}["ysvhwcvw"]="transaction";${${"GLOBALS"}["tgmviw"]}=$this->windowIndex[$packet->windowid];${$bjfgfpkij}=[];if(${$sbpjywy} instanceof FurnaceInventory and$inv->getItem($packet->slot)->getId()===Item::IRON_INGOT and$packet->slot===FurnaceInventory::RESULT){$agjkrqxi="achievements";${$agjkrqxi}[]="acquireIron";}elseif(${${"GLOBALS"}["tgmviw"]} instanceof EnchantInventory and$packet->item->hasEnchantments()){$inv->onEnchant($this,$inv->getItem($packet->slot),$packet->item);}${${"GLOBALS"}["ysvhwcvw"]}=new BaseTransaction(${${"GLOBALS"}["mcnrkbtyam"]},$packet->slot,$packet->item,${${"GLOBALS"}["ptsbchlgjw"]});}else{break;}$this->getTransactionQueue()->addTransaction(${${"GLOBALS"}["mfyfowbxfb"]});break;case ProtocolInfo::BLOCK_ENTITY_DATA_PACKET:case\pocketmine\network\protocol\p70\Info::BLOCK_ENTITY_DATA_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;${$tpfbnoelo}=new Vector3($packet->x,$packet->y,$packet->z);if($pos->distanceSquared($this)>10000){break;}${$cnxkewkxm}=$this->level->getTile(${$nifther});if(${$dywxge} instanceof Sign){$jwfxstovarc="nbt";${$jwfxstovarc}=new NBT(NBT::LITTLE_ENDIAN);${"GLOBALS"}["eojnrdoh"]="nbt";$nbt->read($packet->namedtag);${${"GLOBALS"}["efjvqop"]}=$nbt->getData();if(${${"GLOBALS"}["eojnrdoh"]}["id"]!==Tile::SIGN){$t->spawnTo($this);}else{$bbqjjhi="nbt";${"GLOBALS"}["qkgphhnackkq"]="nbt";${"GLOBALS"}["osvgirjykr"]="ev";${${"GLOBALS"}["osvgirjykr"]}=new SignChangeEvent($t->getBlock(),$this,[TextFormat::clean(${${"GLOBALS"}["qkgphhnackkq"]}["Text1"],$this->removeFormat),TextFormat::clean(${${"GLOBALS"}["efjvqop"]}["Text2"],$this->removeFormat),TextFormat::clean(${$bbqjjhi}["Text3"],$this->removeFormat),TextFormat::clean(${${"GLOBALS"}["efjvqop"]}["Text4"],$this->removeFormat)]);if(!isset($t->namedtag->Creator)or$t->namedtag["Creator"]!==$this->getRawUniqueId()){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if(!$ev->isCancelled()){$t->setText($ev->getLine(0),$ev->getLine(1),$ev->getLine(2),$ev->getLine(3));}else{$t->spawnTo($this);}}}break;default:break;}}public function kick($reason="",$isAdmin=true){${"GLOBALS"}["pxzfitrp"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["pxzfitrp"]}=new PlayerKickEvent($this,${${"GLOBALS"}["tljithwdtrob"]},$this->getLeaveMessage()));if(!$ev->isCancelled()){if(${${"GLOBALS"}["dwlsxgeijy"]}){$fcfqpfdvkf="message";${"GLOBALS"}["mjvexa"]="reason";$ewftqupbxhe="reason";${$fcfqpfdvkf}="Kicked by admin.".(${$ewftqupbxhe}!==""?" Reason: ".${${"GLOBALS"}["mjvexa"]}:"");}else{${"GLOBALS"}["vnuqkdihx"]="reason";if(${${"GLOBALS"}["vnuqkdihx"]}===""){${${"GLOBALS"}["vejqusgvsjmr"]}="disconnectionScreen.noReason";}else{${"GLOBALS"}["eetmugji"]="reason";$xdstszoteu="message";${$xdstszoteu}=${${"GLOBALS"}["eetmugji"]};}}$this->close($ev->getQuitMessage(),${${"GLOBALS"}["vejqusgvsjmr"]});return true;}return false;}public function dropItem(Item$item){$yphwkvxpybd="ev";$hymlievlh="item";$aokrbmvyk="motion";${"GLOBALS"}["ekqidlr"]="item";if($this->spawned===false or$this->blocked===true or!$this->isAlive()){return;}if(($this->isCreative()and$this->server->limitedCreative)or$this->isSpectator()){return;}if($item->getId()===Item::AIR or$item->getCount()<1){return;}${$yphwkvxpybd}=new PlayerDropItemEvent($this,${$hymlievlh});${"GLOBALS"}["lxigitso"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["lxigitso"]});if($ev->isCancelled()){return;}${$aokrbmvyk}=$this->getDirectionVector()->multiply(0.4);$this->level->dropItem($this->add(0,1.3,0),${${"GLOBALS"}["ekqidlr"]},${${"GLOBALS"}["lwevctbnvi"]},40);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}public function sendMessage($message){$bkqyeto="mes";$salxrvrtytej="message";$pnveiowfvuqw="message";if(${$pnveiowfvuqw} instanceof TextContainer){${"GLOBALS"}["uxcwuv"]="message";${"GLOBALS"}["xhbgfwkf"]="message";if(${${"GLOBALS"}["xhbgfwkf"]} instanceof TranslationContainer){$this->sendTranslation($message->getText(),$message->getParameters());return false;}${${"GLOBALS"}["uxcwuv"]}=$message->getText();}$bnknrmux="mes";${$bkqyeto}=explode("\n",$this->server->getLanguage()->translateString(${$salxrvrtytej}));foreach(${$bnknrmux} as${${"GLOBALS"}["xglddxru"]}){if(${${"GLOBALS"}["xglddxru"]}!==""){${"GLOBALS"}["hpcioelcb"]="m";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerTextPreSendEvent($this,${${"GLOBALS"}["hpcioelcb"]},PlayerTextPreSendEvent::MESSAGE));if(!$ev->isCancelled()){$dmdzqfet="pk";${${"GLOBALS"}["wzarnypqog"]}=new TextPacket();$pk->type=TextPacket::TYPE_RAW;$pk->message=$ev->getMessage();$this->dataPacket(${$dmdzqfet});}}}return true;}public function sendTranslation($message,array$parameters=[]){${"GLOBALS"}["xirouel"]="pk";${${"GLOBALS"}["xirouel"]}=new TextPacket();${"GLOBALS"}["bhqwwag"]="ev";if(!$this->server->isLanguageForced()){${"GLOBALS"}["zodgckzes"]="message";$ohbowsl="parameters";$pk->type=TextPacket::TYPE_TRANSLATION;${"GLOBALS"}["dyhylavv"]="parameters";$pk->message=$this->server->getLanguage()->translateString(${${"GLOBALS"}["zodgckzes"]},${$ohbowsl},"pocketmine.");foreach(${${"GLOBALS"}["qigdwzbmxfh"]} as${${"GLOBALS"}["yicyexuhqi"]}=>${${"GLOBALS"}["yutppkq"]}){${"GLOBALS"}["fbclvf"]="i";${"GLOBALS"}["iyymxkuqg"]="parameters";$jvribaiuyfu="parameters";${${"GLOBALS"}["iyymxkuqg"]}[${${"GLOBALS"}["fbclvf"]}]=$this->server->getLanguage()->translateString(${${"GLOBALS"}["yutppkq"]},${$jvribaiuyfu},"pocketmine.");}$pk->parameters=${${"GLOBALS"}["dyhylavv"]};}else{${"GLOBALS"}["sjgbluqaowl"]="message";$pk->type=TextPacket::TYPE_RAW;$pk->message=$this->server->getLanguage()->translateString(${${"GLOBALS"}["sjgbluqaowl"]},${${"GLOBALS"}["qigdwzbmxfh"]});}${${"GLOBALS"}["gnodacyuno"]}=new PlayerTextPreSendEvent($this,$pk->message,PlayerTextPreSendEvent::TRANSLATED_MESSAGE);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["bhqwwag"]});if(!$ev->isCancelled()){$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});return true;}return false;}public function sendPopup($message,$subtitle=""){${"GLOBALS"}["vwgpsj"]="ev";$rcbkykob="ev";${${"GLOBALS"}["vwgpsj"]}=new PlayerTextPreSendEvent($this,${${"GLOBALS"}["vejqusgvsjmr"]},PlayerTextPreSendEvent::POPUP);$this->server->getPluginManager()->callEvent(${$rcbkykob});if(!$ev->isCancelled()){${${"GLOBALS"}["wzarnypqog"]}=new TextPacket();$pk->type=TextPacket::TYPE_POPUP;$pk->source=$ev->getMessage();$pk->message=${${"GLOBALS"}["tdblsvbfozv"]};$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});return true;}return false;}public function sendTip($message){${"GLOBALS"}["xhntcrl"]="message";${${"GLOBALS"}["gnodacyuno"]}=new PlayerTextPreSendEvent($this,${${"GLOBALS"}["xhntcrl"]},PlayerTextPreSendEvent::TIP);$rybyyoeuo="ev";$this->server->getPluginManager()->callEvent(${$rybyyoeuo});if(!$ev->isCancelled()){${${"GLOBALS"}["wzarnypqog"]}=new TextPacket();$pk->type=TextPacket::TYPE_TIP;$pk->message=$ev->getMessage();$this->dataPacket(${${"GLOBALS"}["wzarnypqog"]});return true;}return false;}public final function close($message="",$reason="generic reason",$notify=true){if($this->connected and!$this->closed){$lhhccerlo="player";$zbcgunnqfx="reason";if(${${"GLOBALS"}["hkbnuik"]} and strlen((string)${$zbcgunnqfx})>0){${"GLOBALS"}["vnuslv"]="reason";if($this->getProtocol()==84){$byruon="pk";${$byruon}=new DisconnectPacket();}elseif(AnyVersionManager::isProtocol($this,"0.14")){${"GLOBALS"}["incijlxqhkx"]="pk";${${"GLOBALS"}["incijlxqhkx"]}=new\pocketmine\network\protocol\p70\DisconnectPacket();}$pk->message=${${"GLOBALS"}["vnuslv"]};$this->directDataPacket(${${"GLOBALS"}["wzarnypqog"]});}$gnvmtudifw="ev";$hkvrqghrnxs="d";if($this->fishingHook instanceof FishingHook){$this->fishingHook->close();$this->fishingHook=null;}$this->removeEffect(Effect::HEALTH_BOOST);${"GLOBALS"}["bxtxfxhubnx"]="index";$this->connected=false;if(strlen($this->getName())>0){$ebxeykionjt="message";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]}=new PlayerQuitEvent($this,${$ebxeykionjt},true));if($this->loggedIn===true and$ev->getAutoSave()){$this->save();}}foreach($this->server->getOnlinePlayers()as${$lhhccerlo}){if(!$player->canSee($this)){$player->showPlayer($this);}}$this->hiddenPlayers=[];foreach($this->windowIndex as${${"GLOBALS"}["axzwln"]}){${"GLOBALS"}["dtmcvpm"]="window";$this->removeWindow(${${"GLOBALS"}["dtmcvpm"]});}foreach($this->usedChunks as${${"GLOBALS"}["bxtxfxhubnx"]}=>${$hkvrqghrnxs}){$dpsvxoj="chunkX";Level::getXZ(${${"GLOBALS"}["vtsgjeil"]},${${"GLOBALS"}["asyeeoldmud"]},${${"GLOBALS"}["pberoxjkdy"]});$kutmqibkfese="chunkZ";$this->level->unregisterChunkLoader($this,${$dpsvxoj},${$kutmqibkfese});unset($this->usedChunks[${${"GLOBALS"}["vtsgjeil"]}]);}parent::close();$this->interface->close($this,${${"GLOBALS"}["hkbnuik"]}?${${"GLOBALS"}["tljithwdtrob"]}:"");if($this->loggedIn){$this->server->removeOnlinePlayer($this);}$this->loggedIn=false;if(isset(${$gnvmtudifw})and$this->username!=""and$this->spawned!==false and$ev->getQuitMessage()!=""){if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage($ev->getQuitMessage());elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_TIP)$this->server->broadcastTip(str_replace("@player",$this->getName(),$this->server->playerLogoutMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("@player",$this->getName(),$this->server->playerLogoutMsg));}$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_USERS,$this);$this->spawned=false;$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("pocketmine.player.logOut",[TextFormat::AQUA.$this->getName().TextFormat::WHITE,$this->ip,$this->port,$this->getServer()->getLanguage()->translateString(${${"GLOBALS"}["tljithwdtrob"]})]));$this->windows=new\SplObjectStorage();$this->windowIndex=[];$this->usedChunks=[];$this->loadQueue=[];$this->hasSpawned=[];$this->spawnPosition=null;unset($this->buffer);if($this->server->dserverConfig["enable"]and$this->server->dserverConfig["queryAutoUpdate"])$this->server->updateQuery();}if($this->perm!==null){$this->perm->clearPermissions();$this->perm=null;}$this->inventory=null;$this->transactionQueue=null;$this->chunk=null;$this->server->removePlayer($this);}public function __debugInfo(){return[];}public function save($async=false){if($this->closed){throw new\InvalidStateException("Tried to save closed player");}parent::saveNBT();if($this->level instanceof Level){$this->namedtag->Level=new StringTag("Level",$this->level->getName());if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level and$this->spawnPosition->getLevel()->getProvider()!==NULL){$this->namedtag["SpawnLevel"]=$this->spawnPosition->getLevel()->getName();$this->namedtag["SpawnX"]=(int)$this->spawnPosition->x;$this->namedtag["SpawnY"]=(int)$this->spawnPosition->y;$this->namedtag["SpawnZ"]=(int)$this->spawnPosition->z;}foreach($this->achievements as${${"GLOBALS"}["sngxvfhv"]}=>${${"GLOBALS"}["nwrweusm"]}){${"GLOBALS"}["lglfqrlmitvb"]="status";$this->namedtag->Achievements[${${"GLOBALS"}["sngxvfhv"]}]=new ByteTag(${${"GLOBALS"}["sngxvfhv"]},${${"GLOBALS"}["lglfqrlmitvb"]}===true?1:0);}$this->namedtag["playerGameType"]=$this->gamemode;$this->namedtag["lastPlayed"]=new LongTag("lastPlayed",floor(microtime(true)*1000));$this->namedtag["Hunger"]=new ShortTag("Hunger",$this->food);$this->namedtag["Health"]=new ShortTag("Health",$this->getHealth());$this->namedtag["MaxHealth"]=new ShortTag("MaxHealth",$this->getMaxHealth());$this->namedtag["Experience"]=new LongTag("Experience",$this->exp);$this->namedtag["ExpLevel"]=new LongTag("ExpLevel",$this->expLevel);if($this->username!=""and$this->namedtag instanceof CompoundTag){$dcfktmzgqwwj="async";$this->server->saveOfflinePlayerData($this->username,$this->namedtag,${$dcfktmzgqwwj});}}}public function getName(){return$this->username;}public function kill(){${"GLOBALS"}["iixjsewlksc"]="message";$gryqfcv="message";${"GLOBALS"}["vycfha"]="message";${"GLOBALS"}["bsltvgf"]="message";$honcekkn="message";$drabqxfem="cause";if(!$this->spawned){return;}$sfdvwpu="params";${${"GLOBALS"}["vycfha"]}="death.attack.generic";$sttbbks="message";${"GLOBALS"}["syglmnzy"]="message";${"GLOBALS"}["ctkgwnfl"]="ev";$ecqbkcd="params";${"GLOBALS"}["eynqubsxfnv"]="cause";$vhcntytszidh="message";${$ecqbkcd}=[$this->getDisplayName()];${"GLOBALS"}["pblewqrmrsiy"]="message";${$drabqxfem}=$this->getLastDamageCause();switch(${${"GLOBALS"}["eynqubsxfnv"]}===null?EntityDamageEvent::CAUSE_CUSTOM:$cause->getCause()){case EntityDamageEvent::CAUSE_ENTITY_ATTACK:if(${${"GLOBALS"}["xqxhrfllzfq"]} instanceof EntityDamageByEntityEvent){$fjzibgp="e";${"GLOBALS"}["hhqsqbqct"]="e";${${"GLOBALS"}["sdwjxruutsw"]}=$cause->getDamager();if(${$fjzibgp} instanceof Player){$kucpfcnkjjj="message";${$kucpfcnkjjj}="death.attack.player";${${"GLOBALS"}["ymwdgvfhes"]}[]=$e->getDisplayName();break;}elseif(${${"GLOBALS"}["hhqsqbqct"]} instanceof Living){${"GLOBALS"}["jqqujhd"]="message";${${"GLOBALS"}["jqqujhd"]}="death.attack.mob";${${"GLOBALS"}["ymwdgvfhes"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"GLOBALS"}["ymwdgvfhes"]}[]="Unknown";}}break;case EntityDamageEvent::CAUSE_PROJECTILE:if(${${"GLOBALS"}["xqxhrfllzfq"]} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["lqyqsene"]="e";${"GLOBALS"}["bdvdaenmq"]="e";${${"GLOBALS"}["lqyqsene"]}=$cause->getDamager();if(${${"GLOBALS"}["sdwjxruutsw"]} instanceof Player){${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.arrow";${${"GLOBALS"}["ymwdgvfhes"]}[]=$e->getDisplayName();}elseif(${${"GLOBALS"}["bdvdaenmq"]} instanceof Living){${"GLOBALS"}["jlnpvzenah"]="params";${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.arrow";${${"GLOBALS"}["jlnpvzenah"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"GLOBALS"}["ymwdgvfhes"]}[]="Unknown";}}break;case EntityDamageEvent::CAUSE_SUICIDE:${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.generic";break;case EntityDamageEvent::CAUSE_VOID:${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.outOfWorld";break;case EntityDamageEvent::CAUSE_FALL:if(${${"GLOBALS"}["xqxhrfllzfq"]} instanceof EntityDamageEvent){if($cause->getFinalDamage()>2){${"GLOBALS"}["jdwwccdxykrh"]="message";${${"GLOBALS"}["jdwwccdxykrh"]}="death.fell.accident.generic";break;}}${${"GLOBALS"}["pblewqrmrsiy"]}="death.attack.fall";break;case EntityDamageEvent::CAUSE_SUFFOCATION:${${"GLOBALS"}["syglmnzy"]}="death.attack.inWall";break;case EntityDamageEvent::CAUSE_LAVA:${$vhcntytszidh}="death.attack.lava";break;case EntityDamageEvent::CAUSE_FIRE:${${"GLOBALS"}["bsltvgf"]}="death.attack.onFire";break;case EntityDamageEvent::CAUSE_FIRE_TICK:${${"GLOBALS"}["iixjsewlksc"]}="death.attack.inFire";break;case EntityDamageEvent::CAUSE_DROWNING:${$gryqfcv}="death.attack.drown";break;case EntityDamageEvent::CAUSE_CONTACT:if(${${"GLOBALS"}["xqxhrfllzfq"]} instanceof EntityDamageByBlockEvent){if($cause->getDamager()->getId()===Block::CACTUS){${"GLOBALS"}["xqsptnumvmfu"]="message";${${"GLOBALS"}["xqsptnumvmfu"]}="death.attack.cactus";}}break;case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:if(${${"GLOBALS"}["xqxhrfllzfq"]} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["uqrftmo"]="e";${${"GLOBALS"}["sdwjxruutsw"]}=$cause->getDamager();if(${${"GLOBALS"}["sdwjxruutsw"]} instanceof Player){${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.explosion.player";${${"GLOBALS"}["ymwdgvfhes"]}[]=$e->getDisplayName();}elseif(${${"GLOBALS"}["uqrftmo"]} instanceof Living){${${"GLOBALS"}["vejqusgvsjmr"]}="death.attack.explosion.player";${${"GLOBALS"}["ymwdgvfhes"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}}else{${"GLOBALS"}["uywgcqzag"]="message";${${"GLOBALS"}["uywgcqzag"]}="death.attack.explosion";}break;case EntityDamageEvent::CAUSE_MAGIC:${$sttbbks}="death.attack.magic";break;case EntityDamageEvent::CAUSE_CUSTOM:break;default:}Entity::kill();${${"GLOBALS"}["ctkgwnfl"]}=new PlayerDeathEvent($this,$this->getDrops(),new TranslationContainer(${$honcekkn},${$sfdvwpu}));$ev->setKeepInventory($this->server->keepInventory);$ev->setKeepExperience($this->server->keepExperience);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["gnodacyuno"]});if(!$ev->getKeepInventory()){foreach($ev->getDrops()as${${"GLOBALS"}["iilrmljxz"]}){${"GLOBALS"}["fhhhpfnkl"]="item";$this->level->dropItem($this,${${"GLOBALS"}["fhhhpfnkl"]});}if($this->inventory!==null){$this->inventory->clearAll();}}if($this->server->expEnabled and!$ev->getKeepExperience()){$cetbekds="exp";${$cetbekds}=min(91,$this->getTotalXp());$this->getLevel()->spawnXPOrb($this->add(0,0.2,0),${${"GLOBALS"}["jdqqbsfkmbh"]});$this->setTotalXp(0,true);}if($ev->getDeathMessage()!=""){$this->server->broadcast($ev->getDeathMessage(),Server::BROADCAST_CHANNEL_USERS);}${${"GLOBALS"}["kozwdu"]}=$this->getSpawn();$this->setHealth(0);$ypchomkhzop="pk";${${"GLOBALS"}["wzarnypqog"]}=new RespawnPacket();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${$ypchomkhzop});}public function setHealth($amount){parent::setHealth(${${"GLOBALS"}["bsmoqyvevs"]});if($this->spawned===true){$this->foodTick=0;$this->getAttributeMap()->getAttribute(Attribute::HEALTH)->setMaxValue($this->getMaxHealth())->setValue(${${"GLOBALS"}["bsmoqyvevs"]},true);}}public function attack($damage,EntityDamageEvent$source){if(!$this->isAlive()){return;}$vneunrrhct="source";if($this->isCreative()and$source->getCause()!==EntityDamageEvent::CAUSE_MAGIC and$source->getCause()!==EntityDamageEvent::CAUSE_SUICIDE and$source->getCause()!==EntityDamageEvent::CAUSE_VOID){$source->setCancelled();}elseif($this->allowFlight and$source->getCause()===EntityDamageEvent::CAUSE_FALL){$source->setCancelled();}parent::attack(${${"GLOBALS"}["tmwhfwizvc"]},${${"GLOBALS"}["qimkoyy"]});if($source->isCancelled()){return;}elseif($this->getLastDamageCause()===${$vneunrrhct} and$this->spawned){${"GLOBALS"}["bnesqfb"]="pk";$elhxegej="pk";${$elhxegej}=new EntityEventPacket();$pk->eid=0;$pk->event=EntityEventPacket::HURT_ANIMATION;$this->dataPacket(${${"GLOBALS"}["bnesqfb"]});if($this->isSurvival()){$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_DAMAGE);}}}public function sendPosition(Vector3$pos,$yaw=null,$pitch=null,$mode=0,array$targets=null){$ylollkflhle="pitch";$njoypmgg="pk";${"GLOBALS"}["vgzqgcmm"]="pitch";${"GLOBALS"}["ctopxcghh"]="yaw";${"GLOBALS"}["fjyimoropvh"]="pitch";$mtmnwcfjojy="yaw";${${"GLOBALS"}["bcolpuljld"]}=${${"GLOBALS"}["ctopxcghh"]}===null?$this->yaw:${$mtmnwcfjojy};${${"GLOBALS"}["vgzqgcmm"]}=${${"GLOBALS"}["fjyimoropvh"]}===null?$this->pitch:${$ylollkflhle};${$njoypmgg}=new MovePlayerPacket();${"GLOBALS"}["tgcrmizohf"]="pitch";$pk->eid=$this->getId();$pk->x=$pos->x;${"GLOBALS"}["dguatuv"]="targets";${"GLOBALS"}["ujwcjlhf"]="mode";$pk->y=$pos->y+$this->getEyeHeight();$pk->z=$pos->z;$pk->bodyYaw=${${"GLOBALS"}["bcolpuljld"]};$pk->pitch=${${"GLOBALS"}["tgcrmizohf"]};$pk->yaw=${${"GLOBALS"}["bcolpuljld"]};$pk->mode=${${"GLOBALS"}["ujwcjlhf"]};if(${${"GLOBALS"}["dguatuv"]}!==null){$obdhdqlyfof="pk";Server::broadcastPacket(${${"GLOBALS"}["upxiybwcgt"]},${$obdhdqlyfof});}else{${"GLOBALS"}["bwzuvnpt"]="pk";$pk->eid=0;$this->dataPacket(${${"GLOBALS"}["bwzuvnpt"]});}}protected function checkChunks(){if($this->chunk===null or($this->chunk->getX()!==($this->x>>4)or$this->chunk->getZ()!==($this->z>>4))){if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=$this->level->getChunk($this->x>>4,$this->z>>4,true);if(!$this->justCreated){${"GLOBALS"}["ykkyubpdeb"]="newChunk";$tmqulxt="player";${"GLOBALS"}["nkrlbyyx"]="reload";${${"GLOBALS"}["ykkyubpdeb"]}=$this->level->getChunkPlayers($this->x>>4,$this->z>>4);unset(${${"GLOBALS"}["kdivbhwpq"]}[$this->getLoaderId()]);${${"GLOBALS"}["nkrlbyyx"]}=[];foreach($this->hasSpawned as${${"GLOBALS"}["yupjezso"]}){if(!isset(${${"GLOBALS"}["kdivbhwpq"]}[$player->getLoaderId()])){$this->despawnFrom(${${"GLOBALS"}["yupjezso"]});}else{$mvplukaiief="newChunk";$gqqimqd="player";${"GLOBALS"}["xrcgkvxpbnhv"]="reload";unset(${$mvplukaiief}[$player->getLoaderId()]);${${"GLOBALS"}["xrcgkvxpbnhv"]}[]=${$gqqimqd};}}foreach(${${"GLOBALS"}["kdivbhwpq"]} as${$tmqulxt}){$this->spawnTo(${${"GLOBALS"}["yupjezso"]});}}if($this->chunk===null){return;}$this->chunk->addEntity($this);}}protected function checkTeleportPosition(){if($this->teleportPosition!==null){${"GLOBALS"}["ounjoc"]="X";${${"GLOBALS"}["asyeeoldmud"]}=$this->teleportPosition->x>>4;$wqoqrjmo="chunkZ";${"GLOBALS"}["xcvolfhr"]="X";${$wqoqrjmo}=$this->teleportPosition->z>>4;for(${${"GLOBALS"}["oxuultwnlm"]}=-1;${${"GLOBALS"}["xcvolfhr"]}<=1;++${${"GLOBALS"}["ounjoc"]}){${"GLOBALS"}["omtlbjwvdlm"]="Z";${"GLOBALS"}["igpnowrt"]="Z";for(${${"GLOBALS"}["dcmhcbyblq"]}=-1;${${"GLOBALS"}["igpnowrt"]}<=1;++${${"GLOBALS"}["omtlbjwvdlm"]}){${"GLOBALS"}["bohnduagvqv"]="index";$thmbvwnbf="X";$tkdyxfzfehu="chunkZ";$xqtxkiw="Z";${"GLOBALS"}["juhkagg"]="chunkX";$bvxfuuyhwdp="index";if(!isset($this->usedChunks[${$bvxfuuyhwdp}=Level::chunkHash(${${"GLOBALS"}["juhkagg"]}+${$thmbvwnbf},${$tkdyxfzfehu}+${$xqtxkiw})])or$this->usedChunks[${${"GLOBALS"}["bohnduagvqv"]}]===false){return false;}}}$this->sendPosition($this,null,null,1);$this->spawnToAll();$this->forceMovement=$this->teleportPosition;$this->teleportPosition=null;return true;}return true;}public function teleport(Vector3$pos,$yaw=null,$pitch=null){${"GLOBALS"}["bnpynut"]="oldPos";$rjbptfafue="pos";if(!$this->isOnline()){return false;}${${"GLOBALS"}["bnpynut"]}=$this->getPosition();if(parent::teleport(${$rjbptfafue},${${"GLOBALS"}["bcolpuljld"]},${${"GLOBALS"}["gcbahsjfclt"]})){$gjbpdyqpd="window";foreach($this->windowIndex as${$gjbpdyqpd}){$acanwpnjnkou="window";if(${${"GLOBALS"}["axzwln"]}===$this->inventory){continue;}$this->removeWindow(${$acanwpnjnkou});}$this->teleportPosition=new Vector3($this->x,$this->y,$this->z);if(!$this->checkTeleportPosition()){${"GLOBALS"}["lgkhjyzgt"]="oldPos";$this->forceMovement=${${"GLOBALS"}["lgkhjyzgt"]};}else{$this->spawnToAll();}$this->resetFallDistance();$this->nextChunkOrderRun=0;$this->newPosition=null;$this->stopSleep();return true;}return false;}public function teleportImmediate(Vector3$pos,$yaw=null,$pitch=null){${"GLOBALS"}["gvkwochb"]="pitch";if(parent::teleport(${${"GLOBALS"}["kozwdu"]},${${"GLOBALS"}["bcolpuljld"]},${${"GLOBALS"}["gvkwochb"]})){${"GLOBALS"}["omdnxye"]="window";foreach($this->windowIndex as${${"GLOBALS"}["omdnxye"]}){$etzminlvbg="window";if(${$etzminlvbg}===$this->inventory){continue;}$this->removeWindow(${${"GLOBALS"}["axzwln"]});}$this->forceMovement=new Vector3($this->x,$this->y,$this->z);$this->sendPosition($this,$this->yaw,$this->pitch,1);$this->resetFallDistance();$this->orderChunks();$this->nextChunkOrderRun=0;$this->newPosition=null;}}public function getWindowId(Inventory$inventory):int{$rpspchxtyq="inventory";if($this->windows->contains(${$rpspchxtyq})){$htfalgujysb="inventory";return$this->windows[${$htfalgujysb}];}return-1;}public function addWindow(Inventory$inventory,$forceId=null):int{$rhgmcj="inventory";${"GLOBALS"}["ktklpwnyvo"]="inventory";$mtnhtjhyk="cnt";if($this->windows->contains(${$rhgmcj})){return$this->windows[${${"GLOBALS"}["gkfbokdkay"]}];}${"GLOBALS"}["ppebtifhsg"]="forceId";if(${${"GLOBALS"}["ppebtifhsg"]}===null){$this->windowCnt=${${"GLOBALS"}["awpifowewpqj"]}=max(2,++$this->windowCnt%99);}else{$yrotbokpw="cnt";${"GLOBALS"}["pjnnekr"]="forceId";${$yrotbokpw}=(int)${${"GLOBALS"}["pjnnekr"]};}$this->windowIndex[${${"GLOBALS"}["awpifowewpqj"]}]=${${"GLOBALS"}["ktklpwnyvo"]};$this->windows->attach(${${"GLOBALS"}["gkfbokdkay"]},${$mtnhtjhyk});if($inventory->open($this)){return${${"GLOBALS"}["awpifowewpqj"]};}else{$this->removeWindow(${${"GLOBALS"}["gkfbokdkay"]});return-1;}}public function removeWindow(Inventory$inventory){$inventory->close($this);if($this->windows->contains(${${"GLOBALS"}["gkfbokdkay"]})){$lukhsrdl="id";${"GLOBALS"}["fkybddlhdkqv"]="inventory";${${"GLOBALS"}["pjnqykgjd"]}=$this->windows[${${"GLOBALS"}["fkybddlhdkqv"]}];$this->windows->detach($this->windowIndex[${${"GLOBALS"}["pjnqykgjd"]}]);unset($this->windowIndex[${$lukhsrdl}]);}}public function setMetadata($metadataKey,MetadataValue$metadataValue){${"GLOBALS"}["brznbqexy"]="metadataValue";$this->server->getPlayerMetadata()->setMetadata($this,${${"GLOBALS"}["fwkedbmq"]},${${"GLOBALS"}["brznbqexy"]});}public function getMetadata($metadataKey){return$this->server->getPlayerMetadata()->getMetadata($this,${${"GLOBALS"}["fwkedbmq"]});}public function hasMetadata($metadataKey){${"GLOBALS"}["drrlevxni"]="metadataKey";return$this->server->getPlayerMetadata()->hasMetadata($this,${${"GLOBALS"}["drrlevxni"]});}public function removeMetadata($metadataKey,Plugin$plugin){$this->server->getPlayerMetadata()->removeMetadata($this,${${"GLOBALS"}["fwkedbmq"]},${${"GLOBALS"}["cvuktglw"]});}public function onChunkChanged(FullChunk$chunk){$this->loadQueue[Level::chunkHash($chunk->getX(),$chunk->getZ())]=abs(($this->x>>4)-$chunk->getX())+abs(($this->z>>4)-$chunk->getZ());}public function onChunkLoaded(FullChunk$chunk){}public function onChunkPopulated(FullChunk$chunk){}public function onChunkUnloaded(FullChunk$chunk){}public function onBlockChanged(Vector3$block){}public function getLoaderId(){return$this->loaderId;}public function isLoaderActive(){return$this->isConnected();}public static function getChunkCacheFromData($chunkX,$chunkZ,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){$byilvyiat="chunkZ";$dmbludqxyr="payload";${${"GLOBALS"}["wzarnypqog"]}=new FullChunkDataPacket();$pk->chunkX=${${"GLOBALS"}["asyeeoldmud"]};$bmdeusnjheez="ordering";$pk->chunkZ=${$byilvyiat};$pk->order=${$bmdeusnjheez};$pk->data=${$dmbludqxyr};$pk->encode();return${${"GLOBALS"}["wzarnypqog"]};}} 
?>

Did this file decode correctly?

Original Code

<?php namespace pocketmine;${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63v\x75\x6b\x74\x67lw"]="p\x6cu\x67\x69\x6e";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66w\x6b\x65\x64b\x6d\x71"]="\x6d\x65ta\x64\x61t\x61\x4b\x65y";${"G\x4cO\x42\x41\x4cS"}["a\x77\x70\x69\x66o\x77e\x77\x70\x71\x6a"]="c\x6e\x74";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x6b\x66\x62\x6f\x6b\x64\x6ba\x79"]="\x69nv\x65\x6e\x74\x6f\x72\x79";${"G\x4cO\x42A\x4cS"}["gc\x62\x61h\x73\x6af\x63\x6ct"]="pi\x74\x63\x68";${"\x47L\x4f\x42\x41\x4cS"}["\x6b\x64i\x76\x62h\x77\x70\x71"]="\x6e\x65\x77\x43\x68u\x6ek";${"GLO\x42AL\x53"}["\x75p\x78\x69y\x62\x77cg\x74"]="targe\x74s";${"G\x4c\x4f\x42ALS"}["\x71\x69\x6d\x6b\x6f\x79\x79"]="\x73\x6f\x75\x72\x63e";${"\x47LOB\x41\x4cS"}["\x74m\x77\x68\x66\x77i\x7a\x76\x63"]="d\x61m\x61\x67\x65";${"\x47L\x4f\x42A\x4c\x53"}["b\x73mo\x71y\x76e\x76\x73"]="a\x6d\x6f\x75n\x74";${"G\x4c\x4f\x42\x41\x4cS"}["\x79m\x77\x64g\x76f\x68\x65\x73"]="par\x61ms";${"G\x4c\x4fB\x41LS"}["\x73\x64\x77j\x78\x72u\x75\x74\x73\x77"]="\x65";${"G\x4c\x4f\x42A\x4c\x53"}["\x78q\x78\x68\x72f\x6cl\x7a\x66\x71"]="\x63\x61u\x73\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nw\x72\x77\x65\x75s\x6d"]="\x73ta\x74\x75\x73";${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x6bbn\x75\x69\x6b"]="\x6e\x6f\x74\x69\x66\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x74db\x6c\x73\x76\x62f\x6fz\x76"]="su\x62\x74\x69t\x6ce";${"\x47LOB\x41\x4cS"}["\x71\x69\x67dwz\x62\x6dx\x66\x68"]="p\x61r\x61\x6de\x74\x65\x72\x73";${"\x47\x4c\x4fB\x41L\x53"}["\x78\x67l\x64\x64\x78r\x75"]="\x6d";${"\x47\x4c\x4f\x42A\x4c\x53"}["lw\x65\x76c\x74b\x6e\x76\x69"]="\x6d\x6ft\x69\x6f\x6e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x77\x6cs\x78\x67\x65\x69\x6a\x79"]="i\x73\x41\x64m\x69\x6e";${"\x47\x4c\x4fBA\x4c\x53"}["\x74\x6c\x6ai\x74hwdtr\x6fb"]="\x72\x65\x61\x73on";${"G\x4cO\x42\x41\x4cS"}["\x70\x74s\x62\x63\x68\x6c\x67jw"]="ac\x68\x69\x65ve\x6d\x65\x6et\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x74g\x6d\x76iw"]="\x69nv";${"G\x4cO\x42\x41\x4c\x53"}["\x77w\x79\x78\x6c\x6akd"]="t\x72\x61ns\x61\x63ti\x6f\x6e";${"\x47L\x4f\x42AL\x53"}["rphv\x76\x79\x67w\x69\x64\x66\x78"]="extr\x61I\x74\x65\x6d";${"G\x4cOB\x41\x4c\x53"}["\x70\x64\x75p\x6fg\x75"]="n\x65wI\x74\x65\x6d";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6f\x67\x68\x78tu\x6b\x77\x65\x75"]="\x75s\x65\x64";${"\x47L\x4fB\x41LS"}["\x75\x7a\x71\x75ufli\x6drl\x6f"]="\x72\x65\x73u\x6c\x74";${"\x47\x4cO\x42\x41\x4cS"}["j\x74nt\x79\x61p\x75v\x79"]="n\x65e\x64\x65\x64";${"\x47\x4cOB\x41\x4c\x53"}["\x65e\x6e\x6e\x67yq\x6c\x77\x66\x74m"]="\x6e";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["y\x6ehg\x71\x6b\x70\x77\x74"]="\x6b";${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x6b\x66y\x77\x70\x7a\x76\x62\x78\x74\x6b"]="\x66l\x6f\x61ti\x6e\x67\x49n\x76\x65\x6eto\x72\x79";${"\x47L\x4f\x42A\x4c\x53"}["\x74p\x70\x77\x67\x75ly"]="in\x67r\x65\x64\x69\x65\x6e\x74";${"GLO\x42\x41\x4cS"}["i\x63v\x74\x61\x74\x69\x6b\x70g\x6e"]="\x69\x6e\x67r\x65\x64\x69\x65\x6ets";${"\x47\x4cOBA\x4c\x53"}["\x6f\x64\x6e\x65\x63\x76\x66\x68u\x7a"]="\x72";${"GLOB\x41\x4c\x53"}["\x61d\x69\x63\x72\x6eq"]="\x70\x6fssi\x62\x6c\x65\x52e\x63\x69p\x65s";${"G\x4cO\x42\x41\x4cS"}["\x71\x62\x68\x72o\x6b\x6b\x65cs\x6d\x6e"]="\x63\x61\x6eC\x72af\x74";${"\x47L\x4fBA\x4cS"}["\x61\x78z\x77l\x6e"]="\x77\x69\x6edo\x77";${"\x47L\x4f\x42A\x4c\x53"}["\x68gm\x68\x72\x6erj\x6f\x6e"]="\x61\x6ev\x69\x6c\x49\x6e\x76ent\x6f\x72y";${"\x47\x4cO\x42A\x4cS"}["\x6e\x76\x6bx\x6ewv\x68d"]="r\x65\x63\x69p\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x76\x65j\x71u\x73gv\x73\x6a\x6dr"]="\x6d\x65s\x73\x61\x67\x65";${"G\x4c\x4f\x42\x41LS"}["rd\x77\x79\x71\x70\x72\x68\x6e\x64"]="\x74ho\x72nsE\x76\x65\x6et";${"\x47\x4cO\x42\x41L\x53"}["\x78\x75\x67\x76\x70\x6fy"]="\x66i\x72\x65Ev";${"GL\x4fBA\x4c\x53"}["\x6frb\x6b\x77\x6d\x77k\x65"]="\x66\x69r\x65A\x73\x70\x65\x63t\x4c";${"\x47\x4c\x4fB\x41\x4c\x53"}["ssbm\x6d\x72ond\x76"]="\x63anc\x65\x6c\x6ce\x64";${"GL\x4fBA\x4c\x53"}["\x72\x62\x6e\x6eo\x69k"]="o\x6c\x64I\x74em";${"\x47\x4c\x4fBALS"}["\x64\x6e\x66\x71\x64\x74v"]="v\x65\x63\x74\x6fr";${"\x47\x4cO\x42\x41LS"}["v\x67\x61t\x78\x72yzd"]="\x73\x6cot";${"G\x4c\x4fB\x41\x4c\x53"}["\x71cv\x76xk\x79\x63\x65\x79r\x6e"]="d\x69\x66\x66";${"\x47LO\x42\x41\x4c\x53"}["\x6d\x71\x74\x72i\x61\x74\x75\x63\x71\x6b"]="\x62\x6f\x77";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x66o\x6d\x76\x63\x7ay\x77"]="\x61\x72\x72\x6f\x77";${"\x47LO\x42\x41\x4cS"}["n\x75\x6e\x6cy\x62\x6a\x65\x69"]="\x73\x69\x64\x65";${"GL\x4f\x42\x41L\x53"}["\x76\x66o\x79\x73qgh"]="\x74h\x72o\x77\x6eE\x78p\x42\x6ftt\x6ce";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x65\x63o\x6c\x72t\x68\x76\x78\x73"]="\x70r\x6f\x6a\x65c\x74\x69le\x45v";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x73w\x70\x70\x63q"]="e\x67\x67";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x70\x69iz\x79\x78"]="\x73\x6eo\x77b\x61\x6cl";${"\x47\x4cO\x42\x41L\x53"}["n\x70\x76\x6fzhe"]="\x66";${"\x47\x4c\x4fB\x41L\x53"}["\x67dw\x68\x6cct\x70\x6fdo"]="\x61\x69m\x50\x6fs";${"\x47\x4cOBA\x4c\x53"}["\x6c\x6a\x6e\x6c\x6dd\x76w\x76\x72"]="\x74\x61\x72\x67\x65\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7a\x68p\x71\x64sd\x72tx\x6e"]="\x62\x6c\x6f\x63\x6b\x56\x65c\x74o\x72";${"\x47\x4c\x4fBA\x4c\x53"}["\x7a\x62i\x73\x6f\x77\x71v\x73f\x66\x77"]="\x64\x69st";${"\x47L\x4f\x42A\x4c\x53"}["\x66\x6epg\x6c\x77\x76"]="\x76\x61\x6c\x69\x64";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x7a\x75\x71\x61\x61"]="\x6c\x65\x6e";${"G\x4c\x4fB\x41LS"}["e\x66t\x78o\x65\x6bl\x61h"]="til\x65";${"G\x4c\x4f\x42A\x4cS"}["s\x6e\x67xvf\x68v"]="\x61\x63h\x69\x65\x76\x65ment";${"GL\x4f\x42A\x4cS"}["\x65\x66jvq\x6f\x70"]="\x6e\x62t";${"\x47\x4cO\x42\x41LS"}["k\x6e\x72\x6f\x78qd\x63\x66\x6d"]="\x64ot\x31";${"GL\x4f\x42\x41\x4cS"}["\x6c\x6f\x6b\x6a\x6c\x65\x6eq\x67\x6b"]="\x64o\x74";${"\x47\x4cOB\x41\x4cS"}["\x75\x66\x67q\x62\x76\x66ie\x6e\x66"]="\x64V";${"G\x4c\x4f\x42\x41L\x53"}["lu\x70\x6bt\x66"]="\x6daxD\x69\x73tan\x63e";${"\x47L\x4f\x42\x41\x4c\x53"}["\x68b\x73\x67x\x68fknn\x6b"]="\x65x\x70\x65\x63t\x65d\x56e\x6coc\x69\x74\x79";${"\x47LO\x42\x41\x4c\x53"}["\x6a\x78s\x65u\x69u\x6e"]="\x61\x64\x64";${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x65\x62\x70\x68\x6b\x6c"]="j";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x67\x77\x64\x6b\x69"]="\x74e\x6dpos";${"\x47\x4c\x4f\x42AL\x53"}["\x6d\x7a\x76s\x6cf\x6c\x6b"]="c\x75r\x72\x65\x6e\x74T\x69\x63\x6b";${"\x47\x4cOB\x41\x4c\x53"}["i\x75\x77\x75\x66\x70\x6d\x71"]="\x65\x6e\x74r\x69e\x73";${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x74\x73ww\x69de\x66"]="\x6d\x6fvi\x6e\x67";${"G\x4c\x4f\x42AL\x53"}["t\x67\x75\x7a\x78v\x64\x63"]="\x68\x65adY\x61\x77";${"\x47L\x4fB\x41\x4cS"}["\x62\x63\x6f\x6c\x70u\x6c\x6a\x6cd"]="y\x61w";${"G\x4cOB\x41\x4cS"}["\x6d\x68o\x65j\x77\x78"]="\x79";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["h\x76bdzo\x63\x62\x78a\x75"]="\x74o";${"\x47\x4c\x4f\x42\x41\x4cS"}["wj\x65\x67\x6dqp"]="\x69s\x46\x69\x72s\x74";${"\x47\x4cOB\x41\x4cS"}["\x77\x79\x75\x74i\x7a\x69l\x6a\x79\x6c"]="\x64el\x74\x61A\x6e\x67le";${"\x47L\x4f\x42\x41\x4cS"}["\x6bfl\x79\x78\x6e\x79\x70\x6a\x61"]="d\x65\x6c\x74a";${"\x47L\x4f\x42\x41\x4c\x53"}["o\x73\x6a\x6e\x65w\x73"]="\x64i\x66f\x59";${"\x47\x4c\x4fB\x41\x4c\x53"}["r\x68\x66\x6e\x65\x62"]="yS";${"\x47L\x4fB\x41LS"}["\x6bo\x68j\x7a\x72m"]="\x64i\x66\x66\x58";${"\x47LOB\x41\x4c\x53"}["q\x6ef\x74\x78\x74\x6f\x6ex\x74"]="d\x79";${"\x47\x4cO\x42\x41\x4c\x53"}["\x73\x6c\x66ir\x74\x6b\x77ci\x61\x61"]="\x64\x7a";${"\x47\x4c\x4fBALS"}["e\x6d\x74\x73l\x67y\x70\x6e\x63\x6ca"]="chu\x6ek";${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x79t\x77j\x62o\x72\x79d"]="\x72\x65\x76\x65\x72\x74";${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x62\x79\x74hke\x74\x66\x69k"]="\x74ickD\x69\x66f";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x68\x6aw\x73\x74u"]="\x64\x69sta\x6e\x63\x65\x53\x71\x75ar\x65d";${"GL\x4f\x42\x41\x4c\x53"}["\x79ebt\x77\x69m\x64\x6b\x68"]="\x6e\x65w\x50o\x73";${"G\x4cO\x42\x41\x4c\x53"}["\x69\x69lrm\x6c\x6a\x78\x7a"]="i\x74\x65\x6d";${"\x47L\x4fB\x41\x4c\x53"}["u\x78t\x67\x71\x6e"]="k\x65\x79";${"\x47\x4c\x4f\x42AL\x53"}["\x6d\x62\x63\x65\x76e\x6d\x79\x77\x79"]="\x62\x6c\x6f\x63\x6b";${"G\x4c\x4f\x42ALS"}["bu\x65\x6asg\x63\x65p\x78gy"]="\x62lo\x63\x6b\x73a\x72\x6f\x75\x6e\x64";${"\x47LOBA\x4c\x53"}["ms\x73\x6b\x74\x78k\x66\x66"]="\x62\x62";${"\x47\x4cOB\x41L\x53"}["\x64\x78\x72hrb"]="\x6d\x6fv\x59";${"\x47\x4c\x4f\x42\x41L\x53"}["p\x6an\x71y\x6b\x67\x6a\x64"]="i\x64";${"\x47\x4c\x4f\x42\x41LS"}["\x73a\x79l\x72\x73f"]="fla\x67\x73";${"\x47LO\x42AL\x53"}["\x73r\x77\x72\x69n\x64\x69"]="\x67m";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6dj\x6b\x76nnyl\x6f\x62c"]="r\x65\x71\x75\x69\x72e\x6d\x65\x6e\x74\x49\x64";${"\x47\x4cO\x42\x41\x4c\x53"}["\x76\x6cse\x64\x68\x70\x64"]="li\x73t";${"GL\x4f\x42\x41\x4c\x53"}["\x79\x75\x74\x70\x70\x6bq"]="\x70";${"\x47LOBA\x4c\x53"}["xaj\x6c\x74\x77\x70ux"]="\x6e\x65e\x64\x41\x43K";${"G\x4c\x4fBAL\x53"}["g\x72\x6drd\x74w\x72"]="i\x64e\x6e\x74\x69\x66\x69er";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69ys\x67\x72\x62"]="p\x61c\x6bet";${"\x47\x4cOBA\x4cS"}["\x72\x73\x74\x76\x63\x78\x65\x70\x67\x70ok"]="\x6c\x61\x79e\x72";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x75p\x76or"]="\x6ce\x67";${"\x47\x4c\x4f\x42\x41L\x53"}["n\x6d\x6d\x64q\x66\x76\x6fn\x6ag\x79"]="\x6ca\x73\x74\x43\x68\x75\x6e\x6b";${"\x47\x4cOB\x41\x4c\x53"}["\x79\x69c\x79e\x78\x75\x68qi"]="\x69";${"\x47\x4cO\x42\x41\x4cS"}["e\x65\x74\x64f\x6dkc\x74"]="\x63e\x6e\x74e\x72\x5a";${"G\x4c\x4f\x42\x41L\x53"}["\x73\x67\x62\x72\x78pv"]="n\x65\x77\x4fr\x64er";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x69lq\x74\x68"]="\x76i\x65wD\x69\x73\x74\x61\x6e\x63e";${"GL\x4f\x42ALS"}["\x72\x69w\x64\x78\x76k"]="\x6ds\x67";${"G\x4c\x4f\x42\x41L\x53"}["p\x62\x65\x72o\x78j\x6b\x64y"]="\x63h\x75\x6ek\x5a";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x73y\x65\x65\x6fld\x6d\x75\x64"]="c\x68\x75\x6ek\x58";${"G\x4c\x4f\x42\x41L\x53"}["\x76\x75\x6d\x64\x75n\x64\x77\x62vy"]="\x63";${"\x47\x4cO\x42A\x4c\x53"}["\x67no\x64\x61c\x79u\x6e\x6f"]="\x65\x76";${"GLO\x42\x41L\x53"}["\x6b\x6f\x7a\x77\x64\x75"]="\x70\x6fs";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x6d\x74w\x76\x6f\x73"]="\x64i\x73\x74anc\x65";${"\x47\x4c\x4fB\x41L\x53"}["lgb\x63\x72\x6ch\x63\x74\x61"]="\x63\x6f\x75n\x74";${"\x47\x4c\x4fB\x41\x4cS"}["\x6e\x6es\x6c\x6cr\x69\x66\x6f\x67o\x69"]="\x62a\x74ch";${"\x47L\x4f\x42\x41\x4c\x53"}["r\x61\x77z\x7a\x72\x6cc\x6d\x73\x76\x69"]="\x42AT\x43\x48\x5f\x54\x48\x52E\x53\x48O\x4c\x44";${"\x47LO\x42A\x4c\x53"}["e\x6d\x74\x67\x71\x71v"]="\x78";${"G\x4c\x4fB\x41\x4c\x53"}["\x62wi\x61\x7av\x78cr"]="\x7a";${"G\x4c\x4f\x42AL\x53"}["d\x63\x6d\x68\x63\x62\x79\x62\x6c\x71"]="\x5a";${"GL\x4f\x42ALS"}["\x6fxu\x75ltwn\x6c\x6d"]="\x58";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76t\x73gjeil"]="in\x64e\x78";${"G\x4c\x4fBAL\x53"}["\x74d\x6b\x71\x71\x73\x76d"]="\x64";${"\x47\x4c\x4f\x42ALS"}["cp\x68ny\x74\x75\x6f\x67r\x61"]="t\x61\x72ge\x74\x4c\x65v\x65\x6c";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x70t\x77\x6a\x6c\x64"]="\x6fl\x64L\x65\x76\x65l";${"GLO\x42A\x4c\x53"}["\x78s\x68\x71dd\x76"]="\x73\x74\x72";${"GL\x4fB\x41L\x53"}["z\x77unt\x79xz"]="\x73\x6bin\x49\x64";${"\x47\x4cO\x42A\x4c\x53"}["\x72q\x65\x72te\x72\x73\x6e\x73\x77\x74"]="ac\x68\x69\x65\x76em\x65\x6e\x74I\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["u\x70\x79f\x79\x76s"]="\x63\x6cie\x6e\x74I\x44";${"GL\x4fBA\x4c\x53"}["eu\x6e\x72dt\x67\x70"]="int\x65\x72\x66a\x63\x65";${"\x47\x4cOB\x41LS"}["\x6b\x74r\x65ysl\x6d\x69\x76"]="\x61t\x74a\x63\x68\x6de\x6et";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77uae\x72\x69\x71\x64\x64\x64"]="\x6e\x61\x6d\x65";${"\x47L\x4f\x42AL\x53"}["d\x66\x68\x67\x69\x73mz\x6a\x77f\x72"]="r\x65\x6d\x6fv\x65";${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x75\x70j\x65z\x73\x6f"]="\x70lay\x65\x72";${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x6b\x64\x69gq\x67o\x73c"]="\x76al\x75\x65";${"G\x4cOBA\x4cS"}["jdqq\x62s\x66kmb\x68"]="\x65\x78\x70";${"\x47L\x4f\x42ALS"}["n\x64eso\x67\x71\x6e\x6dbm"]="\x6c\x65ve\x6c";${"\x47\x4cOB\x41LS"}["\x6b\x74\x77\x65f\x6d"]="\x65\x6et\x69\x74\x79";${"\x47L\x4f\x42\x41\x4c\x53"}["\x77z\x61\x72\x6ey\x70\x71\x6fg"]="p\x6b";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64\x63dsq\x63\x6cdbj"]="\x70\x69\x6e\x67";use pocketmine\block\Block;use pocketmine\block\Air;use pocketmine\block\Fire;use pocketmine\block\PressurePlate;use pocketmine\command\CommandSender;use pocketmine\entity\Animal;use pocketmine\entity\Arrow;use pocketmine\entity\Attribute;use pocketmine\entity\AttributeMap;use pocketmine\entity\Boat;use pocketmine\entity\Effect;use pocketmine\entity\Entity;use pocketmine\entity\FishingHook;use pocketmine\entity\Human;use pocketmine\entity\Item as DroppedItem;use pocketmine\entity\Living;use pocketmine\entity\Minecart;use pocketmine\entity\Projectile;use pocketmine\entity\ThrownExpBottle;use pocketmine\entity\ThrownPotion;use pocketmine\event\block\BlockBreakEvent;use pocketmine\event\block\ItemFrameDropItemEvent;use pocketmine\event\block\SignChangeEvent;use pocketmine\event\entity\EntityCombustByEntityEvent;use pocketmine\event\entity\EntityDamageByBlockEvent;use pocketmine\event\entity\EntityDamageByEntityEvent;use pocketmine\event\entity\EntityDamageEvent;use pocketmine\event\entity\EntityRegainHealthEvent;use pocketmine\event\entity\EntityShootBowEvent;use pocketmine\event\entity\ProjectileLaunchEvent;use pocketmine\event\inventory\CraftItemEvent;use pocketmine\event\inventory\InventoryCloseEvent;use pocketmine\event\inventory\InventoryPickupArrowEvent;use pocketmine\event\inventory\InventoryPickupItemEvent;use pocketmine\event\player\PlayerExhaustEvent;use pocketmine\event\player\PlayerTextPreSendEvent;use pocketmine\event\player\PlayerAchievementAwardedEvent;use pocketmine\event\player\PlayerAnimationEvent;use pocketmine\event\player\PlayerBedEnterEvent;use pocketmine\event\player\PlayerBedLeaveEvent;use pocketmine\event\player\PlayerChatEvent;use pocketmine\event\player\PlayerCommandPreprocessEvent;use pocketmine\event\player\PlayerDeathEvent;use pocketmine\event\player\PlayerDropItemEvent;use pocketmine\event\player\PlayerGameModeChangeEvent;use pocketmine\event\player\PlayerHungerChangeEvent;use pocketmine\event\player\PlayerInteractEvent;use pocketmine\event\player\PlayerItemConsumeEvent;use pocketmine\event\player\PlayerJoinEvent;use pocketmine\event\player\PlayerKickEvent;use pocketmine\event\player\PlayerLoginEvent;use pocketmine\event\player\PlayerMoveEvent;use pocketmine\event\player\PlayerPreLoginEvent;use pocketmine\event\player\PlayerQuitEvent;use pocketmine\event\player\PlayerRespawnEvent;use pocketmine\event\player\PlayerToggleSneakEvent;use pocketmine\event\player\PlayerToggleSprintEvent;use pocketmine\event\player\PlayerUseFishingRodEvent;use pocketmine\event\server\DataPacketReceiveEvent;use pocketmine\event\server\DataPacketSendEvent;use pocketmine\event\TextContainer;use pocketmine\event\Timings;use pocketmine\event\TranslationContainer;use pocketmine\inventory\AnvilInventory;use pocketmine\inventory\BaseTransaction;use pocketmine\inventory\BigShapedRecipe;use pocketmine\inventory\BigShapelessRecipe;use pocketmine\inventory\DropItemTransaction;use pocketmine\inventory\EnchantInventory;use pocketmine\inventory\FurnaceInventory;use pocketmine\inventory\Inventory;use pocketmine\inventory\InventoryHolder;use pocketmine\inventory\PlayerInventory;use pocketmine\inventory\ShapedRecipe;use pocketmine\inventory\ShapelessRecipe;use pocketmine\item\enchantment\Enchantment;use pocketmine\item\FoodSource;use pocketmine\item\Item;use pocketmine\item\Potion;use pocketmine\level\ChunkLoader;use pocketmine\level\format\FullChunk;use pocketmine\level\Level;use pocketmine\level\Location;use pocketmine\level\Position;use pocketmine\level\sound\LaunchSound;use pocketmine\math\AxisAlignedBB;use pocketmine\math\Vector2;use pocketmine\math\Vector3;use pocketmine\metadata\MetadataValue;use pocketmine\nbt\NBT;use pocketmine\nbt\tag\ByteTag;use pocketmine\nbt\tag\CompoundTag;use pocketmine\nbt\tag\DoubleTag;use pocketmine\nbt\tag\ListTag;use pocketmine\nbt\tag\FloatTag;use pocketmine\nbt\tag\IntTag;use pocketmine\nbt\tag\LongTag;use pocketmine\nbt\tag\ShortTag;use pocketmine\nbt\tag\StringTag;use pocketmine\network\AnyVersionManager;use pocketmine\network\Network;use pocketmine\network\protocol\AdventureSettingsPacket;use pocketmine\network\protocol\AnimatePacket;use pocketmine\network\protocol\BatchPacket;use pocketmine\network\protocol\BlockEntityDataPacket;use pocketmine\network\protocol\ChunkRadiusUpdatedPacket;use pocketmine\network\protocol\ContainerClosePacket;use pocketmine\network\protocol\ContainerSetContentPacket;use pocketmine\network\protocol\ChangeDimensionPacket;use pocketmine\network\protocol\DataPacket;use pocketmine\network\protocol\DisconnectPacket;use pocketmine\network\protocol\EntityEventPacket;use pocketmine\network\protocol\FullChunkDataPacket;use pocketmine\network\protocol\Info;use pocketmine\network\protocol\Info as ProtocolInfo;use pocketmine\network\protocol\InteractPacket;use pocketmine\network\protocol\LevelEventPacket;use pocketmine\network\protocol\MobEquipmentPacket;use pocketmine\network\protocol\MovePlayerPacket;use pocketmine\network\protocol\p70\ChunkRadiusUpdatePacket;use pocketmine\network\protocol\p70\LoginPacket;use pocketmine\network\protocol\p70\RemovePlayerPacket;use pocketmine\network\protocol\PlayerActionPacket;use pocketmine\network\protocol\PlayStatusPacket;use pocketmine\network\protocol\RemoveEntityPacket;use pocketmine\network\protocol\RespawnPacket;use pocketmine\network\protocol\SetDifficultyPacket;use pocketmine\network\protocol\SetEntityMotionPacket;use pocketmine\network\protocol\SetEntityDataPacket;use pocketmine\network\protocol\SetHealthPacket;use pocketmine\network\protocol\SetSpawnPositionPacket;use pocketmine\network\protocol\SetTimePacket;use pocketmine\network\protocol\StartGamePacket;use pocketmine\network\protocol\SetPlayerGameTypePacket;use pocketmine\network\protocol\TakeItemEntityPacket;use pocketmine\network\protocol\TextPacket;use pocketmine\network\protocol\UpdateAttributesPacket;use pocketmine\network\protocol\UpdateBlockPacket;use pocketmine\network\SourceInterface;use pocketmine\permission\PermissibleBase;use pocketmine\permission\PermissionAttachment;use pocketmine\plugin\Plugin;use pocketmine\tile\ItemFrame;use pocketmine\tile\Sign;use pocketmine\tile\Spawnable;use pocketmine\tile\Tile;use pocketmine\utils\BinaryStream;use pocketmine\utils\TextFormat;use pocketmine\utils\UUID;use raklib\Binary;class Player extends Human implements CommandSender,InventoryHolder,ChunkLoader,IPlayer{const SURVIVAL=0;const CREATIVE=1;const ADVENTURE=2;const SPECTATOR=3;const VIEW=Player::SPECTATOR;const CRAFTING_SMALL=0;const CRAFTING_BIG=1;const CRAFTING_ANVIL=2;const CRAFTING_ENCHANT=3;protected$interface;public$playedBefore=false;public$spawned=false;public$loggedIn=false;public$gamemode;public$lastBreak;protected$windowCnt=2;protected$windows;protected$windowIndex=[];public$loginData=[];protected$messageCounter=2;protected$sendIndex=0;private$clientSecret;public$speed=null;public$blocked=false;public$achievements=[];public$lastCorrect;public$craftingType=self::CRAFTING_SMALL;protected$isCrafting=false;public$creationTime=0;protected$randomClientId;protected$protocol;public static$staticProtocol;protected$lastMovement=0;protected$forceMovement=null;protected$teleportPosition=null;protected$connected=true;protected$ip;protected$removeFormat=false;protected$port;protected$username;protected$iusername;protected$displayName;protected$startAction=-1;protected$sleeping=null;protected$clientID=null;private$loaderId=null;protected$stepHeight=0.6;public$usedChunks=[];protected$chunkLoadCount=0;protected$loadQueue=[];protected$nextChunkOrderRun=5;protected$hiddenPlayers=[];protected$newPosition;protected$viewDistance;protected$chunksPerTick;protected$spawnThreshold;protected$spawnPosition=null;protected$inAirTicks=0;protected$startAirTicks=5;protected$autoJump=true;protected$allowFlight=false;private$needACK=[];private$batchedPackets=[];private$perm=null;public$weatherData=[0,0,0];public$fromPos=null;private$portalTime=0;protected$shouldSendStatus=false;private$shouldResPos;public$fishingHook=null;public$selectedPos=[];public$selectedLev=[];protected$personalCreativeItems=[];protected$ping=0;public function setPing(int$ping){return$this->ping=${${"\x47L\x4fB\x41\x4cS"}["\x64c\x64s\x71\x63l\x64b\x6a"]};}public function getPing(){return$this->ping;}public function linkHookToPlayer(FishingHook$entity){if($entity->isAlive()){${"\x47LO\x42\x41L\x53"}["\x62\x64\x6a\x6d\x65\x6c\x77v\x65\x6a"]="\x65n\x74\x69\x74y";${"\x47\x4c\x4fB\x41L\x53"}["\x73\x73e\x71q\x68\x61\x75\x7a"]="\x70k";$this->setFishingHook(${${"\x47\x4c\x4fBALS"}["b\x64\x6a\x6d\x65\x6c\x77ve\x6a"]});${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x73\x73\x65\x71q\x68\x61u\x7a"]}=new EntityEventPacket();$pk->eid=$this->getFishingHook()->getId();$pk->event=EntityEventPacket::FISH_HOOK_POSITION;$this->server->broadcastPacket($this->level->getPlayers(),${${"G\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x61\x72ny\x70\x71\x6f\x67"]});return true;}return false;}public function unlinkHookFromPlayer(){if($this->fishingHook instanceof FishingHook){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x7a\x61r\x6ey\x70qo\x67"]}=new EntityEventPacket();$pk->eid=$this->fishingHook->getId();$ibojgcyf="\x70k";$pk->event=EntityEventPacket::FISH_HOOK_TEASE;$this->server->broadcastPacket($this->level->getPlayers(),${$ibojgcyf});$this->setFishingHook();return true;}return false;}public function isFishing(){return($this->fishingHook instanceof FishingHook);}public function getFishingHook(){return$this->fishingHook;}public function setFishingHook(FishingHook$entity=null){${"\x47\x4cO\x42A\x4cS"}["\x6d\x76t\x63\x7a\x61\x72i\x62\x77r"]="e\x6e\x74\x69\x74\x79";if(${${"GL\x4fBAL\x53"}["\x6dv\x74\x63\x7aar\x69\x62wr"]}==null and$this->fishingHook instanceof FishingHook){$this->fishingHook->close();}$this->fishingHook=${${"\x47\x4cOBAL\x53"}["\x6bt\x77ef\x6d"]};}public function getItemInHand(){return$this->inventory->getItemInHand();}public function getLeaveMessage(){return new TranslationContainer(TextFormat::YELLOW."%m\x75\x6ct\x69playe\x72.\x70\x6ca\x79er\x2ele\x66t",[$this->getDisplayName()]);}public function setExperienceAndLevel(int$exp,int$level){trigger_error("\x54his\x20\x6d\x65t\x68\x6f\x64 \x69s\x20deprecat\x65d, \x64o\x20n\x6f\x74 \x75se\x20it",E_USER_DEPRECATED);return$this->setTotalXp(self::getTotalXpRequirement(${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x64\x65\x73o\x67q\x6e\x6db\x6d"]})+${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x64q\x71\x62s\x66k\x6d\x62\x68"]});}public function setExp(int$exp){trigger_error("Th\x69s met\x68od\x20is\x20\x64ep\x72\x65c\x61te\x64,\x20\x64o not \x75\x73\x65 \x69t",E_USER_DEPRECATED);return$this->setTotalXp(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ad\x71q\x62s\x66k\x6d\x62\x68"]});}public function setExpLevel(int$level){trigger_error("\x54\x68\x69\x73 \x6det\x68od is d\x65\x70re\x63\x61t\x65\x64,\x20\x64\x6f \x6eo\x74\x20us\x65 \x69t",E_USER_DEPRECATED);return$this->setXpLevel(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ed\x65s\x6f\x67qn\x6dbm"]});}public function getExpectedExperience(){trigger_error("\x54\x68i\x73 me\x74\x68od \x69s \x64\x65\x70r\x65ca\x74ed, \x64\x6f\x20\x6eo\x74 \x75\x73e\x20it",E_USER_DEPRECATED);return self::getTotalXpRequirement($this->getXpLevel()+1);}public function getLevelUpExpectedExperience(){trigger_error("T\x68is me\x74h\x6fd\x20\x69\x73 d\x65\x70\x72e\x63a\x74\x65d,\x20d\x6f\x20no\x74\x20u\x73e\x20\x69t",E_USER_DEPRECATED);return self::getLevelXpRequirement($this->getXpLevel()+1);}public function calcExpLevel(){trigger_error("T\x68\x69s met\x68\x6fd\x20is\x20d\x65\x70r\x65\x63\x61t\x65d,\x20\x64o \x6eo\x74\x20use\x20it",E_USER_DEPRECATED);}public function addExperience(int$exp){$bkacnno="\x65\x78\x70";trigger_error("T\x68\x69s m\x65t\x68\x6fd\x20\x69s de\x70\x72\x65ca\x74ed, d\x6f \x6eo\x74 use i\x74",E_USER_DEPRECATED);return$this->addXp(${$bkacnno});}public function addExpLevel(int$level){$jqptycve="\x6c\x65v\x65l";trigger_error("\x54\x68i\x73\x20me\x74\x68o\x64\x20i\x73\x20\x64e\x70r\x65cated,\x20do no\x74\x20\x75s\x65 it",E_USER_DEPRECATED);return$this->addXpLevel(${$jqptycve});}public function getExp(){trigger_error("\x54h\x69s m\x65\x74ho\x64\x20\x69s d\x65p\x72e\x63\x61\x74\x65d,\x20d\x6f\x20n\x6f\x74\x20\x75s\x65\x20i\x74",E_USER_DEPRECATED);return$this->getTotalXp();}public function getExpLevel(){trigger_error("\x54\x68\x69s \x6de\x74\x68o\x64 \x69\x73\x20de\x70r\x65\x63\x61\x74\x65\x64, do \x6eot\x20\x75\x73\x65\x20\x69\x74",E_USER_DEPRECATED);return$this->getXpLevel();}public function canPickupExp():bool{trigger_error("T\x68is\x20\x6d\x65\x74h\x6f\x64\x20\x69s \x64epre\x63\x61t\x65d, do\x20n\x6ft\x20\x75\x73e i\x74",E_USER_DEPRECATED);return$this->canPickupXp();}public function resetExpCooldown(){trigger_error("T\x68\x69\x73 \x6d\x65t\x68o\x64\x20is \x64eprecat\x65\x64,\x20d\x6f not\x20\x75s\x65\x20\x69\x74",E_USER_DEPRECATED);$this->resetXpCooldown();}public function updateExperience(){trigger_error("\x54\x68\x69\x73 met\x68o\x64 is\x20d\x65p\x72e\x63ate\x64,\x20\x64\x6f\x20n\x6ft\x20\x75se i\x74",E_USER_DEPRECATED);}public function getClientId(){return$this->randomClientId;}public function getClientSecret(){return$this->clientSecret;}public function isBanned(){return$this->server->getNameBans()->isBanned(strtolower($this->getName()));}public function setBanned($value){if(${${"GL\x4f\x42AL\x53"}["tkd\x69gqg\x6fsc"]}===true){$this->server->getNameBans()->addBan($this->getName(),null,null,null);$this->kick(TextFormat::RED."\x59ou \x68a\x76\x65 \x62e\x65\x6e\x20\x62anne\x64");}else{$this->server->getNameBans()->remove($this->getName());}}public function isWhitelisted():bool{return$this->server->isWhitelisted(strtolower($this->getName()));}public function setWhitelisted($value){if(${${"G\x4cO\x42\x41\x4c\x53"}["\x74k\x64\x69g\x71\x67\x6f\x73\x63"]}===true){$this->server->addWhitelist(strtolower($this->getName()));}else{$this->server->removeWhitelist(strtolower($this->getName()));}}public function getPlayer(){return$this;}public function getFirstPlayed(){return$this->namedtag instanceof CompoundTag?$this->namedtag["fi\x72s\x74\x50\x6c\x61yed"]:null;}public function getLastPlayed(){return$this->namedtag instanceof CompoundTag?$this->namedtag["l\x61st\x50\x6ca\x79ed"]:null;}public function hasPlayedBefore(){return$this->playedBefore;}public function setAllowFlight($value){${"\x47LO\x42A\x4cS"}["\x66\x63\x6b\x67\x74\x69\x72b"]="valu\x65";$this->allowFlight=(bool)${${"\x47\x4c\x4fBAL\x53"}["fc\x6b\x67\x74i\x72\x62"]};$this->sendSettings();}public function getAllowFlight():bool{return$this->allowFlight;}public function setAutoJump($value){$this->autoJump=${${"\x47L\x4fBA\x4c\x53"}["\x74\x6b\x64i\x67q\x67\x6f\x73\x63"]};$this->sendSettings();}public function hasAutoJump():bool{return$this->autoJump;}public function spawnTo(Player$player){if($this->spawned and$player->spawned and$this->isAlive()and$player->isAlive()and$player->getLevel()===$this->level and$player->canSee($this)and!$this->isSpectator()){parent::spawnTo(${${"GL\x4fB\x41L\x53"}["\x79\x75p\x6a\x65\x7a\x73\x6f"]});}}public function getServer(){return$this->server;}public function getRemoveFormat(){return$this->removeFormat;}public function setRemoveFormat($remove=true){$this->removeFormat=(bool)${${"G\x4c\x4fB\x41L\x53"}["\x64\x66\x68\x67\x69\x73\x6d\x7aj\x77f\x72"]};}public function canSee(Player$player):bool{return!isset($this->hiddenPlayers[$player->getRawUniqueId()]);}public function hidePlayer(Player$player){$ptclfhwxtbm="\x70l\x61\x79\x65\x72";if(${$ptclfhwxtbm}===$this){return;}$this->hiddenPlayers[$player->getRawUniqueId()]=${${"\x47\x4cO\x42\x41\x4c\x53"}["y\x75\x70\x6ae\x7a\x73\x6f"]};$player->despawnFrom($this);}public function showPlayer(Player$player){if(${${"G\x4c\x4f\x42\x41\x4cS"}["\x79u\x70\x6aez\x73\x6f"]}===$this){return;}unset($this->hiddenPlayers[$player->getRawUniqueId()]);if($player->isOnline()){$player->spawnTo($this);}}public function canCollideWith(Entity$entity):bool{return false;}public function resetFallDistance(){parent::resetFallDistance();if($this->inAirTicks!==0){$this->startAirTicks=5;}$this->inAirTicks=0;}public function isOnline():bool{return$this->connected===true and$this->loggedIn===true;}public function isOp():bool{return$this->server->isOp($this->getName());}public function setOp($value){if(${${"\x47\x4c\x4f\x42\x41L\x53"}["t\x6bd\x69g\x71\x67\x6f\x73c"]}===$this->isOp()){return;}if(${${"\x47LO\x42\x41\x4c\x53"}["\x74k\x64\x69\x67\x71\x67\x6f\x73\x63"]}===true){$this->server->addOp($this->getName());}else{$this->server->removeOp($this->getName());}$this->recalculatePermissions();}public function isPermissionSet($name){$yfkseglovwt="n\x61m\x65";return$this->perm->isPermissionSet(${$yfkseglovwt});}public function hasPermission($name):bool{if($this->perm==null)return false;else return$this->perm->hasPermission(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x75\x61\x65\x72\x69\x71\x64\x64d"]});}public function addAttachment(Plugin$plugin,$name=null,$value=null){${"\x47LOB\x41LS"}["\x67bq\x73\x71j\x7avy"]="\x76\x61\x6c\x75e";${"G\x4c\x4f\x42\x41\x4c\x53"}["d\x77\x7a\x68\x6a\x66\x74"]="\x70l\x75gi\x6e";$texlres="nam\x65";if($this->perm==null)return false;return$this->perm->addAttachment(${${"\x47\x4cO\x42ALS"}["dw\x7ahj\x66t"]},${$texlres},${${"\x47L\x4fBA\x4cS"}["\x67\x62\x71\x73\x71jz\x76y"]});}public function removeAttachment(PermissionAttachment$attachment){if($this->perm==null){return false;}$this->perm->removeAttachment(${${"\x47\x4c\x4fB\x41L\x53"}["\x6bt\x72\x65ys\x6c\x6d\x69v"]});return true;}public function recalculatePermissions(){$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_USERS,$this);$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);if($this->perm===null){return;}$this->perm->recalculatePermissions();if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS,$this);}if($this->hasPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);}}public function getEffectivePermissions(){return$this->perm->getEffectivePermissions();}public function __construct(SourceInterface$interface,$clientID,$ip,$port){$this->interface=${${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x75\x6e\x72\x64\x74gp"]};${"\x47\x4c\x4f\x42\x41L\x53"}["ai\x75r\x6e\x68\x6eurx\x6e\x70"]="\x69\x70";$this->windows=new\SplObjectStorage();${"G\x4c\x4fB\x41LS"}["\x74\x79m\x6f\x69\x61i\x73\x6f"]="po\x72\x74";$this->perm=new PermissibleBase($this);$this->namedtag=new CompoundTag();$this->server=Server::getInstance();$this->lastBreak=PHP_INT_MAX;$this->ip=${${"G\x4cO\x42A\x4c\x53"}["a\x69u\x72nhn\x75r\x78n\x70"]};$this->port=${${"GL\x4fBA\x4c\x53"}["t\x79\x6d\x6fi\x61is\x6f"]};$this->clientID=${${"G\x4cO\x42ALS"}["\x75\x70\x79\x66\x79vs"]};$this->loaderId=Level::generateChunkLoaderId($this);$this->chunksPerTick=(int)$this->server->getProperty("\x63\x68un\x6b-s\x65n\x64i\x6eg.p\x65\x72-ti\x63\x6b",4);$this->spawnThreshold=(int)$this->server->getProperty("c\x68\x75nk-\x73\x65n\x64\x69n\x67.sp\x61w\x6e-th\x72e\x73\x68\x6f\x6c\x64",56);$this->spawnPosition=null;$this->gamemode=$this->server->getGamemode();$this->setLevel($this->server->getDefaultLevel());$this->viewDistance=$this->server->getViewDistance();$this->newPosition=new Vector3(0,0,0);$this->boundingBox=new AxisAlignedBB(0,0,0,0,0,0);$this->uuid=null;$this->rawUUID=null;$this->creationTime=microtime(true);$this->exp=0;$this->expLevel=0;$this->food=20;Entity::setHealth(20);}public function removeAchievement($achievementId){$wdfrwhra="\x61\x63h\x69\x65\x76\x65\x6dent\x49\x64";if($this->hasAchievement(${$wdfrwhra})){$cakgerqdmh="a\x63\x68\x69ev\x65m\x65n\x74\x49d";$this->achievements[${$cakgerqdmh}]=false;}}public function hasAchievement($achievementId):bool{${"G\x4cOB\x41\x4cS"}["xm\x64\x77\x76c"]="l\x69\x73t";${"\x47L\x4fB\x41L\x53"}["gy\x6fwtw\x76\x6e"]="achi\x65\x76\x65me\x6e\x74\x49\x64";if(!isset(Achievement::${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x6dd\x77vc"]}[${${"\x47LOB\x41L\x53"}["\x67\x79o\x77t\x77\x76\x6e"]}])or!isset($this->achievements)){$this->achievements=[];return false;}return isset($this->achievements[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x71e\x72t\x65\x72\x73\x6es\x77\x74"]}])and$this->achievements[${${"\x47LO\x42\x41LS"}["\x72\x71\x65\x72\x74e\x72\x73\x6e\x73\x77\x74"]}]!=false;}public function isConnected():bool{return$this->connected===true;}public function getDisplayName(){return$this->displayName;}public function setDisplayName($name){$this->displayName=${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x75\x61e\x72\x69q\x64dd"]};if($this->spawned){$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),$this->getSkinId(),$this->getSkinData());}}public function setSkin($str,$skinId){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x65\x72l\x63\x68"]="\x73\x74\x72";parent::setSkin(${${"\x47\x4c\x4f\x42\x41\x4cS"}["d\x65r\x6cc\x68"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["z\x77\x75\x6e\x74\x79\x78z"]});if($this->spawned){$ahlfzeu="\x73ki\x6e\x49d";$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),${$ahlfzeu},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78s\x68q\x64\x64\x76"]});}}public function getAddress():string{return$this->ip;}public function getPort():int{return$this->port;}public function getNextPosition(){return$this->newPosition!==null?new Position($this->newPosition->x,$this->newPosition->y,$this->newPosition->z,$this->level):$this->getPosition();}public function isSleeping():bool{return$this->sleeping!==null;}public function getInAirTicks(){return$this->inAirTicks;}protected function switchLevel(Level$targetLevel){${${"\x47LO\x42\x41\x4cS"}["\x63\x70tw\x6a\x6c\x64"]}=$this->level;if(parent::switchLevel(${${"G\x4cOB\x41LS"}["cp\x68\x6ey\x74\x75\x6f\x67r\x61"]})){$qnloqnuqkvq="i\x6edex";foreach($this->usedChunks as${$qnloqnuqkvq}=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x64\x6bqq\x73\x76d"]}){Level::getXZ(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76t\x73\x67\x6a\x65\x69\x6c"]},${${"GL\x4f\x42\x41\x4c\x53"}["o\x78\x75\x75\x6c\x74wn\x6cm"]},${${"\x47LO\x42\x41L\x53"}["\x64c\x6d\x68c\x62\x79b\x6c\x71"]});$jcwdlqi="\x5a";$this->unloadChunk(${${"\x47\x4c\x4f\x42A\x4c\x53"}["o\x78\x75\x75\x6c\x74\x77\x6e\x6cm"]},${$jcwdlqi},${${"\x47LOB\x41LS"}["\x63p\x74\x77\x6a\x6cd"]});}$this->usedChunks=[];${${"\x47LOBA\x4c\x53"}["\x77za\x72\x6eyp\x71o\x67"]}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"\x47\x4c\x4fBA\x4cS"}["\x77\x7a\x61\x72\x6e\x79\x70\x71\x6f\x67"]});if($targetLevel->getDimension()!=$oldLevel->getDimension()){${"GL\x4f\x42\x41\x4cS"}["\x76iwgpw\x75rk"]="\x70\x6b";${${"\x47\x4cOB\x41L\x53"}["\x76\x69\x77\x67\x70\x77\x75\x72\x6b"]}=new ChangeDimensionPacket();$sefnorqyku="\x70\x6b";$pk->dimension=$targetLevel->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$this->dataPacket(${$sefnorqyku});$this->shouldSendStatus=true;}$targetLevel->getWeather()->sendWeather($this);if($this->spawned){$this->spawnToAll();}}}private function unloadChunk($x,$z,Level$level=null){$mfrovjdmjeu="\x78";$uqksbm="i\x6e\x64\x65\x78";$jejkchfhq="\x6c\x65\x76e\x6c";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x64\x63z\x6c\x64\x64d"]="in\x64\x65\x78";${${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x64\x65\x73\x6fg\x71\x6e\x6d\x62m"]}=${${"\x47\x4cOBALS"}["\x6e\x64\x65\x73o\x67\x71\x6e\x6db\x6d"]}===null?$this->level:${$jejkchfhq};$wsbjbaia="\x78";${$uqksbm}=Level::chunkHash(${$wsbjbaia},${${"G\x4cOB\x41\x4c\x53"}["\x62\x77\x69a\x7a\x76x\x63r"]});if(isset($this->usedChunks[${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6bdczldd\x64"]}])){${"\x47LO\x42\x41\x4c\x53"}["\x79\x6f\x76\x6d\x6biw\x62\x6ca"]="e\x6e\x74\x69\x74y";foreach($level->getChunkEntities(${${"\x47\x4cO\x42\x41L\x53"}["\x65\x6dtg\x71\x71\x76"]},${${"\x47LO\x42A\x4c\x53"}["\x62\x77\x69\x61\x7a\x76xc\x72"]})as${${"\x47L\x4fB\x41\x4c\x53"}["\x79o\x76mki\x77\x62\x6c\x61"]}){if(${${"G\x4c\x4f\x42A\x4c\x53"}["ktw\x65\x66m"]}!==$this){$entity->despawnFrom($this);}}unset($this->usedChunks[${${"\x47LO\x42A\x4c\x53"}["vt\x73\x67j\x65\x69l"]}]);}$level->unregisterChunkLoader($this,${$mfrovjdmjeu},${${"G\x4c\x4f\x42\x41L\x53"}["\x62\x77\x69\x61\x7a\x76\x78\x63\x72"]});unset($this->loadQueue[${${"\x47LOBA\x4c\x53"}["\x76\x74\x73\x67\x6a\x65\x69l"]}]);}public function getSpawn():Position{if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level){return$this->spawnPosition;}else{${"\x47\x4cOBAL\x53"}["\x75\x6b\x71q\x72\x71q\x6f\x71\x6c\x67\x6d"]="\x6ce\x76\x65\x6c";${${"\x47L\x4f\x42\x41L\x53"}["\x75kqq\x72\x71\x71o\x71\x6c\x67\x6d"]}=$this->server->getDefaultLevel();return$level->getSafeSpawn();}}public function sendChunk($x,$z,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){if($this->connected===false){return;}$lqsthlvk="z";$this->usedChunks[Level::chunkHash(${${"\x47\x4cOB\x41L\x53"}["e\x6dt\x67q\x71v"]},${$lqsthlvk})]=true;$this->chunkLoadCount++;if($this->getProtocol()==84){${"\x47\x4c\x4fBA\x4c\x53"}["\x7abfe\x74b\x75"]="\x70k";${${"G\x4c\x4fB\x41\x4c\x53"}["zb\x66\x65\x74\x62\x75"]}=new FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;if(Network::${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x61w\x7a\x7a\x72l\x63\x6ds\x76i"]}>=0){$pk->encode();$hlgdufxgmq="ba\x74\x63h";$yhcimck="b\x61\x74ch";${$hlgdufxgmq}=new BatchPacket();$batch->payload=zlib_encode(Binary::writeInt(strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$batch->encode();$batch->isEncoded=true;$this->dataPacket(${$yhcimck});}else{$cxjnilejj="pk";$this->dataPacket(${$cxjnilejj});}}else if(AnyVersionManager::isProtocol($this,"\x30\x2e\x31\x34")){${${"\x47LOB\x41L\x53"}["\x77\x7aa\x72n\x79p\x71\x6f\x67"]}=new\pocketmine\network\protocol\p70\FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;${"\x47\x4cO\x42\x41\x4c\x53"}["\x6fzo\x6a\x76\x6e\x78\x79"]="\x62at\x63\x68";$pk->data=$payload->data;$pk->encode();${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x7a\x6fj\x76\x6ex\x79"]}=new BatchPacket();$batch->payload=\zlib_encode(pack("\x4e",\strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$batch->encode();$batch->isEncoded=\true;$this->dataPacket(${${"\x47\x4c\x4f\x42ALS"}["\x6en\x73\x6c\x6c\x72\x69\x66\x6f\x67oi"]});}if($this->spawned){$ncvmkbx="\x78";$mtpbzosgpslv="\x65\x6eti\x74\x79";foreach($this->level->getChunkEntities(${$ncvmkbx},${${"G\x4cO\x42\x41\x4cS"}["\x62\x77i\x61\x7a\x76\x78cr"]})as${$mtpbzosgpslv}){if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["k\x74wef\x6d"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}}protected function sendNextChunk(){if($this->connected===false){return;}Timings::$playerChunkSendTimer->startTiming();${${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x67\x62\x63\x72\x6c\x68\x63\x74\x61"]}=0;$iujdeugp="ind\x65\x78";foreach($this->loadQueue as${$iujdeugp}=>${${"GL\x4fB\x41L\x53"}["\x79m\x74w\x76\x6f\x73"]}){${"GL\x4f\x42\x41\x4c\x53"}["\x6b\x62\x74d\x69\x7a\x76e\x62\x71"]="\x58";$qckenmajg="\x63\x6f\x75\x6e\x74";${"\x47L\x4fBA\x4c\x53"}["ik\x78\x65u\x6b\x6c\x66\x63"]="ind\x65x";$uxxugylfs="\x58";${"\x47\x4cOB\x41\x4c\x53"}["jc\x77gn\x63ce\x78"]="i\x6e\x64\x65x";$sksfpetml="Z";${"\x47\x4cOBA\x4c\x53"}["\x76\x78\x69\x70\x6ddht\x6di\x6ep"]="\x5a";if(${$qckenmajg}>=$this->chunksPerTick){break;}$oayhfbgxwcrm="Z";${$uxxugylfs}=null;${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64c\x6dh\x63\x62\x79\x62\x6cq"]}=null;${"G\x4c\x4fB\x41\x4c\x53"}["\x64p\x65t\x65\x65\x6e\x64\x76\x62d"]="\x63\x6f\x75nt";Level::getXZ(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69\x6bxe\x75k\x6c\x66\x63"]},${${"\x47LO\x42A\x4c\x53"}["kbt\x64izv\x65\x62\x71"]},${$sksfpetml});++${${"\x47\x4c\x4f\x42A\x4cS"}["\x64\x70\x65t\x65\x65\x6e\x64v\x62\x64"]};$this->usedChunks[${${"\x47LO\x42\x41\x4c\x53"}["\x6a\x63w\x67n\x63c\x65\x78"]}]=false;$this->level->registerChunkLoader($this,${${"G\x4c\x4f\x42\x41\x4c\x53"}["o\x78\x75u\x6c\x74w\x6e\x6c\x6d"]},${${"GL\x4f\x42A\x4c\x53"}["\x76\x78\x69\x70\x6d\x64h\x74m\x69n\x70"]},true);if(!$this->level->populateChunk(${${"\x47L\x4fB\x41\x4c\x53"}["\x6fxu\x75\x6c\x74\x77nl\x6d"]},${${"\x47\x4c\x4f\x42AL\x53"}["\x64c\x6d\x68c\x62yb\x6c\x71"]})){if($this->spawned and$this->teleportPosition===null){continue;}else{break;}}unset($this->loadQueue[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x74\x73\x67j\x65\x69l"]}]);$this->level->requestChunk(${${"GL\x4f\x42\x41\x4c\x53"}["\x6f\x78\x75\x75\x6c\x74wnl\x6d"]},${$oayhfbgxwcrm},$this);if((count($this->loadQueue)==0)and$this->shouldSendStatus){$this->shouldSendStatus=false;${${"\x47\x4c\x4fBALS"}["\x77z\x61\x72\x6e\x79\x70q\x6fg"]}=new PlayStatusPacket();$jtehbulh="\x70\x6b";$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$jtehbulh});}}if($this->chunkLoadCount>=$this->spawnThreshold and$this->spawned===false and$this->teleportPosition===null){$this->doFirstSpawn();}Timings::$playerChunkSendTimer->stopTiming();}protected function doFirstSpawn(){$xxuvbrde="\x70o\x73";$wkxxhtmdpxjf="\x70\x6f\x73";$this->spawned=true;$this->sendPotionEffects($this);$this->sendData($this);${${"\x47\x4c\x4f\x42\x41L\x53"}["wza\x72\x6e\x79pqo\x67"]}=new SetTimePacket();$wrolmyhyntu="\x70\x6b";$ubfuttbvtnp="\x70\x6f\x73";$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${$wrolmyhyntu});${${"G\x4c\x4f\x42\x41L\x53"}["k\x6f\x7aw\x64u"]}=$this->level->getSafeSpawn($this);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4fBA\x4c\x53"}["g\x6e\x6f\x64a\x63\x79uno"]}=new PlayerRespawnEvent($this,${${"\x47\x4c\x4fB\x41L\x53"}["\x6boz\x77d\x75"]}));${$wkxxhtmdpxjf}=$ev->getRespawnPosition();if($pos->getY()<127)${$ubfuttbvtnp}=$pos->add(0,0.2,0);${${"G\x4cOBA\x4c\x53"}["\x77\x7a\x61\x72\x6eypqog"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${${"\x47\x4cO\x42A\x4cS"}["\x77z\x61\x72\x6e\x79p\x71og"]});$this->noDamageTicks=60;foreach($this->usedChunks as${${"G\x4cOB\x41\x4c\x53"}["v\x74\x73\x67\x6a\x65\x69\x6c"]}=>${${"\x47LO\x42A\x4cS"}["v\x75\x6dd\x75\x6e\x64\x77\x62\x76y"]}){$jiwytcibqn="ch\x75\x6ek\x5a";Level::getXZ(${${"\x47L\x4fB\x41\x4cS"}["\x76\x74\x73\x67\x6a\x65\x69\x6c"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x61s\x79\x65\x65\x6f\x6cd\x6d\x75\x64"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70b\x65r\x6fx\x6a\x6b\x64\x79"]});foreach($this->level->getChunkEntities(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61\x73\x79\x65\x65\x6fl\x64m\x75d"]},${$jiwytcibqn})as${${"G\x4cO\x42\x41\x4c\x53"}["k\x74\x77\x65\x66\x6d"]}){if(${${"GL\x4fBA\x4c\x53"}["ktwefm"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}$this->teleport(${$xxuvbrde});$this->allowFlight=(($this->gamemode==3)or($this->gamemode==1));${"\x47L\x4fB\x41LS"}["\x68\x62s\x65f\x66iz\x78\x65"]="e\x76";$this->setHealth($this->getHealth());$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4fB\x41L\x53"}["h\x62\x73\x65\x66f\x69z\x78e"]}=new PlayerJoinEvent($this,new TranslationContainer(TextFormat::YELLOW."%mul\x74i\x70\x6caye\x72\x2ep\x6caye\x72.\x6a\x6f\x69\x6e\x65\x64",[$this->getDisplayName()])));$this->sendSettings();if(strlen(trim(${${"\x47\x4c\x4fBA\x4c\x53"}["r\x69w\x64xv\x6b"]}=$ev->getJoinMessage()))>0){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dx\x6d\x74\x6b\x6c\x75\x64\x76\x69\x69"]="m\x73\x67";if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage(${${"\x47L\x4fBALS"}["\x6d\x78\x6d\x74\x6bl\x75d\x76i\x69"]});elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_TIP)$this->server->broadcastTip(str_replace("@\x70lay\x65\x72",$this->getName(),$this->server->playerLoginMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("@\x70\x6ca\x79\x65\x72",$this->getName(),$this->server->playerLoginMsg));}$this->server->onPlayerLogin($this);$this->spawnToAll();$this->level->getWeather()->sendWeather($this);if($this->server->dserverConfig["\x65\x6e\x61\x62\x6c\x65"]and$this->server->dserverConfig["\x71\x75\x65\x72\x79Au\x74oU\x70date"]){$this->server->updateQuery();}if($this->getHealth()<=0){${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x7aa\x72\x6eyp\x71\x6fg"]}=new RespawnPacket();${${"\x47LO\x42\x41L\x53"}["k\x6fz\x77d\x75"]}=$this->getSpawn();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"\x47\x4c\x4fBA\x4c\x53"}["\x77\x7a\x61\x72\x6e\x79p\x71\x6f\x67"]});}$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);}protected function orderChunks(){if($this->connected===false){return false;}Timings::$playerChunkOrderTimer->startTiming();$this->nextChunkOrderRun=200;$vbkgcq="\x6c\x61\x79\x65\x72";$wnrvvmnmc="l\x61s\x74\x43\x68\x75\x6ek";${"\x47LO\x42A\x4c\x53"}["t\x6e\x76\x77\x79\x72"]="\x63\x65n\x74\x65r\x58";${${"\x47\x4c\x4f\x42A\x4c\x53"}["c\x69\x6c\x71\x74\x68"]}=$this->server->getMemoryManager()->getViewDistance($this->viewDistance);$qikpttyvkhj="l\x65\x67";$gireirw="\x78";${${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x67b\x72\x78p\x76"]}=[];${$wnrvvmnmc}=$this->usedChunks;${"\x47\x4cOBA\x4cS"}["\x6c\x75p\x75x\x75xh\x72p"]="\x69";${${"\x47LO\x42A\x4c\x53"}["\x74\x6e\x76w\x79\x72"]}=$this->x>>4;${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65et\x64\x66\x6d\x6b\x63t"]}=$this->z>>4;$gicxzix="b\x6f\x6f\x6c";${$vbkgcq}=1;${$qikpttyvkhj}=0;$ejsinrlplek="z";${$gireirw}=0;${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6al\x70d\x79\x7a\x6a\x75\x76\x71x"]="\x76\x69\x65\x77Di\x73\x74\x61\x6e\x63\x65";${$ejsinrlplek}=0;for(${${"G\x4cO\x42\x41\x4c\x53"}["\x6cu\x70\x75\x78\x75\x78\x68\x72p"]}=0;${${"\x47\x4cOBA\x4cS"}["yi\x63yex\x75\x68\x71\x69"]}<${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["jl\x70\x64\x79z\x6a\x75v\x71\x78"]};++${${"G\x4c\x4f\x42AL\x53"}["\x79\x69\x63\x79\x65\x78\x75\x68\x71i"]}){${"\x47\x4cOB\x41\x4c\x53"}["cy\x6c\x6b\x76\x71m\x69"]="c\x65n\x74\x65\x72X";$uvoppkie="z";$ksqtwazho="\x6c\x61y\x65\x72";${"\x47LOBALS"}["\x70\x79\x79\x6bs\x67tu"]="\x69\x6e\x64\x65x";$rewdilynj="\x63\x68u\x6e\x6b\x58";${"GLO\x42\x41\x4c\x53"}["\x7ag\x73\x68ike\x6d"]="\x78";$tgkjefbpsp="\x63en\x74erZ";$vslevjbe="x";$rednrqob="\x63\x68\x75\x6ekZ";${${"\x47L\x4f\x42\x41L\x53"}["a\x73y\x65eold\x6du\x64"]}=${$vslevjbe}+${${"\x47LO\x42\x41L\x53"}["\x63\x79\x6c\x6b\x76\x71m\x69"]};${"\x47\x4c\x4f\x42A\x4cS"}["\x77\x65\x6f\x77\x68\x78\x74l\x74"]="i\x6e\x64ex";$kvuqrvoxq="\x69\x6e\x64\x65\x78";${$rednrqob}=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x77\x69\x61\x7a\x76x\x63\x72"]}+${$tgkjefbpsp};if(!isset($this->usedChunks[${${"GL\x4f\x42A\x4c\x53"}["we\x6fw\x68\x78\x74\x6c\x74"]}=Level::chunkHash(${$rewdilynj},${${"GL\x4f\x42\x41\x4c\x53"}["\x70\x62er\x6fx\x6a\x6bd\x79"]})])or$this->usedChunks[${$kvuqrvoxq}]===false){$rgmosjmf="\x6ee\x77\x4f\x72der";${$rgmosjmf}[${${"\x47L\x4fB\x41L\x53"}["\x76\x74\x73\x67jei\x6c"]}]=true;}unset(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6em\x6d\x64\x71\x66\x76o\x6e\x6agy"]}[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x79\x79\x6b\x73gt\x75"]}]);switch(${${"GL\x4fB\x41\x4cS"}["xu\x70\x76\x6f\x72"]}){case 0:++${${"\x47L\x4f\x42ALS"}["\x65\x6d\x74gqq\x76"]};if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65m\x74g\x71q\x76"]}===${$ksqtwazho}){++${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x78\x75\x70\x76o\x72"]};}break;case 1:++${${"\x47\x4c\x4f\x42AL\x53"}["b\x77\x69\x61zv\x78\x63r"]};if(${${"GL\x4f\x42\x41L\x53"}["b\x77iaz\x76\x78c\x72"]}===${${"G\x4c\x4fBALS"}["\x72\x73\x74v\x63x\x65\x70\x67\x70\x6f\x6b"]}){++${${"GL\x4f\x42\x41\x4c\x53"}["\x78\x75\x70\x76\x6fr"]};}break;case 2:--${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65m\x74\x67\x71\x71\x76"]};if(-${${"\x47\x4cO\x42A\x4c\x53"}["\x7a\x67\x73\x68\x69\x6b\x65m"]}===${${"\x47L\x4fB\x41\x4cS"}["\x72s\x74\x76\x63xe\x70\x67\x70\x6f\x6b"]}){$nvnmku="\x6c\x65g";++${$nvnmku};}break;case 3:--${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62w\x69\x61\x7av\x78\x63\x72"]};if(-${$uvoppkie}===${${"\x47\x4c\x4fB\x41\x4cS"}["rs\x74\x76cx\x65\x70\x67\x70\x6f\x6b"]}){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ax\x6f\x6c\x68kz"]="\x6c\x61\x79\x65\x72";${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x65m\x65\x6a\x78\x61"]="l\x65g";${${"G\x4c\x4fB\x41\x4c\x53"}["\x6b\x65mej\x78a"]}=0;++${${"G\x4c\x4f\x42AL\x53"}["\x6a\x78\x6flhkz"]};}break;}}foreach(${${"\x47\x4c\x4f\x42\x41LS"}["n\x6d\x6d\x64q\x66v\x6f\x6ej\x67\x79"]} as${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76t\x73gj\x65\x69l"]}=>${$gicxzix}){$pykgtttp="\x5a";${"\x47L\x4f\x42\x41\x4c\x53"}["\x7as\x6d\x72e\x6f\x77\x70\x74"]="\x69\x6e\x64\x65x";$jayhfhg="\x5a";Level::getXZ(${${"\x47LO\x42\x41\x4cS"}["\x7as\x6d\x72eo\x77\x70\x74"]},${${"GL\x4f\x42A\x4c\x53"}["o\x78uult\x77n\x6c\x6d"]},${$jayhfhg});$this->unloadChunk(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6f\x78\x75\x75\x6c\x74\x77n\x6c\x6d"]},${$pykgtttp});}$this->loadQueue=${${"G\x4cOBAL\x53"}["\x73\x67\x62r\x78\x70v"]};Timings::$playerChunkOrderTimer->stopTiming();return true;}public function batchDataPacket($packet){$zriuifm="e\x76";$xaojqeoixpj="\x70a\x63\x6b\x65\x74";if($this->connected===false){return false;}$this->server->getPluginManager()->callEvent(${$zriuifm}=new DataPacketSendEvent($this,${${"G\x4c\x4f\x42\x41LS"}["\x69ys\x67\x72\x62"]}));if($ev->isCancelled()){return false;}if(!isset($this->batchedPackets)){$this->batchedPackets=[];}$this->batchedPackets[]=clone${$xaojqeoixpj};return true;}public function dataPacket($packet,$needACK=false){if(!$this->connected){return false;}$fbiykvltdcr="\x70\x61\x63k\x65\x74";${"\x47\x4c\x4fB\x41L\x53"}["w\x78\x70ept"]="\x70ack\x65\x74";${"G\x4c\x4f\x42A\x4c\x53"}["\x71\x63f\x79\x69r\x65"]="\x65v";${$fbiykvltdcr}=AnyVersionManager::parsePacket($this,${${"\x47\x4c\x4fB\x41L\x53"}["\x69\x79\x73\x67\x72\x62"]});${"GL\x4fBA\x4c\x53"}["b\x78\x65\x6f\x6f\x67\x76e\x65\x6e\x73"]="\x70\x61\x63\x6b\x65\x74";$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42\x41L\x53"}["qcfyi\x72\x65"]}=new DataPacketSendEvent($this,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x78\x70e\x70t"]}));if($ev->isCancelled()){return false;}${${"GL\x4fB\x41LS"}["g\x72\x6dr\x64t\x77r"]}=$this->interface->putPacket($this,${${"\x47\x4c\x4f\x42ALS"}["\x62\x78e\x6fo\x67\x76\x65e\x6es"]},${${"\x47\x4cO\x42A\x4c\x53"}["\x78ajlt\x77\x70\x75x"]},false);if(${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x61\x6altw\x70\x75x"]} and${${"G\x4c\x4f\x42A\x4cS"}["g\x72\x6d\x72d\x74\x77\x72"]}!==null){$this->needACK[${${"\x47L\x4f\x42\x41L\x53"}["\x67\x72\x6d\x72\x64\x74wr"]}]=false;return${${"GL\x4f\x42\x41LS"}["g\x72\x6d\x72\x64\x74\x77\x72"]};}return true;}public function directDataPacket($packet,$needACK=false){$pjdqyxm="\x6e\x65\x65\x64A\x43\x4b";${"\x47\x4cOBA\x4cS"}["\x65\x6er\x65\x72\x62\x65\x65\x7ads\x73"]="p\x61c\x6be\x74";${"G\x4cOBA\x4c\x53"}["\x6f\x70\x75\x77i\x69"]="\x69d\x65n\x74\x69\x66i\x65\x72";$woyqmiwsy="\x70a\x63\x6bet";${"\x47\x4cO\x42\x41\x4c\x53"}["\x66r\x77\x71\x76n\x6dp\x62\x71\x77\x62"]="\x70a\x63ke\x74";${"G\x4cO\x42\x41\x4c\x53"}["\x71m\x70\x70\x74\x77n\x6aa\x78n"]="\x6e\x65\x65d\x41\x43\x4b";$onrtmtcg="\x70a\x63\x6b\x65\x74";$pgwgxjemcsjv="i\x64\x65n\x74\x69\x66i\x65r";if($this->connected===false){return false;}${${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x6e\x72e\x72\x62eez\x64\x73\x73"]}=AnyVersionManager::parsePacket($this,${$woyqmiwsy});$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42ALS"}["\x67no\x64\x61\x63\x79\x75n\x6f"]}=new DataPacketSendEvent($this,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x72\x77\x71v\x6e\x6d\x70bq\x77\x62"]}));if($ev->isCancelled()){return false;}${$pgwgxjemcsjv}=$this->interface->putPacket($this,${$onrtmtcg},${${"GL\x4f\x42\x41L\x53"}["\x71\x6d\x70\x70\x74\x77\x6e\x6a\x61\x78\x6e"]},true);if(${$pjdqyxm} and${${"\x47L\x4f\x42\x41\x4cS"}["\x6fp\x75\x77i\x69"]}!==null){${"\x47L\x4f\x42ALS"}["\x72\x77\x6d\x69\x75f\x70o\x67"]="\x69d\x65\x6e\x74i\x66i\x65r";$this->needACK[${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72\x77m\x69\x75f\x70\x6f\x67"]}]=false;return${${"\x47\x4cOB\x41\x4c\x53"}["gr\x6dr\x64\x74\x77\x72"]};}return true;}public function sleepOn(Vector3$pos){if(!$this->isOnline()){return false;}$jdwhjxm="\x65\x76";foreach($this->level->getNearbyEntities($this->boundingBox->grow(2,1,2),$this)as${${"GL\x4f\x42A\x4c\x53"}["\x79u\x74pp\x6b\x71"]}){${"\x47\x4cOB\x41LS"}["\x71\x64\x6cn\x75xqr\x67\x68"]="\x70";if(${${"\x47L\x4f\x42\x41L\x53"}["qd\x6cn\x75x\x71r\x67\x68"]} instanceof Player){if($p->sleeping!==null and$pos->distance($p->sleeping)<=0.1){return false;}}}$this->server->getPluginManager()->callEvent(${$jdwhjxm}=new PlayerBedEnterEvent($this,$this->level->getBlock(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6b\x6f\x7a\x77d\x75"]})));if($ev->isCancelled()){return false;}$this->sleeping=clone${${"\x47LO\x42\x41L\x53"}["ko\x7a\x77d\x75"]};$this->setDataProperty(self::DATA_PLAYER_BED_POSITION,self::DATA_TYPE_POS,[$pos->x,$pos->y,$pos->z]);$this->setDataFlag(self::DATA_PLAYER_FLAGS,self::DATA_PLAYER_FLAG_SLEEP,true);$this->setSpawn(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x6fzwd\x75"]});$this->level->sleepTicks=60;return true;}public function setSpawn(Vector3$pos){${"\x47L\x4f\x42AL\x53"}["m\x6f\x6akvo\x74\x6e\x6a"]="lev\x65\x6c";$mtxjctl="\x70k";if(!(${${"\x47L\x4f\x42AL\x53"}["\x6bozw\x64\x75"]} instanceof Position)){${${"\x47L\x4fBA\x4c\x53"}["nd\x65sog\x71n\x6dbm"]}=$this->level;}else{${${"\x47LO\x42\x41\x4cS"}["n\x64\x65\x73o\x67qnm\x62\x6d"]}=$pos->getLevel();}$this->spawnPosition=new Position($pos->x,$pos->y,$pos->z,${${"GL\x4f\x42\x41\x4c\x53"}["\x6dojk\x76o\x74nj"]});${${"GL\x4f\x42\x41\x4cS"}["\x77\x7aar\x6ey\x70q\x6f\x67"]}=new SetSpawnPositionPacket();$pk->x=(int)$this->spawnPosition->x;$pk->y=(int)$this->spawnPosition->y;$pk->z=(int)$this->spawnPosition->z;$this->dataPacket(${$mtxjctl});}public function stopSleep(){if($this->sleeping instanceof Vector3){$yzvcoofkop="\x65v";$this->server->getPluginManager()->callEvent(${$yzvcoofkop}=new PlayerBedLeaveEvent($this,$this->level->getBlock($this->sleeping)));$this->sleeping=null;$this->setDataProperty(self::DATA_PLAYER_BED_POSITION,self::DATA_TYPE_POS,[0,0,0]);$this->setDataFlag(self::DATA_PLAYER_FLAGS,self::DATA_PLAYER_FLAG_SLEEP,false);$this->level->sleepTicks=0;${${"G\x4c\x4fB\x41L\x53"}["\x77z\x61r\x6e\x79\x70\x71og"]}=new AnimatePacket();$pk->eid=0;$pk->action=PlayerAnimationEvent::WAKE_UP;$this->dataPacket(${${"\x47\x4c\x4fB\x41LS"}["\x77\x7a\x61\x72\x6e\x79p\x71\x6f\x67"]});}}public function awardAchievement($achievementId){${"\x47LO\x42AL\x53"}["j\x6a\x6b\x63\x62\x66xgjh\x6c"]="\x6ci\x73\x74";$wedhqirgtsx="ac\x68\x69\x65v\x65m\x65\x6e\x74\x49d";if(isset(Achievement::${${"G\x4c\x4fB\x41\x4c\x53"}["\x6aj\x6b\x63b\x66\x78\x67jh\x6c"]}[${${"\x47L\x4f\x42\x41L\x53"}["\x72qe\x72\x74\x65\x72\x73\x6es\x77t"]}])and!$this->hasAchievement(${$wedhqirgtsx})){$jymocc="\x65v";foreach(Achievement::${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76\x6c\x73\x65\x64h\x70\x64"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x71\x65\x72\x74ers\x6e\x73w\x74"]}]["r\x65\x71\x75i\x72e\x73"]as${${"G\x4c\x4f\x42\x41L\x53"}["\x6dj\x6b\x76n\x6eyl\x6fb\x63"]}){$urnghtc="r\x65q\x75\x69\x72\x65\x6d\x65\x6et\x49\x64";if(!$this->hasAchievement(${$urnghtc})){return false;}}$this->server->getPluginManager()->callEvent(${$jymocc}=new PlayerAchievementAwardedEvent($this,${${"\x47\x4c\x4f\x42A\x4cS"}["\x72\x71\x65\x72\x74e\x72\x73n\x73w\x74"]}));if(!$ev->isCancelled()){$this->achievements[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x71\x65\x72\x74\x65\x72\x73\x6e\x73\x77t"]}]=true;${"\x47\x4cO\x42\x41\x4c\x53"}["uud\x71m\x78\x73\x79\x65kv"]="\x61c\x68i\x65\x76e\x6d\x65nt\x49\x64";Achievement::broadcast($this,${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x75dq\x6d\x78\x73\x79e\x6b\x76"]});return true;}else{return false;}}return false;}public function getGamemode():int{return$this->gamemode;}public function setGamemode(int$gm){$lyhedtdqu="\x67\x6d";$bokvnggn="\x65v";$klqybfnlsbep="\x67\x6d";if(${${"\x47\x4c\x4f\x42\x41LS"}["\x73\x72\x77r\x69\x6ed\x69"]}<0 or${$klqybfnlsbep}>3 or$this->gamemode===${${"\x47LOBA\x4cS"}["s\x72wr\x69\x6e\x64\x69"]}){return false;}$this->server->getPluginManager()->callEvent(${$bokvnggn}=new PlayerGameModeChangeEvent($this,${${"\x47\x4cOB\x41\x4c\x53"}["sr\x77r\x69\x6ed\x69"]}));if($ev->isCancelled()){return false;}if($this->server->autoClearInv){$this->inventory->clearAll();}$this->gamemode=${$lyhedtdqu};$this->allowFlight=$this->isCreative();$fcywghnuw="p\x6b";if($this->isSpectator()){$this->despawnFromAll();}else{$this->spawnToAll();}${"\x47\x4c\x4f\x42AL\x53"}["qk\x64\x79\x75\x72\x6c\x62\x73\x77"]="\x70\x6b";$this->namedtag->playerGameType=new IntTag("\x70\x6cay\x65r\x47\x61me\x54yp\x65",$this->gamemode);${$fcywghnuw}=new SetPlayerGameTypePacket();$pk->gamemode=$this->gamemode&0x01;$this->dataPacket(${${"\x47LOB\x41\x4c\x53"}["\x71\x6b\x64\x79\x75\x72l\x62\x73\x77"]});$this->sendSettings();if($this->gamemode===Player::SPECTATOR){$jclbclcfp="\x70\x6b";${$jclbclcfp}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x7a\x61\x72\x6e\x79pqo\x67"]});}else{if(AnyVersionManager::isProtocol($this,"\x30\x2e\x31\x35")){$guyldcn="p\x6b";${$guyldcn}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"\x47L\x4f\x42\x41\x4cS"}["\x77z\x61\x72\x6e\x79\x70\x71o\x67"]});}else if(AnyVersionManager::isProtocol($this,"\x30.\x31\x34")){${"\x47LO\x42\x41\x4c\x53"}["vwev\x6c\x75\x77\x76"]="\x70\x6b";${${"G\x4cOB\x41\x4c\x53"}["vw\x65v\x6cuwv"]}=new ContainerSetContentPacket();$imfxuulfuevc="pk";$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$this->dataPacket(${$imfxuulfuevc});}}$this->inventory->sendContents($this);$this->inventory->sendContents($this->getViewers());$this->inventory->sendHeldItem($this->hasSpawned);return true;}public function sendSettings(){$hjlvnjiufxg="f\x6c\x61gs";${$hjlvnjiufxg}=0;if($this->isAdventure()){${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x61\x79\x6c\x72s\x66"]}|=0x01;}$rkywtzggdd="\x66\x6c\x61\x67\x73";if($this->autoJump){$bpiczemfsw="\x66la\x67s";${$bpiczemfsw}|=0x40;}if($this->allowFlight){$wfacksbaef="\x66\x6c\x61\x67s";${$wfacksbaef}|=0x80;}if($this->isSpectator()){${${"\x47L\x4fB\x41\x4c\x53"}["\x73\x61\x79\x6c\x72\x73f"]}|=0x100;}${${"\x47LO\x42ALS"}["sa\x79\x6c\x72s\x66"]}|=0x02;${"\x47LO\x42\x41L\x53"}["onf\x73\x65\x72\x6fo"]="\x66\x6c\x61g\x73";${$rkywtzggdd}|=0x04;${${"G\x4cO\x42A\x4c\x53"}["\x6fn\x66\x73e\x72\x6f\x6f"]}|=0x08;${${"\x47\x4c\x4fB\x41L\x53"}["w\x7aa\x72\x6ey\x70\x71o\x67"]}=new AdventureSettingsPacket();$pk->flags=${${"GL\x4f\x42A\x4cS"}["s\x61ylr\x73\x66"]};$pk->userPermission=2;$pk->globalPermission=2;$this->dataPacket(${${"\x47\x4cO\x42\x41\x4c\x53"}["w\x7aar\x6eypqog"]});}public function isSurvival():bool{return($this->gamemode&0x01)===0;}public function isCreative():bool{return($this->gamemode&0x01)>0;}public function isSpectator():bool{return$this->gamemode===3;}public function isAdventure():bool{return($this->gamemode&0x02)>0;}public function getDrops():array{if(!$this->isCreative()){return parent::getDrops();}return[];}public function setDataProperty($id,$type,$value){${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x65\x64f\x64\x75\x66\x6d\x79\x6d"]="\x74\x79\x70\x65";$burjcxwcv="i\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76x\x73\x6a\x6c\x6d\x76"]="\x76al\x75\x65";if(parent::setDataProperty(${$burjcxwcv},${${"GL\x4f\x42\x41\x4cS"}["\x77\x65d\x66d\x75\x66\x6dy\x6d"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x78s\x6a\x6c\x6dv"]})){$this->sendData($this,[${${"\x47LOB\x41\x4c\x53"}["\x70\x6a\x6eq\x79\x6b\x67\x6a\x64"]}=>$this->dataProperties[${${"\x47LOB\x41L\x53"}["p\x6a\x6e\x71\x79k\x67\x6a\x64"]}]]);return true;}return false;}protected function checkGroundState($movX,$movY,$movZ,$dx,$dy,$dz){if(!$this->onGround or${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x64\x78\x72hrb"]}!=0){${${"\x47L\x4fB\x41\x4cS"}["\x6d\x73\x73\x6b\x74x\x6b\x66f"]}=clone$this->boundingBox;$bb->maxY=$bb->minY+0.5;$bb->minY-=1;if(count($this->level->getCollisionBlocks(${${"GLOB\x41\x4c\x53"}["\x6d\x73\x73ktx\x6bff"]},true))>0){$this->onGround=true;}else{$this->onGround=false;}}$this->isCollided=$this->onGround;}protected function checkBlockCollision(){foreach(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62uej\x73\x67\x63\x65\x70xg\x79"]}=$this->getBlocksAround()as${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x62\x63ev\x65\x6d\x79w\x79"]}){$block->onEntityCollide($this);if($this->getServer()->redstoneEnabled){if(${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x62\x63\x65v\x65\x6dy\x77\x79"]} instanceof PressurePlate){$this->activatedPressurePlates[Level::blockHash($block->x,$block->y,$block->z)]=${${"\x47\x4c\x4f\x42\x41LS"}["\x6dbc\x65v\x65\x6d\x79wy"]};}}}if($this->getServer()->redstoneEnabled){${"\x47\x4c\x4f\x42A\x4c\x53"}["h\x69i\x6b\x6b\x79"]="b\x6c\x6fck";foreach($this->activatedPressurePlates as${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x78\x74\x67q\x6e"]}=>${${"\x47\x4cOB\x41L\x53"}["h\x69i\x6b\x6b\x79"]}){if(!isset(${${"\x47\x4cOB\x41L\x53"}["\x62\x75\x65\x6a\x73\x67\x63e\x70x\x67\x79"]}[${${"G\x4c\x4f\x42\x41\x4c\x53"}["u\x78\x74\x67q\x6e"]}]))$block->checkActivation();}}}protected function checkNearEntities($tickDiff){${"GL\x4fB\x41\x4c\x53"}["\x6f\x76\x69\x6e\x74\x77\x78su\x67"]="\x65\x6et\x69\x74\x79";foreach($this->level->getNearbyEntities($this->boundingBox->grow(0.5,0.5,0.5),$this)as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x76\x69\x6e\x74\x77\x78su\x67"]}){$entity->scheduleUpdate();if(!$entity->isAlive()){continue;}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x74w\x65\x66m"]} instanceof Arrow and$entity->hadCollision){$gpnyxrcvapx="\x70k";${"\x47\x4c\x4fB\x41LS"}["\x6fj\x64o\x78\x69e\x78\x78"]="\x70k";$ubqyod="\x69t\x65\x6d";$qtwkcfyuow="\x61\x64\x64";${$ubqyod}=Item::get(Item::ARROW,$entity->getPotionId(),1);${$qtwkcfyuow}=false;$ulrxbhpgo="\x65nt\x69t\x79";if(!$this->server->allowInventoryCheats and!$this->isCreative()){$zejdptmf="\x69\x74e\x6d";$rrrbogrhx="\x61\x64\x64";${"\x47\x4cOB\x41\x4c\x53"}["\x73\x67\x69sj\x72"]="item";if(!$this->getFloatingInventory()->canAddItem(${${"\x47L\x4fB\x41L\x53"}["s\x67isj\x72"]})or!$this->inventory->canAddItem(${$zejdptmf})){continue;}${$rrrbogrhx}=true;}$this->server->getPluginManager()->callEvent(${${"\x47LO\x42A\x4c\x53"}["g\x6eo\x64\x61\x63\x79\x75\x6e\x6f"]}=new InventoryPickupArrowEvent($this->inventory,${$ulrxbhpgo}));if($ev->isCancelled()){continue;}${${"GL\x4f\x42\x41LS"}["\x77\x7aa\x72\x6e\x79pq\x6f\x67"]}=new TakeItemEntityPacket();$pk->eid=$this->getId();$pk->target=$entity->getId();$ufykpns="p\x6b";Server::broadcastPacket($entity->getViewers(),${${"G\x4c\x4f\x42A\x4c\x53"}["\x6fj\x64\x6fx\x69ex\x78"]});${$gpnyxrcvapx}=new TakeItemEntityPacket();${"\x47L\x4f\x42A\x4c\x53"}["\x61\x6aux\x69d\x64"]="a\x64\x64";$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${$ufykpns});if(${${"GLOBA\x4c\x53"}["\x61juxidd"]}){${"\x47\x4c\x4f\x42\x41LS"}["gk\x62d\x6f\x6d"]="\x69\x74\x65\x6d";$this->getFloatingInventory()->addItem(clone${${"\x47LO\x42\x41\x4c\x53"}["\x67\x6b\x62\x64\x6fm"]});}$entity->kill();}elseif(${${"\x47\x4c\x4fBA\x4c\x53"}["\x6bt\x77\x65f\x6d"]} instanceof DroppedItem){if($entity->getPickupDelay()<=0){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x6b\x64\x67\x6bb\x66b\x79"]="i\x74\x65m";${${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x69l\x72\x6dl\x6ax\x7a"]}=$entity->getItem();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76kd\x67\x6b\x62\x66b\x79"]} instanceof Item){${"GLO\x42\x41\x4c\x53"}["\x66\x6bm\x6anv\x75\x75\x64\x72o"]="\x70\x6b";${"\x47L\x4fBA\x4cS"}["\x6c\x6c\x71\x69\x7a\x61t\x68slf\x75"]="add";${${"\x47L\x4f\x42A\x4cS"}["\x6cl\x71i\x7a\x61ths\x6c\x66\x75"]}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x68\x68o\x64\x76r\x73\x76\x65\x6b\x65"]="\x69t\x65m";${"\x47\x4cO\x42AL\x53"}["\x64o\x6f\x69\x64n"]="\x61d\x64";if(!$this->getFloatingInventory()->canAddItem(${${"\x47\x4c\x4f\x42A\x4cS"}["\x65\x68\x68\x6f\x64vrs\x76\x65\x6b\x65"]})or!$this->inventory->canAddItem(${${"G\x4cOBA\x4c\x53"}["ii\x6c\x72mlj\x78z"]})){continue;}${${"GL\x4fB\x41\x4c\x53"}["d\x6fo\x69d\x6e"]}=true;}$pnoevumb="p\x6b";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6eo\x64a\x63\x79un\x6f"]}=new InventoryPickupItemEvent($this->inventory,${${"\x47LOB\x41\x4cS"}["k\x74\x77\x65\x66m"]}));if($ev->isCancelled()){continue;}switch($item->getId()){case Item::WOOD:$this->awardAchievement("\x6d\x69\x6eeW\x6fod");break;case Item::DIAMOND:$this->awardAchievement("\x64i\x61mon\x64");break;}${${"G\x4cOB\x41\x4c\x53"}["f\x6bm\x6a\x6e\x76\x75\x75\x64\x72\x6f"]}=new TakeItemEntityPacket();$pk->eid=$this->getId();${"G\x4cO\x42\x41\x4cS"}["\x67\x62\x73\x74\x63\x62\x78g\x6b\x73\x72\x68"]="p\x6b";$pk->target=$entity->getId();${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x76\x75\x71\x6f\x62\x62\x67\x68"]="a\x64d";Server::broadcastPacket($entity->getViewers(),${${"\x47\x4c\x4f\x42A\x4c\x53"}["w\x7a\x61\x72\x6eypq\x6f\x67"]});${$pnoevumb}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"\x47\x4cO\x42\x41LS"}["\x67\x62\x73\x74c\x62\x78\x67\x6b\x73\x72\x68"]});if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x75v\x75\x71\x6f\x62\x62\x67\x68"]}){$this->getFloatingInventory()->addItem(clone${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x69\x6crm\x6cj\x78z"]});}$entity->kill();}}}}}protected function processMovement($tickDiff){${"GL\x4fBA\x4c\x53"}["\x6emw\x69\x62d\x63\x6a\x6a\x64o\x66"]="\x72e\x76\x65\x72t";$vnvrjevk="f\x72o\x6d";${"G\x4cO\x42\x41L\x53"}["\x6a\x6c\x77\x68\x70\x6d\x74"]="\x74\x6f";if(!$this->isAlive()or!$this->spawned or$this->newPosition===null or$this->teleportPosition!==null){$this->setMoving(false);return;}${"\x47\x4cO\x42\x41LS"}["x\x72\x73df\x77\x69"]="\x64\x65l\x74\x61";$cppypgz="\x64\x65\x6c\x74a\x41n\x67l\x65";${${"G\x4c\x4f\x42A\x4c\x53"}["\x79e\x62\x74wi\x6ddk\x68"]}=$this->newPosition;${${"G\x4cOB\x41L\x53"}["\x64\x68\x6a\x77s\x74u"]}=$newPos->distanceSquared($this);${${"G\x4cO\x42\x41\x4c\x53"}["\x6e\x6dw\x69b\x64\x63\x6a\x6a\x64\x6f\x66"]}=false;$rnqlprd="\x64\x69\x73\x74\x61\x6ec\x65\x53\x71uared";if($this->server->checkMovement){${"\x47LO\x42\x41\x4c\x53"}["\x61\x72h\x61\x79\x72d\x72x\x73z"]="d\x69\x73\x74\x61n\x63\x65\x53q\x75\x61red";if((${${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x72\x68a\x79\x72dr\x78\x73\x7a"]}/(${${"\x47L\x4fB\x41\x4c\x53"}["\x6cby\x74hk\x65t\x66i\x6b"]}**2))>200){${${"GLO\x42ALS"}["x\x79\x74\x77jbo\x72y\x64"]}=true;}else{if($this->chunk===null or!$this->chunk->isGenerated()){${"GL\x4fB\x41L\x53"}["x\x71\x70\x78\x62s\x65hey"]="\x63h\x75\x6e\x6b";${${"\x47L\x4f\x42\x41LS"}["x\x71\x70\x78\x62seh\x65\x79"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"G\x4c\x4f\x42\x41L\x53"}["e\x6d\x74\x73lgy\x70\x6e\x63la"]}===null or!$chunk->isGenerated()){${${"\x47\x4c\x4fBA\x4c\x53"}["\x78y\x74w\x6a\x62\x6fr\x79\x64"]}=true;$this->nextChunkOrderRun=0;}else{if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"G\x4cOB\x41LS"}["\x65\x6dt\x73l\x67y\x70\x6ecl\x61"]};}}}}else{if($this->chunk===null or!$this->chunk->isGenerated()){${"\x47L\x4fB\x41\x4c\x53"}["\x78a\x67\x67\x64\x66\x78\x69\x69\x63\x6da"]="c\x68u\x6ek";${${"\x47\x4c\x4fB\x41\x4cS"}["\x78a\x67\x67\x64\x66x\x69\x69\x63\x6d\x61"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65m\x74s\x6c\x67\x79\x70n\x63l\x61"]}===null or!$chunk->isGenerated()){${"G\x4c\x4f\x42\x41\x4cS"}["gxy\x79\x61\x63\x6a\x69\x63x"]="\x72ev\x65\x72\x74";${${"\x47L\x4fBA\x4cS"}["\x67xy\x79a\x63\x6aic\x78"]}=true;$this->nextChunkOrderRun=0;}else{$yemkezdsslxg="c\x68\x75\x6e\x6b";if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${$yemkezdsslxg};}}}${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x6d\x65\x71\x69v\x7a\x65\x79\x78\x66"]="d\x69s\x74\x61\x6e\x63e\x53\x71\x75\x61re\x64";if(!${${"G\x4c\x4fB\x41\x4cS"}["\x78\x79twjboryd"]} and${$rnqlprd}!=0){${"\x47\x4c\x4f\x42\x41L\x53"}["nx\x78\x6b\x67\x69h\x6dk\x73\x69\x71"]="d\x79";$tzrmdfighvn="t\x69c\x6b\x44\x69f\x66";$qmbvgow="di\x66f\x59";$wpbngrewr="\x64\x78";${"GL\x4f\x42\x41\x4cS"}["atw\x6e\x78y"]="\x64iff";$awxtyqlr="\x64\x78";${"\x47\x4c\x4f\x42\x41\x4cS"}["sq\x6f\x69m\x6a\x67\x6d\x6c\x79"]="di\x66\x66\x59";$bcvlvroqkb="\x79S";${"G\x4c\x4f\x42AL\x53"}["\x64\x67\x63\x66\x76\x77\x68c"]="\x64\x7a";${$wpbngrewr}=$newPos->x-$this->x;${${"G\x4cOB\x41LS"}["nx\x78\x6bg\x69\x68m\x6bs\x69\x71"]}=$newPos->y-$this->y;$fefrwdia="\x64\x69\x66fY";$cbwtzt="\x79\x53";${"\x47L\x4f\x42\x41\x4cS"}["gi\x69\x73r\x73\x7a"]="d\x69ff\x5a";$kmnmodslyc="\x64\x69f\x66Y";${${"G\x4c\x4f\x42\x41\x4cS"}["\x73lf\x69r\x74kw\x63i\x61\x61"]}=$newPos->z-$this->z;$tsxkbwux="\x64\x69ffZ";$this->move(${$awxtyqlr},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["qn\x66\x74\x78\x74\x6f\x6ex\x74"]},${${"G\x4cO\x42A\x4c\x53"}["\x64\x67cfv\x77\x68c"]});${${"\x47LO\x42\x41LS"}["\x6b\x6fhj\x7a\x72\x6d"]}=$this->x-$newPos->x;${$kmnmodslyc}=$this->y-$newPos->y;${${"G\x4c\x4f\x42A\x4cS"}["gi\x69s\x72sz"]}=$this->z-$newPos->z;${${"G\x4c\x4f\x42\x41\x4c\x53"}["r\x68\x66n\x65\x62"]}=0.5+$this->ySize;if(${$qmbvgow}>=-${$cbwtzt} or${${"GL\x4f\x42A\x4c\x53"}["\x73qo\x69\x6djg\x6d\x6cy"]}<=${$bcvlvroqkb}){${${"\x47L\x4fB\x41\x4cS"}["\x6fs\x6a\x6e\x65\x77\x73"]}=0;}${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x74w\x6exy"]}=(${${"\x47\x4c\x4fB\x41\x4c\x53"}["k\x6f\x68\x6a\x7arm"]}**2+${$fefrwdia}**2+${$tsxkbwux}**2)/(${$tzrmdfighvn}**2);}${$vnvrjevk}=new Location($this->lastX,$this->lastY,$this->lastZ,$this->lastYaw,$this->lastPitch,$this->level);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x6cwh\x70m\x74"]}=$this->getLocation();${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x78r\x73\x64\x66\x77\x69"]}=pow($this->lastX-$to->x,2)+pow($this->lastY-$to->y,2)+pow($this->lastZ-$to->z,2);${$cppypgz}=abs($this->lastYaw-$to->yaw)+abs($this->lastPitch-$to->pitch);if(!${${"\x47\x4cOBA\x4c\x53"}["\x78\x79t\x77\x6a\x62\x6f\x72\x79d"]} and(${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x66l\x79xnyp\x6a\x61"]}>(1/16)or${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77yu\x74i\x7ail\x6a\x79\x6c"]}>10)){${${"GL\x4fBA\x4cS"}["\x77\x6a\x65\x67\x6dq\x70"]}=($this->lastX===null or$this->lastY===null or$this->lastZ===null);$this->lastX=$to->x;$this->lastY=$to->y;$this->lastZ=$to->z;$this->lastYaw=$to->yaw;$this->lastPitch=$to->pitch;if(!${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6a\x65\x67m\x71\x70"]}){$fmpfrvohqxy="e\x76";$hlgtyiws="f\x72\x6fm";${"GLOB\x41\x4cS"}["\x70y\x79\x77\x68\x7amaj\x74\x7a"]="t\x6f";${$fmpfrvohqxy}=new PlayerMoveEvent($this,${$hlgtyiws},${${"\x47\x4cO\x42\x41L\x53"}["\x70\x79\x79w\x68z\x6d\x61\x6a\x74\x7a"]});$this->setMoving(true);${"GL\x4f\x42AL\x53"}["\x65\x77\x6do\x70i\x66"]="e\x76";$this->server->getPluginManager()->callEvent(${${"\x47L\x4fB\x41L\x53"}["\x65w\x6d\x6f\x70if"]});if(!(${${"GL\x4f\x42\x41\x4cS"}["xy\x74wj\x62\x6f\x72y\x64"]}=$ev->isCancelled())){if($this->server->netherEnabled){if($this->isInsideOfPortal()){if($this->portalTime==0){$this->portalTime=$this->server->getTick();}}else{$this->portalTime=0;}}if($to->distanceSquared($ev->getTo())>0.01){$this->teleport($ev->getTo());}else{$this->addMovement($this->x,$this->y+$this->getEyeHeight(),$this->z,$this->yaw,$this->pitch,$this->yaw);}if($this->fishingHook instanceof FishingHook){if($this->distance($this->fishingHook)>33 or$this->inventory->getItemInHand()->getId()!==Item::FISHING_ROD){$this->setFishingHook();}}}}if(!$this->isSpectator()){$this->checkNearEntities(${${"\x47\x4c\x4fB\x41L\x53"}["l\x62\x79\x74h\x6bet\x66\x69\x6b"]});}$this->speed=$from->subtract(${${"\x47\x4cO\x42\x41\x4c\x53"}["h\x76b\x64zoc\x62\x78\x61u"]});}elseif(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x6d\x65qiv\x7a\x65\x79\x78\x66"]}==0){$this->speed=new Vector3(0,0,0);$this->setMoving(false);}if(${${"\x47L\x4f\x42\x41\x4cS"}["xy\x74w\x6a\x62\x6fryd"]}&&!$this->isSpectator()){$this->lastX=$from->x;$uyovexoevldw="\x66\x72o\x6d";$this->lastY=$from->y;$this->lastZ=$from->z;$this->lastYaw=$from->yaw;$this->lastPitch=$from->pitch;$this->sendPosition(${$uyovexoevldw},$from->yaw,$from->pitch,1);$this->forceMovement=new Vector3($from->x,$from->y,$from->z);}else{$ihhxnhwv="\x64\x69s\x74a\x6ec\x65\x53\x71\x75\x61r\x65\x64";$this->forceMovement=null;if(${$ihhxnhwv}!=0 and$this->nextChunkOrderRun>20){$this->nextChunkOrderRun=20;}}$this->newPosition=null;}public function addMovement($x,$y,$z,$yaw,$pitch,$headYaw=null){if($this->chunk!==null){$icjspabrq="\x7a";${"\x47LO\x42A\x4c\x53"}["\x79\x73lt\x74\x71\x74"]="h\x65a\x64Y\x61\x77";${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x71\x73\x71\x6a\x73\x6c\x68\x77\x75q"]="\x70i\x74\x63\x68";$this->level->addPlayerMovement($this->chunk->getX(),$this->chunk->getZ(),$this->id,${${"\x47\x4cO\x42\x41\x4cS"}["e\x6dt\x67\x71\x71\x76"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x68\x6f\x65\x6aw\x78"]},${$icjspabrq},${${"\x47L\x4f\x42\x41\x4cS"}["\x62co\x6cpu\x6c\x6a\x6c\x64"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["dq\x73\x71\x6a\x73\x6c\x68\x77\x75\x71"]},$this->onGround,${${"GLO\x42\x41\x4cS"}["tguz\x78\x76\x64c"]}===null?${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62c\x6fl\x70u\x6c\x6ald"]}:${${"\x47L\x4fB\x41L\x53"}["y\x73lt\x74\x71t"]});}}public function setMotion(Vector3$mot){$ohrobbq="\x6dot";if(parent::setMotion(${$ohrobbq})){if($this->chunk!==null){$this->level->addEntityMotion($this->chunk->getX(),$this->chunk->getZ(),$this->getId(),$this->motionX,$this->motionY,$this->motionZ);${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77\x7a\x61\x72n\x79\x70q\x6f\x67"]}=new SetEntityMotionPacket();${"\x47\x4c\x4fBAL\x53"}["\x6fgq\x65\x68\x6e\x65\x79\x6b"]="pk";$pk->entities[]=[0,$mot->x,$mot->y,$mot->z];$this->dataPacket(${${"GL\x4fB\x41L\x53"}["o\x67\x71\x65\x68n\x65\x79\x6b"]});}if($this->motionY>0){$this->startAirTicks=(-(log($this->gravity/($this->gravity+$this->drag*$this->motionY)))/$this->drag)*2+5;}return true;}return false;}protected function updateMovement(){}public$foodTick=0;public$starvationTick=0;public$foodUsageTime=0;protected$moving=false;public function setMoving($moving){$this->moving=${${"\x47\x4c\x4f\x42A\x4cS"}["\x62\x74\x73\x77\x77\x69\x64\x65\x66"]};}public function isMoving():bool{return$this->moving;}public function sendAttributes(){${"\x47\x4c\x4f\x42A\x4c\x53"}["b\x6b\x67\x6e\x67zw\x75\x68o"]="e\x6et\x72ie\x73";${${"GL\x4f\x42\x41\x4cS"}["\x62\x6b\x67\x6e\x67\x7awu\x68o"]}=$this->attributeMap->needSend();if(count(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x69\x75\x77\x75\x66pm\x71"]})>0){${"\x47L\x4f\x42\x41LS"}["v\x6dm\x75\x6ced\x6c"]="\x65\x6e\x74\x72\x69es";${${"\x47L\x4fB\x41\x4c\x53"}["wza\x72\x6eyp\x71\x6f\x67"]}=new UpdateAttributesPacket();${"\x47\x4c\x4f\x42A\x4c\x53"}["\x75\x62\x70d\x64v\x6e\x6e"]="e\x6e\x74\x72\x79";$bvqmmolf="p\x6b";$pk->entityId=0;$pk->entries=${${"\x47\x4c\x4fB\x41L\x53"}["\x76\x6d\x6du\x6c\x65\x64\x6c"]};$this->dataPacket(${$bvqmmolf});foreach(${${"G\x4cO\x42\x41\x4cS"}["\x69\x75w\x75\x66\x70m\x71"]} as${${"\x47LOB\x41\x4c\x53"}["u\x62\x70\x64d\x76nn"]}){$entry->markSynchronized();}}}public function onUpdate($currentTick){${"\x47\x4cO\x42\x41\x4c\x53"}["dk\x68\x69h\x77\x6f\x74m"]="\x63\x75\x72\x72\x65\x6e\x74\x54\x69\x63\x6b";if(!$this->loggedIn){return false;}${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x62zxg\x78p\x73"]="\x74\x69c\x6b\x44\x69ff";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6e\x62z\x78gx\x70\x73"]}=${${"\x47\x4c\x4f\x42\x41\x4cS"}["mz\x76\x73\x6cfl\x6b"]}-$this->lastUpdate;if(${${"G\x4cOB\x41\x4c\x53"}["\x6c\x62\x79\x74\x68\x6b\x65\x74f\x69k"]}<=0){return true;}$this->messageCounter=2;$this->lastUpdate=${${"\x47\x4cOB\x41\x4cS"}["d\x6b\x68ih\x77\x6f\x74\x6d"]};$this->sendAttributes();if(!$this->isAlive()and$this->spawned){++$this->deadTicks;if($this->deadTicks>=10){$this->despawnFromAll();}return true;}$this->timings->startTiming();if($this->spawned){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x6e\x6fdy\x71v\x69\x67\x6a"]="\x74\x69\x63\x6b\x44\x69f\x66";if($this->server->netherEnabled){if(($this->isCreative()or$this->isSurvival()and$this->server->getTick()-$this->portalTime>=80)and$this->portalTime>0){if($this->server->netherLevel instanceof Level){if($this->getLevel()!=$this->server->netherLevel){$this->fromPos=$this->getPosition();$this->fromPos->x=((int)$this->fromPos->x)+0.5;$this->fromPos->z=((int)$this->fromPos->z)+0.5;$this->teleport($this->shouldResPos=$this->server->netherLevel->getSafeSpawn());}elseif($this->fromPos instanceof Position){${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x73\x6bnnl\x61\x77l\x69\x67"]="\x6a";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x73\x68\x6ef\x68"]="a\x64d";$olaqxnkldgk="\x74\x65m\x70\x6f\x73";$zhhxcngol="j";if(!($this->getLevel()->isChunkLoaded($this->fromPos->x,$this->fromPos->z))){$this->getLevel()->loadChunk($this->fromPos->x,$this->fromPos->z);}${${"\x47L\x4f\x42\x41\x4c\x53"}["osh\x6e\x66\x68"]}=[1,0,-1,0,0,1,0,-1];${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x64\x67v\x7acp\x73"]="j";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cr\x65fc\x78\x63j\x68\x71"]="\x74\x65\x6d\x70o\x73";${${"\x47\x4cOB\x41LS"}["n\x67\x77\x64\x6bi"]}=null;for(${${"\x47\x4c\x4f\x42\x41LS"}["\x75\x73k\x6enlaw\x6cig"]}=2;${${"\x47L\x4f\x42\x41L\x53"}["\x67\x64\x67v\x7acp\x73"]}<5;${$zhhxcngol}++){${"\x47\x4cO\x42\x41\x4c\x53"}["\x65j\x6f\x70\x68\x64g\x63"]="i";$xxbubustdt="\x69";for(${${"\x47\x4cOB\x41\x4c\x53"}["yi\x63\x79e\x78\x75h\x71i"]}=0;${${"GL\x4f\x42AL\x53"}["e\x6aophd\x67\x63"]}<4;${$xxbubustdt}++){${"G\x4c\x4fBA\x4cS"}["\x6f\x63\x6f\x77\x77dx\x6c"]="\x61\x64\x64";${"\x47\x4c\x4f\x42AL\x53"}["\x70\x75\x6f\x76c\x64\x64\x6a"]="\x6a";${"\x47\x4c\x4f\x42\x41LS"}["\x6d\x77t\x66te\x6f"]="\x69";${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x76\x63t\x73\x69\x77\x69\x6ek\x62"]="\x69";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${${"\x47L\x4fB\x41\x4c\x53"}["oc\x6f\x77\x77\x64\x78\x6c"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77v\x63\x74\x73\x69\x77\x69\x6e\x6b\x62"]}]*${${"\x47\x4c\x4f\x42ALS"}["\x6c\x65\x62\x70\x68\x6b\x6c"]},0,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x78\x73\x65\x75\x69un"]}[${${"G\x4cO\x42A\x4cS"}["mwtf\x74e\x6f"]}+4]*${${"\x47LO\x42\x41\x4cS"}["pu\x6f\x76\x63d\x64\x6a"]}))->getId()===Block::AIR){$ohpcwclh="ad\x64";$bweitjhqyc="j";$kiiifori="j";$kmbiekimi="add";${"G\x4c\x4fBA\x4cS"}["\x71s\x77\x6f\x65f\x66\x7a\x67\x72\x78"]="\x69";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${$ohpcwclh}[${${"G\x4c\x4f\x42\x41L\x53"}["\x71s\x77o\x65ff\x7a\x67\x72x"]}]*${$kiiifori},1,${$kmbiekimi}[${${"\x47\x4c\x4f\x42\x41LS"}["\x79\x69\x63\x79e\x78u\x68\x71\x69"]}+4]*${$bweitjhqyc}))->getId()===Block::AIR){$kvphmusmbq="\x61dd";${"\x47LOB\x41\x4cS"}["\x73\x6edy\x70\x75\x6d\x79kp\x72"]="\x74empo\x73";$rimqcjouuub="\x61d\x64";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6e\x64\x79\x70u\x6d\x79k\x70\x72"]}=$this->fromPos->add(${$rimqcjouuub}[${${"G\x4c\x4f\x42ALS"}["\x79icy\x65\x78\x75\x68\x71\x69"]}]*${${"\x47\x4cOB\x41LS"}["\x6c\x65b\x70\x68kl"]},0,${$kvphmusmbq}[${${"\x47\x4cO\x42A\x4c\x53"}["\x79ic\x79\x65x\x75h\x71\x69"]}+4]*${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x65bphk\x6c"]});break;}}}if(${${"G\x4c\x4f\x42\x41L\x53"}["\x6egwd\x6b\x69"]}!=null){break;}}$unptgwlb="\x61\x64d";if(${${"\x47L\x4f\x42\x41\x4cS"}["\x6egw\x64k\x69"]}==null){$sacisytuuoeu="\x74\x65\x6dp\x6f\x73";${$sacisytuuoeu}=$this->fromPos->add(mt_rand(-2,2),0,mt_rand(-2,2));}$this->teleport($this->shouldResPos=${$olaqxnkldgk});${$unptgwlb}=null;${${"\x47\x4c\x4f\x42AL\x53"}["\x6c\x72\x65f\x63\x78c\x6ah\x71"]}=null;$this->fromPos=null;}else{$this->teleport($this->shouldResPos=$this->server->getDefaultLevel()->getSafeSpawn());}$this->portalTime=0;}}}if(!$this->isSleeping()){${"\x47\x4cO\x42\x41\x4cS"}["\x6a\x6dco\x64\x71s\x6d\x73\x63"]="\x74\x69c\x6b\x44\x69\x66f";$this->processMovement(${${"G\x4c\x4f\x42\x41L\x53"}["\x6a\x6dc\x6f\x64\x71\x73\x6d\x73c"]});}if(!$this->isSpectator())$this->entityBaseTick(${${"G\x4c\x4f\x42\x41L\x53"}["\x77\x6eod\x79\x71\x76i\x67\x6a"]});if($this->isOnFire()or$this->lastUpdate%10==0){if($this->isCreative()and!$this->isInsideOfFire()){$this->extinguish();}elseif($this->getLevel()->getWeather()->isRainy()){if($this->getLevel()->canBlockSeeSky($this)){$this->extinguish();}}}if($this->server->antiFly){if(!$this->isSpectator()and$this->speed!==null){if($this->onGround){if($this->inAirTicks!==0){$this->startAirTicks=5;}$this->inAirTicks=0;}else{if(!$this->allowFlight and$this->inAirTicks>10 and!$this->isSleeping()and$this->getDataProperty(self::DATA_NO_AI)!==1){$icgxpfgjkiz="\x65x\x70e\x63\x74edV\x65\x6coci\x74\x79";$eqiftjzxo="\x64i\x66\x66";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x6d\x6b\x72\x68\x70\x67\x79\x69v\x66"]="d\x69\x66\x66";${${"G\x4c\x4f\x42A\x4cS"}["\x68b\x73g\x78\x68\x66\x6b\x6enk"]}=(-$this->gravity)/$this->drag-((-$this->gravity)/$this->drag)*exp(-$this->drag*($this->inAirTicks-$this->startAirTicks));${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6d\x6brh\x70\x67y\x69v\x66"]}=($this->speed->y-${$icgxpfgjkiz})**2;if(!$this->hasEffect(Effect::JUMP)and${$eqiftjzxo}>0.6 and${${"\x47L\x4f\x42ALS"}["h\x62\x73\x67\x78\x68\x66\x6bn\x6e\x6b"]}<$this->speed->y and!$this->server->getAllowFlight()){${"GL\x4fB\x41\x4c\x53"}["\x70pyc\x74ru\x75\x62"]="e\x78\x70\x65\x63\x74\x65d\x56\x65\x6c\x6f\x63i\x74y";$this->setMotion($this->temporalVector->setComponents(0,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x70\x79\x63\x74\x72\x75u\x62"]},0));}}++$this->inAirTicks;}}}if($this->getTransactionQueue()!==null){$this->getTransactionQueue()->execute();}}$this->checkTeleportPosition();$this->timings->stopTiming();return true;}public function checkNetwork(){if(!$this->isOnline()){return;}if($this->nextChunkOrderRun--<=0 or$this->chunk===null){$this->orderChunks();}if(count($this->loadQueue)>0 or!$this->spawned){$this->sendNextChunk();}if(count($this->batchedPackets)>0){$this->server->batchPackets([$this],$this->batchedPackets,false);$this->batchedPackets=[];}}public function canInteract(Vector3$pos,$maxDistance,$maxDiff=0.5){${"\x47LO\x42A\x4c\x53"}["\x6c\x70qtf\x72j\x63\x6c\x64\x63"]="\x65\x79e\x50\x6f\x73";${${"\x47\x4c\x4fBA\x4c\x53"}["\x6c\x70qtf\x72j\x63l\x64c"]}=$this->getPosition()->add(0,$this->getEyeHeight(),0);if($eyePos->distanceSquared(${${"G\x4c\x4f\x42\x41L\x53"}["k\x6f\x7a\x77\x64u"]})>${${"G\x4c\x4f\x42A\x4cS"}["lu\x70\x6bt\x66"]}**2){return false;}${${"G\x4c\x4fBA\x4cS"}["\x75\x66\x67\x71b\x76f\x69\x65n\x66"]}=$this->getDirectionPlane();${"\x47L\x4f\x42\x41LS"}["lu\x72\x76\x67j\x67"]="\x6d\x61\x78Di\x66f";${${"\x47L\x4fBALS"}["\x6co\x6b\x6a\x6c\x65\x6e\x71\x67k"]}=$dV->dot(new Vector2($eyePos->x,$eyePos->z));${${"\x47\x4c\x4fBAL\x53"}["\x6b\x6ero\x78qd\x63\x66m"]}=$dV->dot(new Vector2($pos->x,$pos->z));return(${${"\x47\x4c\x4fBA\x4c\x53"}["kn\x72\x6fx\x71\x64\x63\x66\x6d"]}-${${"\x47LOB\x41L\x53"}["\x6co\x6b\x6a\x6ce\x6e\x71\x67\x6b"]})>=-${${"GLO\x42\x41LS"}["l\x75\x72v\x67j\x67"]};}public function onPlayerPreLogin(){$kifkqx="pk";${${"\x47L\x4fB\x41\x4c\x53"}["\x77\x7a\x61\x72ny\x70q\x6f\x67"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$kifkqx});$this->processLogin();}public function clearCreativeItems(){$this->personalCreativeItems=[];}public function getCreativeItems():array{return$this->personalCreativeItems;}public function addCreativeItem(Item$item){$this->personalCreativeItems[]=Item::get($item->getId(),$item->getDamage());}public function removeCreativeItem(Item$item){$psacwhji="\x69te\x6d";${${"\x47\x4cO\x42\x41L\x53"}["\x76tsgj\x65\x69\x6c"]}=$this->getCreativeItemIndex(${$psacwhji});if(${${"GL\x4f\x42\x41\x4c\x53"}["vts\x67\x6a\x65i\x6c"]}!==-1){${"\x47\x4cO\x42A\x4c\x53"}["f\x6e\x61\x67\x79kw\x76s\x6a\x6f"]="\x69\x6e\x64\x65\x78";unset($this->personalCreativeItems[${${"G\x4c\x4f\x42\x41L\x53"}["\x66n\x61\x67\x79k\x77vsjo"]}]);}}public function getCreativeItemIndex(Item$item):int{foreach($this->personalCreativeItems as${${"\x47L\x4fBA\x4cS"}["\x79\x69cy\x65\x78uh\x71\x69"]}=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x64\x6b\x71\x71\x73\x76\x64"]}){if($item->equals(${${"\x47\x4c\x4f\x42AL\x53"}["\x74\x64k\x71\x71\x73\x76\x64"]},!$item->isTool())){return${${"\x47\x4cO\x42A\x4c\x53"}["\x79\x69\x63y\x65\x78\x75\x68\x71i"]};}}return-1;}protected function processLogin(){$eubuxclrnsf="\x6ce\x76\x65\x6c";$ufsrvincyej="\x6eb\x74";$tajbiqh="\x6eb\x74";if(!$this->server->isWhitelisted(strtolower($this->getName()))){$this->close($this->getLeaveMessage(),"\x53er\x76e\x72\x20is\x20w\x68\x69t\x65-\x6ci\x73\x74\x65\x64");return;}elseif($this->server->getNameBans()->isBanned(strtolower($this->getName()))or$this->server->getIPBans()->isBanned($this->getAddress())or$this->server->getCIDBans()->isBanned($this->randomClientId)){$this->close($this->getLeaveMessage(),TextFormat::RED."Y\x6f\x75 \x61re ba\x6e\x6e\x65d");return;}if($this->hasPermission(Server::BROADCAST_CHANNEL_USERS)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_USERS,$this);}$ejtbukpvj="\x70";if($this->hasPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE)){$this->server->getPluginManager()->subscribeToPermission(Server::BROADCAST_CHANNEL_ADMINISTRATIVE,$this);}${"\x47L\x4f\x42\x41\x4c\x53"}["m\x6fhg\x75\x6bn\x63\x74g"]="\x70k";${"\x47\x4c\x4fBAL\x53"}["\x78\x6c\x68o\x63y\x64\x6ajc"]="\x6e\x62t";${"\x47L\x4f\x42\x41L\x53"}["\x66d\x61g\x7a\x74\x79z\x6a\x68\x6c"]="\x6e\x62\x74";foreach($this->server->getOnlinePlayers()as${$ejtbukpvj}){${"\x47\x4cOB\x41\x4cS"}["glslgi\x7a\x77\x6d"]="\x70";if(${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x6c\x73\x6cg\x69\x7a\x77m"]}!==$this and strtolower($p->getName())===strtolower($this->getName())){if($p->kick("\x6c\x6fg\x67\x65\x64 in\x20f\x72o\x6d\x20\x61\x6eo\x74h\x65\x72 lo\x63a\x74i\x6f\x6e")===false){$this->close($this->getLeaveMessage(),"L\x6fg\x67\x65\x64\x20\x69n\x20f\x72\x6f\x6d\x20\x61\x6e\x6fth\x65r\x20\x6c\x6f\x63ati\x6f\x6e");return;}}elseif($p->loggedIn and$this->getUniqueId()->equals($p->getUniqueId())){if($p->kick("\x6c\x6f\x67g\x65d i\x6e fr\x6f\x6d \x61n\x6f\x74\x68e\x72 \x6c\x6fcat\x69on")===false){$this->close($this->getLeaveMessage(),"L\x6fgg\x65d\x20\x69n f\x72\x6fm\x20\x61\x6eo\x74her l\x6fcat\x69\x6fn");return;}}}${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x71\x72a\x72\x74\x78\x6cu"]="\x70\x6b";$this->setNameTag($this->getDisplayName());${"\x47\x4cO\x42\x41L\x53"}["p\x70\x63\x72j\x66lg\x65"]="\x6e\x62\x74";${$ufsrvincyej}=$this->server->getOfflinePlayerData($this->username);$wmcirnk="\x6ebt";${"\x47LOBA\x4c\x53"}["\x74j\x77r\x65r\x68"]="\x6ebt";$this->playedBefore=(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65f\x6a\x76\x71o\x70"]}["\x6c\x61\x73tP\x6caye\x64"]-${${"GL\x4f\x42\x41LS"}["f\x64\x61\x67z\x74y\x7aj\x68l"]}["f\x69rst\x50\x6c\x61\x79ed"])>1;if(!isset($nbt->NameTag)){$nbt->NameTag=new StringTag("Na\x6deT\x61\x67",$this->username);}else{$ltiiwzkyjxk="\x6e\x62\x74";${$ltiiwzkyjxk}["\x4eam\x65\x54a\x67"]=$this->username;}${"G\x4c\x4fBA\x4c\x53"}["s\x6b\x63jq\x70\x68\x6eep"]="\x6cev\x65\x6c";if(!isset($nbt->Hunger)or!isset($nbt->Health)or!isset($nbt->MaxHealth)){$nbt->Hunger=new ShortTag("H\x75ng\x65r",20);$nbt->Health=new ShortTag("\x48\x65a\x6ct\x68",20);$nbt->MaxHealth=new ShortTag("Ma\x78He\x61\x6c\x74h",20);}$this->food=${${"GL\x4f\x42\x41\x4c\x53"}["\x78\x6c\x68\x6fc\x79\x64\x6a\x6ac"]}["\x48\x75\x6e\x67\x65r"];$this->setMaxHealth(${${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x6a\x77\x72\x65\x72\x68"]}["Max\x48e\x61lth"]);Entity::setHealth((${${"\x47LO\x42A\x4cS"}["e\x66j\x76\x71\x6f\x70"]}["He\x61\x6c\x74\x68"]<=0)?20:${${"G\x4cO\x42\x41LS"}["ef\x6a\x76\x71\x6f\x70"]}["He\x61l\x74\x68"]);$this->gamemode=${${"G\x4c\x4f\x42\x41L\x53"}["\x70\x70\x63\x72\x6a\x66\x6c\x67\x65"]}["\x70la\x79er\x47\x61m\x65\x54\x79p\x65"]&0x03;if($this->server->getForceGamemode()){$this->gamemode=$this->server->getGamemode();$nbt->playerGameType=new IntTag("\x70\x6c\x61\x79\x65\x72\x47\x61\x6d\x65T\x79\x70e",$this->gamemode);}$this->allowFlight=$this->isCreative();${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x65\x63\x71\x66\x67\x77x\x65\x79\x64"]="p\x6b";if((${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6b\x63\x6a\x71\x70hnep"]}=$this->server->getLevelByName(${${"G\x4c\x4fB\x41\x4c\x53"}["e\x66j\x76q\x6f\x70"]}["Le\x76\x65\x6c"]))===null){$this->setLevel($this->server->getDefaultLevel());${"\x47\x4c\x4f\x42A\x4c\x53"}["y\x72c\x63\x72\x65"]="n\x62\x74";${${"\x47\x4c\x4fBA\x4cS"}["\x65\x66\x6av\x71\x6fp"]}["Le\x76e\x6c"]=$this->level->getName();${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79r\x63c\x72\x65"]}["\x50os"][0]=$this->level->getSpawnLocation()->x;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x66\x6a\x76\x71\x6f\x70"]}["\x50o\x73"][1]=$this->level->getSpawnLocation()->y;${${"GLOB\x41\x4c\x53"}["\x65\x66j\x76\x71\x6f\x70"]}["\x50\x6fs"][2]=$this->level->getSpawnLocation()->z;}else{$this->setLevel(${${"GL\x4fB\x41LS"}["\x6ede\x73o\x67q\x6e\x6d\x62m"]});}if(!(${$tajbiqh} instanceof CompoundTag)){$this->close($this->getLeaveMessage(),"\x49nva\x6c\x69d\x20dat\x61");return;}${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x6fb\x6c\x6a\x6bf"]="\x73\x70\x61w\x6e\x50o\x73\x69\x74\x69o\x6e";$obqfcs="\x6e\x62t";$this->achievements=[];foreach($nbt->Achievements as${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73n\x67\x78\x76\x66h\x76"]}){$this->achievements[$achievement->getName()]=$achievement->getValue()>0?true:false;}$qxqgwqhedgh="\x70\x6b";$nbt->lastPlayed=new LongTag("l\x61\x73t\x50\x6c\x61ye\x64",floor(microtime(true)*1000));if($this->server->getAutoSave()){${"\x47L\x4f\x42A\x4cS"}["\x6f\x6dq\x70j\x71\x73i\x6ao"]="\x6e\x62t";$this->server->saveOfflinePlayerData($this->username,${${"\x47L\x4fBA\x4cS"}["o\x6dqp\x6aqs\x69\x6a\x6f"]},true);}parent::__construct($this->level->getChunk(${$wmcirnk}["Pos"][0]>>4,${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x66\x6a\x76q\x6f\x70"]}["Pos"][2]>>4,true),${$obqfcs});$this->loggedIn=true;$this->server->addOnlinePlayer($this);$this->server->getPluginManager()->callEvent(${${"\x47L\x4fB\x41\x4c\x53"}["\x67\x6eoda\x63\x79\x75\x6e\x6f"]}=new PlayerLoginEvent($this,"\x50l\x75\x67\x69\x6e rea\x73\x6fn"));if($ev->isCancelled()){$this->close($this->getLeaveMessage(),$ev->getKickMessage());return;}if(!$this->isConnected()){return;}${${"\x47\x4c\x4f\x42\x41\x4cS"}["k\x71\x72\x61\x72\x74\x78\x6c\x75"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${${"\x47L\x4fBA\x4c\x53"}["m\x6f\x68\x67u\x6b\x6e\x63\x74g"]});if($this->spawnPosition===null and isset($this->namedtag->SpawnLevel)and(${$eubuxclrnsf}=$this->server->getLevelByName($this->namedtag["Sp\x61\x77\x6e\x4c\x65v\x65l"]))instanceof Level){$rggoooemuljz="\x6ce\x76e\x6c";$this->spawnPosition=new Position($this->namedtag["\x53pa\x77nX"],$this->namedtag["Spa\x77\x6e\x59"],$this->namedtag["S\x70awn\x5a"],${$rggoooemuljz});}${${"G\x4cO\x42\x41\x4cS"}["\x61ob\x6cjk\x66"]}=$this->getSpawn();${${"\x47\x4c\x4f\x42ALS"}["\x77\x7a\x61r\x6e\x79\x70q\x6f\x67"]}=new StartGamePacket();$pk->seed=-1;$pk->dimension=$this->level->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$pk->spawnX=(int)$spawnPosition->x;$pk->spawnY=(int)$spawnPosition->y;$yircxdacwe="p\x6b";$pk->spawnZ=(int)$spawnPosition->z;$pk->generator=1;$pk->gamemode=$this->gamemode&0x01;$pk->eid=0;$this->dataPacket(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x77\x7a\x61\x72n\x79pq\x6f\x67"]});${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77z\x61\x72\x6e\x79\x70qo\x67"]}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"\x47LOBA\x4c\x53"}["\x77\x7aa\x72\x6e\x79\x70\x71\x6fg"]});${${"G\x4c\x4f\x42A\x4c\x53"}["\x77z\x61\x72\x6e\x79p\x71\x6f\x67"]}=new SetSpawnPositionPacket();$pk->x=(int)$spawnPosition->x;$pk->y=(int)$spawnPosition->y;$pk->z=(int)$spawnPosition->z;$this->dataPacket(${${"G\x4c\x4f\x42\x41\x4c\x53"}["wz\x61\x72n\x79\x70\x71\x6fg"]});${$qxqgwqhedgh}=new SetHealthPacket();$pk->health=$this->getHealth();$this->dataPacket(${${"\x47\x4c\x4f\x42AL\x53"}["w\x7a\x61\x72\x6eypq\x6f\x67"]});${${"GLOBA\x4c\x53"}["wzarny\x70\x71o\x67"]}=new SetDifficultyPacket();$pk->difficulty=$this->server->getDifficulty();$this->dataPacket(${$yircxdacwe});$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("\x70oc\x6bet\x6dine\x2epl\x61\x79er.\x6c\x6fg\x49\x6e",[TextFormat::AQUA.$this->username.TextFormat::WHITE,$this->ip,$this->port,TextFormat::GREEN.$this->randomClientId.TextFormat::WHITE,$this->id,$this->level->getName(),round($this->x,4),round($this->y,4),round($this->z,4)]));if($this->gamemode===Player::SPECTATOR){$eiuzlogyk="p\x6b";${$eiuzlogyk}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${${"\x47LO\x42ALS"}["\x77\x7aa\x72\x6eyp\x71\x6f\x67"]});}else{if(AnyVersionManager::isProtocol($this,"0.\x315")){${"\x47\x4c\x4f\x42\x41L\x53"}["\x7afof\x77f"]="\x70k";${${"GL\x4f\x42AL\x53"}["\x7af\x6f\x66\x77\x66"]}=new ContainerSetContentPacket();${"\x47LO\x42\x41L\x53"}["\x74\x6dbb\x65n\x73\x6f"]="p\x6b";$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"\x47L\x4fB\x41\x4cS"}["t\x6d\x62\x62\x65\x6e\x73\x6f"]});}else if(AnyVersionManager::isProtocol($this,"0.1\x34")){${"G\x4c\x4f\x42\x41L\x53"}["\x71\x63pym\x62k\x6ef\x6d"]="\x70k";${${"\x47LOBA\x4c\x53"}["\x77\x7a\x61rn\x79\x70q\x6fg"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"\x47\x4c\x4f\x42\x41\x4cS"}["qcp\x79\x6d\x62\x6bn\x66\x6d"]});}}${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72e\x63q\x66\x67wx\x65\x79d"]}=new SetEntityDataPacket();$pk->eid=0;$pk->metadata=[self::DATA_LEAD_HOLDER=>[self::DATA_TYPE_LONG,-1]];$this->dataPacket(${${"G\x4c\x4f\x42ALS"}["w\x7a\x61\x72ny\x70\x71\x6f\x67"]});$this->forceMovement=$this->teleportPosition=$this->getPosition();}public function getProtocol(){return$this->protocol;}public function handleDataPacket($packet){$nifther="\x70\x6f\x73";$agfhrcauhxob="p\x61\x63\x6b\x65\x74";$vgybaoxd="\x74\x61\x72\x67e\x74";$drffdpgi="\x70k";${"G\x4c\x4f\x42\x41\x4cS"}["os\x61\x65\x71\x64\x63d\x66\x65\x6f\x68"]="\x65\x76";${"\x47L\x4f\x42\x41L\x53"}["w\x68q\x64\x6cj\x71\x72\x62d\x6a"]="\x69";$dywatckscjx="\x6c\x65n";${"G\x4cO\x42A\x4cS"}["in\x67\x66\x6f\x6e\x6b\x6a\x72q\x71o"]="v\x65\x63\x74o\x72";$fkreieyjkgk="\x70\x61\x63\x6b\x65\x74";$zujlqycwtwa="\x65\x76";${"\x47\x4cOB\x41L\x53"}["mr\x72\x61\x70\x75kbu\x77\x62"]="v\x61\x6c\x69\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x75txb\x73ml\x72ip\x62"]="v\x65c\x74o\x72";${"G\x4c\x4f\x42\x41L\x53"}["\x7a\x6c\x6a\x74n\x6f\x65\x6f"]="\x69";$divljmcxvysr="\x69\x74\x65\x6d";${"\x47\x4cO\x42\x41\x4c\x53"}["aq\x6e\x64zb\x62\x70k"]="\x70k";${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x6cr\x64\x6en\x67m\x78\x76g\x63"]="\x74\x61\x72\x67\x65\x74";$llujkwq="\x74\x69\x6c\x65";if($this->connected===false){return;}${"\x47\x4c\x4f\x42\x41LS"}["n\x6e\x63\x62\x64\x6d\x64\x70"]="i";${"\x47LO\x42\x41\x4c\x53"}["\x6bb\x70\x69p\x69"]="b\x6c\x6fc\x6bV\x65c\x74\x6fr";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x78\x79\x65\x62\x6cv\x73"]="\x65\x76";$wriiralyooi="\x74\x61r\x67\x65t";$cnxkewkxm="t";${"\x47LO\x42\x41L\x53"}["\x78\x66n\x64\x79i\x76"]="\x69";$uhpxmbauy="\x70\x6b";$pqiyrtjkvrmj="r\x65\x76\x65r\x74";$injbhxv="\x6fldI\x74\x65m";$tpfbnoelo="p\x6f\x73";${"\x47L\x4fB\x41\x4cS"}["\x63\x79\x65\x74j\x65t\x64"]="p\x6fs";${"\x47\x4cO\x42\x41\x4c\x53"}["t\x63\x72jx\x62\x6bpr\x70g\x65"]="t\x61r\x67et";${"GLO\x42\x41\x4cS"}["\x77\x66xm\x6a\x75\x78"]="t\x61\x72ge\x74";$dywxge="\x74";${"\x47L\x4f\x42AL\x53"}["\x78i\x6e\x79\x71d\x69"]="i\x74\x65\x6d";$bkijhpyis="\x65\x76";${"\x47L\x4f\x42AL\x53"}["\x66\x70tr\x79\x65\x6b\x70v\x62"]="\x70o\x73";if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x69\x79\x73gr\x62"]}::NETWORK_ID===ProtocolInfo::BATCH_PACKET or${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x79s\x67\x72\x62"]}::NETWORK_ID===0x92){$this->server->getNetwork()->processBatch(${${"\x47\x4cOB\x41L\x53"}["\x69y\x73\x67\x72\x62"]},$this);return;}$ijrepr="r\x65cip\x65";$vbbsrvopwwbr="\x76a\x6cid";${"\x47L\x4f\x42\x41\x4c\x53"}["j\x65\x63s\x6b\x7a\x75b\x6e"]="i\x74\x65\x6d";$iwhonkg="p\x6b";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64f\x72\x76\x77p\x69"]="\x72\x65cipe";$this->server->getPluginManager()->callEvent(${${"GLO\x42A\x4c\x53"}["\x67\x6eod\x61\x63y\x75\x6e\x6f"]}=new DataPacketReceiveEvent($this,${$fkreieyjkgk}));${"\x47\x4c\x4f\x42AL\x53"}["g\x79\x71\x70\x71n\x72"]="\x72\x65\x63\x69\x70\x65";$mmknnvlj="\x74\x61r\x67e\x74";${"\x47\x4cO\x42\x41\x4cS"}["i\x6a\x6bm\x66\x6fc"]="ti\x6ce";${"G\x4c\x4fBA\x4c\x53"}["\x6f\x6c\x62\x71d\x68"]="e\x76";${"G\x4c\x4f\x42\x41L\x53"}["\x6b\x69\x76\x6b\x6e\x6a\x6e\x62\x64\x6f\x64f"]="\x65\x76";if($ev->isCancelled()){return;}${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x66\x79f\x6fw\x62\x78fb"]="t\x72\x61\x6e\x73\x61c\x74i\x6fn";switch(${$agfhrcauhxob}::NETWORK_ID){case ProtocolInfo::ITEM_FRAME_DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::ITEM_FRAME_DROP_ITEM_PACKET:${${"\x47\x4c\x4f\x42\x41L\x53"}["ef\x74\x78\x6fe\x6bla\x68"]}=$this->level->getTile($this->temporalVector->setComponents($packet->x,$packet->y,$packet->z));if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x66t\x78\x6f\x65k\x6c\x61h"]} instanceof ItemFrame){$pbuviicfo="b\x6co\x63\x6b";${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x6e\x71qi\x6d\x72\x72\x78"]="\x74i\x6ce";$vokaqfwxtv="bl\x6f\x63\x6b";${"\x47\x4c\x4f\x42ALS"}["bi\x77\x6blm\x65\x6a\x78w\x61"]="e\x76";${$vokaqfwxtv}=$this->level->getBlock(${${"G\x4c\x4f\x42AL\x53"}["\x72\x6e\x71\x71i\x6d\x72\x72\x78"]});$this->server->getPluginManager()->callEvent(${${"G\x4cO\x42\x41L\x53"}["\x62i\x77\x6blm\x65\x6a\x78\x77\x61"]}=new BlockBreakEvent($this,${$pbuviicfo},$this->getInventory()->getItemInHand(),true));if(!$ev->isCancelled()){${${"\x47\x4cOBA\x4c\x53"}["i\x69lrm\x6c\x6a\x78\x7a"]}=$tile->getItem();${"\x47LOB\x41L\x53"}["\x74f\x64l\x6a\x6fpy"]="i\x74e\x6d";$yoyxyj="\x62\x6c\x6fc\x6b";$kvmbnx="\x65\x76";$this->server->getPluginManager()->callEvent(${$kvmbnx}=new ItemFrameDropItemEvent($this,${$yoyxyj},${${"G\x4cO\x42\x41\x4c\x53"}["\x65f\x74x\x6fe\x6b\x6ca\x68"]},${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x66\x64\x6cj\x6f\x70\x79"]}));if(!$ev->isCancelled()){if($item->getId()!==Item::AIR){if((mt_rand(0,10)/10)<$tile->getItemDropChance()){$ckaygoll="t\x69l\x65";$this->level->dropItem(${$ckaygoll},${${"\x47\x4c\x4f\x42\x41L\x53"}["iil\x72m\x6c\x6a\x78\x7a"]});}$tile->setItem(Item::get(Item::AIR));$tile->setItemRotation(0);}}else$tile->spawnTo($this);}else$tile->spawnTo($this);}break;case ProtocolInfo::REQUEST_CHUNK_RADIUS_PACKET:case\pocketmine\network\protocol\p70\Info::REQUEST_CHUNK_RADIUS_PACKET:${${"\x47L\x4fB\x41\x4c\x53"}["\x61\x71\x6e\x64\x7abbp\x6b"]}=new ChunkRadiusUpdatedPacket();$pk->radius=($this->server->chunkRadius!=-1)?$this->server->chunkRadius:$packet->radius;$this->dataPacket(${${"\x47\x4cOB\x41\x4cS"}["wzarny\x70\x71\x6f\x67"]});break;case ProtocolInfo::PLAYER_INPUT_PACKET:case\pocketmine\network\protocol\p70\Info::PLAYER_INPUT_PACKET:break;case ProtocolInfo::LOGIN_PACKET:case\pocketmine\network\protocol\p70\Info::LOGIN_PACKET:if($this->loggedIn){break;}${${"\x47LO\x42\x41\x4c\x53"}["\x77z\x61r\x6ey\x70\x71o\x67"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$uhpxmbauy});$this->username=TextFormat::clean($packet->username);$this->displayName=$this->username;$this->setNameTag($this->username);$this->iusername=strtolower($this->username);$this->protocol=$packet->protocol;if($this->server->getConfigBoolean("o\x6el\x69\x6ee-m\x6fd\x65",false)&&$packet->identityPublicKey===null){$this->kick("di\x73\x63\x6fnne\x63tio\x6e\x53c\x72\x65e\x6e.n\x6f\x74A\x75t\x68e\x6e\x74\x69\x63ated",false);break;}if(count($this->server->getOnlinePlayers())>=$this->server->getMaxPlayers()and$this->kick("\x64i\x73\x63onne\x63\x74\x69\x6fnS\x63reen.\x73\x65rv\x65r\x46\x75\x6c\x6c",false)){break;}if(!in_array($packet->protocol,AnyVersionManager::getAcceptedProtocols())){$huoekanxfkj="pk";${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x7a\x61r\x6eyp\x71\x6fg"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_FAILED_SERVER;$this->directDataPacket(${$huoekanxfkj});$this->close("","Th\x69\x73\x20\x73erv\x65r do\x65\x73 \x6e\x6f\x74 s\x75p\x70o\x72t\x20\x79ou\x72 c\x6ci\x65nt",\false);break;}$this->randomClientId=$packet->clientId;if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x69y\x73\x67\x72\x62"]} instanceof DataPacket){$this->uuid=UUID::fromString($packet->clientUUID);$this->rawUUID=$this->uuid->toBinary();}else{$this->loginData=["clie\x6e\x74\x49d"=>$packet->clientId,"lo\x67\x69nD\x61\x74\x61"=>null];$this->uuid=$packet->clientUUID;$this->rawUUID=$this->uuid->toBinary();$this->clientSecret=$packet->clientSecret;}${$vbbsrvopwwbr}=true;${${"\x47\x4cO\x42A\x4cS"}["bz\x75q\x61\x61"]}=strlen($packet->username);if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x7a\x75\x71\x61\x61"]}>16 or${${"\x47\x4c\x4fBAL\x53"}["\x62zu\x71\x61\x61"]}<3){${"\x47LO\x42\x41LS"}["\x67\x6e\x70\x6e\x68\x6bf"]="\x76al\x69\x64";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x6e\x70\x6e\x68\x6bf"]}=false;}for(${${"\x47\x4cOB\x41\x4c\x53"}["\x78\x66\x6e\x64\x79iv"]}=0;${${"\x47\x4c\x4fB\x41LS"}["w\x68\x71d\x6cj\x71r\x62\x64\x6a"]}<${$dywatckscjx} and${${"\x47\x4cOB\x41\x4cS"}["f\x6ep\x67\x6cw\x76"]};++${${"G\x4c\x4f\x42\x41\x4cS"}["\x7a\x6cj\x74noeo"]}){${"\x47L\x4f\x42\x41L\x53"}["\x74\x63\x74\x72\x64\x75j\x73\x77\x7ab\x65"]="\x63";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73k\x70\x73\x6booi"]="\x63";${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x66ybv\x77e\x79"]="i";${"G\x4c\x4f\x42\x41\x4c\x53"}["rvk\x6d\x6e\x70\x77\x72"]="\x63";$vijxrbeosq="\x63";${"GL\x4fB\x41\x4c\x53"}["\x73\x68\x7a\x66\x70\x6b\x70"]="\x63";${"GL\x4f\x42\x41\x4c\x53"}["\x69ej\x6d\x7a\x6cb"]="c";${$vijxrbeosq}=ord($packet->username{${${"GLO\x42\x41\x4c\x53"}["x\x66\x79\x62\x76\x77\x65y"]}});$sripmceosk="v\x61l\x69\x64";$gtsrza="\x63";if((${${"\x47\x4c\x4fB\x41\x4cS"}["r\x76\x6b\x6dnp\x77\x72"]}>=ord("a")and${${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x75m\x64u\x6e\x64\x77\x62v\x79"]}<=ord("z"))or(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x65\x6a\x6d\x7a\x6cb"]}>=ord("\x41")and${${"\x47L\x4f\x42AL\x53"}["s\x6bp\x73\x6b\x6f\x6fi"]}<=ord("Z"))or(${$gtsrza}>=ord("0")and${${"GLOB\x41L\x53"}["\x74\x63t\x72du\x6as\x77\x7a\x62e"]}<=ord("9"))or${${"\x47\x4c\x4fBA\x4c\x53"}["s\x68\x7a\x66\x70\x6b\x70"]}===ord("\x5f")){continue;}${$sripmceosk}=false;break;}if(!${${"G\x4c\x4f\x42\x41\x4c\x53"}["m\x72r\x61pu\x6b\x62uw\x62"]} or$this->iusername==="\x72\x63\x6fn"or$this->iusername==="c\x6f\x6e\x73\x6fle"){$this->close("","\x64\x69sc\x6fnn\x65\x63t\x69\x6f\x6eScr\x65e\x6e\x2einv\x61\x6ci\x64Na\x6de");break;}if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","\x64\x69sco\x6enec\x74\x69on\x53cr\x65en.i\x6ev\x61l\x69d\x53ki\x6e");break;}if($packet->protocol==84){if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","\x64is\x63\x6f\x6e\x6eect\x69on\x53c\x72\x65\x65\x6e\x2e\x69nv\x61\x6c\x69\x64\x53\x6b\x69n");break;}$this->setSkin($packet->skin,$packet->skinId);$this->server->getPluginManager()->callEvent(${${"GL\x4f\x42\x41L\x53"}["\x67\x6eo\x64\x61\x63\x79\x75n\x6f"]}=new PlayerPreLoginEvent($this,"\x50lugin r\x65\x61\x73\x6f\x6e"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}}else{}if($packet->protocol==84){if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","\x64is\x63\x6f\x6enec\x74i\x6fnSc\x72ee\x6e\x2e\x69nval\x69dSki\x6e");break;}$this->setSkin($packet->skin,$packet->skinId);}else{if(\strlen($packet->skin)!==64*32*4 and\strlen($packet->skin)!==64*64*4){$this->close("","d\x69\x73\x63o\x6ene\x63\x74ion\x53\x63\x72ee\x6e\x2ei\x6e\x76a\x6c\x69\x64S\x6b\x69\x6e");break;}$this->setSkin($packet->skin,$packet->skinName);}$this->server->getPluginManager()->callEvent(${${"\x47LOB\x41\x4cS"}["g\x6eod\x61\x63\x79\x75no"]}=new PlayerPreLoginEvent($this,"P\x6c\x75\x67\x69n\x20r\x65\x61\x73o\x6e"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}$this->onPlayerPreLogin();break;case ProtocolInfo::MOVE_PLAYER_PACKET:case\pocketmine\network\protocol\p70\Info::MOVE_PLAYER_PACKET;if($this->linkedEntity instanceof Entity){${${"G\x4cOB\x41\x4c\x53"}["k\x74\x77\x65f\x6d"]}=$this->linkedEntity;if(${${"G\x4c\x4fBAL\x53"}["k\x74\x77\x65\x66m"]} instanceof Boat){$entity->setPosition($this->temporalVector->setComponents($packet->x,$packet->y-0.3,$packet->z));}}${${"\x47L\x4f\x42\x41\x4c\x53"}["ye\x62\x74\x77\x69m\x64k\x68"]}=new Vector3($packet->x,$packet->y-$this->getEyeHeight(),$packet->z);${${"\x47\x4c\x4fBAL\x53"}["\x78\x79tw\x6a\x62\x6f\x72y\x64"]}=false;if(!$this->isAlive()or$this->spawned!==true){${${"GL\x4fB\x41\x4cS"}["\x78y\x74\x77\x6ab\x6f\x72\x79\x64"]}=true;$this->forceMovement=new Vector3($this->x,$this->y,$this->z);}if($this->teleportPosition!==null or($this->forceMovement instanceof Vector3 and((${${"\x47\x4cO\x42\x41L\x53"}["\x7ab\x69\x73\x6fw\x71v\x73\x66fw"]}=$newPos->distanceSquared($this->forceMovement))>0.1 or${$pqiyrtjkvrmj}))){if($this->forceMovement instanceof Vector3)$this->sendPosition($this->forceMovement,$packet->yaw,$packet->pitch);}else{$packet->yaw%=360;$packet->pitch%=360;if($packet->yaw<0){$packet->yaw+=360;}$this->setRotation($packet->yaw,$packet->pitch);${"\x47LO\x42\x41LS"}["\x68\x6a\x66\x74s\x72\x69m\x68gj\x7a"]="n\x65wP\x6f\x73";$this->newPosition=${${"\x47\x4c\x4f\x42AL\x53"}["\x68jf\x74s\x72\x69\x6d\x68g\x6az"]};}$this->forceMovement=null;break;case ProtocolInfo::MOB_EQUIPMENT_PACKET:case\pocketmine\network\protocol\p70\Info::MOB_EQUIPMENT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->inventory->setHeldItemIndex($packet->selectedSlot,false,$packet->slot);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);break;case ProtocolInfo::USE_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::USE_ITEM_PACKET:if($this->spawned===false or!$this->isAlive()or$this->blocked){break;}${${"G\x4c\x4f\x42\x41\x4c\x53"}["kb\x70\x69\x70\x69"]}=new Vector3($packet->x,$packet->y,$packet->z);$this->craftingType=self::CRAFTING_SMALL;if($packet->face>=0 and$packet->face<=5){$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);${"GLO\x42\x41\x4cS"}["r\x65\x66\x72\x67b"]="targ\x65\x74";if(!$this->canInteract($blockVector->add(0.5,0.5,0.5),13)or$this->isSpectator()){}elseif($this->isCreative()){$ptsddxai="\x69t\x65\x6d";${"GL\x4f\x42\x41\x4cS"}["\x65\x6c\x77\x6f\x6c\x65w\x71"]="\x69\x74\x65m";${$ptsddxai}=$this->inventory->getItemInHand();if($this->level->useItemOn(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["z\x68pqdsdrt\x78\x6e"]},${${"G\x4c\x4f\x42\x41\x4cS"}["\x65\x6c\x77\x6f\x6c\x65w\x71"]},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)===true){break;}}elseif(!$this->inventory->getItemInHand()->deepEquals($packet->item)and$this->getProtocol()==84){$this->inventory->sendHeldItem($this);}elseif(!$this->inventory->getItemInHand()->deepEquals($this->inventory->getItemInHand())and AnyVersionManager::isProtocol($this,"0.1\x34")){$this->inventory->sendHeldItem($this);}else{${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x75u\x62\x6a\x75pdn\x67\x70"]="\x6f\x6c\x64I\x74\x65m";$mistckllqfbw="\x69te\x6d";$doozqfmsqcf="\x69\x74e\x6d";${$doozqfmsqcf}=$this->inventory->getItemInHand();${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x75u\x62j\x75\x70dngp"]}=clone${${"\x47\x4c\x4fB\x41\x4c\x53"}["i\x69\x6c\x72\x6dl\x6axz"]};if($this->level->useItemOn(${${"G\x4c\x4f\x42A\x4cS"}["\x7a\x68p\x71\x64\x73\x64\x72\x74\x78\x6e"]},${$mistckllqfbw},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)){$xmarojbgfb="\x6fld\x49\x74\x65\x6d";if(!$item->deepEquals(${$xmarojbgfb})or$item->getCount()!==$oldItem->getCount()){$this->inventory->setItemInHand(${${"\x47L\x4fB\x41\x4c\x53"}["\x69\x69\x6c\x72\x6d\x6cj\x78z"]});$this->inventory->sendHeldItem($this->hasSpawned);}break;}}$this->inventory->sendHeldItem($this);if($blockVector->distanceSquared($this)>10000){break;}${${"GL\x4fBA\x4c\x53"}["\x72\x65\x66\x72\x67b"]}=$this->level->getBlock(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x7a\x68\x70\x71\x64\x73d\x72tx\x6e"]});${${"GLOB\x41\x4c\x53"}["\x6d\x62\x63\x65\x76e\x6d\x79\x77\x79"]}=$target->getSide($packet->face);$this->level->sendBlocks([$this],[${${"\x47\x4cOBA\x4cS"}["\x6c\x6a\x6e\x6c\x6d\x64\x76w\x76\x72"]},${${"G\x4c\x4f\x42\x41L\x53"}["mb\x63\x65v\x65\x6d\x79\x77y"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);break;}elseif($packet->face===0xff){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6em\x72y\x72k\x65\x6ej\x75"]="\x69\x74\x65\x6d";if($this->isSpectator()){break;}${"GL\x4f\x42\x41\x4c\x53"}["\x63t\x7aqv\x78\x61"]="\x65\x76";${${"G\x4cO\x42\x41L\x53"}["\x67d\x77h\x6cct\x70o\x64\x6f"]}=(new Vector3($packet->x/32768,$packet->y/32768,$packet->z/32768))->normalize();if($this->isCreative()){$rqvdsfnedf="\x69\x74\x65\x6d";${$rqvdsfnedf}=$this->inventory->getItemInHand();}elseif(!$this->inventory->getItemInHand()->deepEquals($packet->item)){$this->inventory->sendHeldItem($this);break;}else{${${"\x47L\x4fB\x41\x4c\x53"}["\x69il\x72\x6dl\x6axz"]}=$this->inventory->getItemInHand();}${${"\x47\x4c\x4f\x42\x41L\x53"}["\x63t\x7a\x71\x76xa"]}=new PlayerInteractEvent($this,${${"G\x4cO\x42\x41L\x53"}["\x6e\x6d\x72\x79\x72k\x65n\x6au"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x64\x77h\x6c\x63tp\x6f\x64o"]},$packet->face,PlayerInteractEvent::RIGHT_CLICK_AIR);${"G\x4c\x4f\x42\x41LS"}["\x69t\x6ez\x74d\x72"]="\x65v";$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42\x41L\x53"}["\x69\x74nzt\x64\x72"]});if($ev->isCancelled()){$this->inventory->sendHeldItem($this);break;}if($item->getId()===Item::FISHING_ROD){if($this->isFishing()){$this->server->getPluginManager()->callEvent(${${"\x47\x4cOB\x41\x4c\x53"}["\x67n\x6fdacy\x75\x6e\x6f"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_STOP_FISHING));}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6e\x63\x79\x74\x68\x72\x66\x63"]="e\x76";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x6ec\x79\x74\x68\x72\x66c"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_START_FISHING));}if(!$ev->isCancelled()){if($this->isFishing()){$this->setFishingHook();}else{$ebnvqfveed="\x6eb\x74";$dxqlsvl="\x6e\x62\x74";${$dxqlsvl}=new CompoundTag("",["Pos"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"M\x6fti\x6fn"=>new ListTag("Mo\x74ion",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"\x52ot\x61t\x69o\x6e"=>new ListTag("\x52ot\x61ti\x6fn",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)])]);${${"\x47\x4c\x4f\x42A\x4c\x53"}["np\x76\x6f\x7ahe"]}=0.5;$this->fishingHook=new FishingHook($this->chunk,${$ebnvqfveed},$this,$this->getId());$this->fishingHook->setMotion($this->fishingHook->getMotion()->multiply(${${"\x47\x4cOBA\x4c\x53"}["\x6ep\x76\x6f\x7a\x68e"]}));$this->fishingHook->spawnToAll();}}}elseif($item->getId()===Item::SNOWBALL){${"G\x4c\x4f\x42AL\x53"}["\x67\x70\x74\x67f\x75\x78or\x6e"]="\x6e\x62\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["d\x63\x68\x64fz\x72"]="\x66";$oocjhw="f";${${"G\x4cO\x42\x41LS"}["e\x66\x6av\x71\x6fp"]}=new CompoundTag("",["Pos"=>new ListTag("\x50os",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Moti\x6f\x6e"=>new ListTag("M\x6f\x74i\x6f\x6e",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"\x52otati\x6f\x6e"=>new ListTag("\x52ot\x61t\x69\x6fn",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"G\x4c\x4fB\x41\x4cS"}["\x64\x63hd\x66\x7ar"]}=1.5;${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76pi\x69\x7ay\x78"]}=Entity::createEntity("Snowba\x6c\x6c",$this->chunk,${${"\x47\x4c\x4fB\x41\x4cS"}["\x67\x70\x74\x67fu\x78or\x6e"]},$this);$snowball->setMotion($snowball->getMotion()->multiply(${$oocjhw}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69i\x6c\x72\x6dl\x6a\x78z"]}:Item::get(Item::AIR));}if(${${"GL\x4fBAL\x53"}["\x76\x70i\x69\x7a\x79x"]} instanceof Projectile){${"\x47\x4cO\x42A\x4c\x53"}["aq\x79\x6b\x6fu\x70hh"]="\x70r\x6f\x6a\x65\x63ti\x6ceE\x76";${"G\x4c\x4f\x42\x41L\x53"}["l\x70m\x6c\x78y\x62\x6f"]="s\x6e\x6fw\x62\x61l\x6c";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42A\x4cS"}["\x61qy\x6b\x6f\x75p\x68\x68"]}=new ProjectileLaunchEvent(${${"GLOB\x41\x4c\x53"}["\x6cp\x6dl\x78\x79\x62\x6f"]}));if($projectileEv->isCancelled()){$snowball->kill();}else{$snowball->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$snowball->spawnToAll();}}elseif($item->getId()===Item::EGG){$bdlapfc="\x6eb\x74";${"\x47L\x4fBALS"}["b\x63vc\x6a\x67\x68\x77\x73\x69"]="f";${$bdlapfc}=new CompoundTag("",["Po\x73"=>new ListTag("P\x6f\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Moti\x6f\x6e"=>new ListTag("Moti\x6f\x6e",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"Ro\x74a\x74ion"=>new ListTag("R\x6f\x74\x61\x74\x69\x6f\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"\x47\x4c\x4f\x42AL\x53"}["\x6ep\x76o\x7a\x68e"]}=1.5;${${"GL\x4fBA\x4c\x53"}["\x70\x73\x77pp\x63\x71"]}=Entity::createEntity("E\x67\x67",$this->chunk,${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65f\x6a\x76q\x6f\x70"]},$this);$egg->setMotion($egg->getMotion()->multiply(${${"\x47\x4cOB\x41L\x53"}["bcv\x63j\x67\x68\x77s\x69"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47\x4cOBA\x4c\x53"}["\x69\x69\x6c\x72m\x6c\x6a\x78\x7a"]}:Item::get(Item::AIR));}if(${${"\x47LO\x42\x41\x4c\x53"}["\x70s\x77\x70\x70\x63\x71"]} instanceof Projectile){$eeeflhcqssaj="e\x67\x67";$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42\x41\x4c\x53"}["d\x65\x63olrt\x68\x76x\x73"]}=new ProjectileLaunchEvent(${$eeeflhcqssaj}));if($projectileEv->isCancelled()){$egg->kill();}else{$egg->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$egg->spawnToAll();}}elseif($item->getId()==Item::ENCHANTING_BOTTLE){${"\x47\x4c\x4fB\x41L\x53"}["\x71u\x6dnm\x62\x73d"]="f";${"\x47\x4cO\x42\x41L\x53"}["\x76\x6d\x6b\x6f\x67\x62\x6ad\x68\x66\x61"]="\x66";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x66\x6a\x76\x71\x6f\x70"]}=new CompoundTag("",["Po\x73"=>new ListTag("\x50os",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"M\x6ftion"=>new ListTag("\x4doti\x6fn",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"R\x6ftat\x69o\x6e"=>new ListTag("R\x6ft\x61t\x69\x6f\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${${"\x47\x4c\x4fBA\x4cS"}["\x71\x75m\x6e\x6db\x73\x64"]}=1.1;${"\x47\x4c\x4f\x42A\x4c\x53"}["r\x66xsh\x6b\x6b\x64d"]="t\x68\x72\x6f\x77\x6e\x45\x78\x70B\x6f\x74\x74l\x65";${${"\x47\x4c\x4fB\x41L\x53"}["\x76\x66oy\x73\x71g\x68"]}=new ThrownExpBottle($this->chunk,${${"\x47LO\x42A\x4cS"}["e\x66\x6a\x76\x71\x6f\x70"]},$this);$thrownExpBottle->setMotion($thrownExpBottle->getMotion()->multiply(${${"G\x4c\x4fBA\x4c\x53"}["\x76\x6d\x6bog\x62\x6a\x64\x68f\x61"]}));if($this->isSurvival()){${"\x47L\x4f\x42A\x4c\x53"}["\x6e\x71x\x69\x78gt\x67\x6eb"]="ite\x6d";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47\x4cO\x42A\x4cS"}["\x6e\x71\x78i\x78g\x74\x67n\x62"]}:Item::get(Item::AIR));}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72f\x78\x73\x68\x6bk\x64d"]} instanceof Projectile){$fnchhdyyb="\x70\x72\x6f\x6a\x65\x63t\x69l\x65\x45v";$bgvbahv="\x74h\x72o\x77\x6e\x45x\x70\x42\x6ft\x74\x6ce";$this->server->getPluginManager()->callEvent(${$fnchhdyyb}=new ProjectileLaunchEvent(${$bgvbahv}));if($projectileEv->isCancelled()){$thrownExpBottle->kill();}else{$thrownExpBottle->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$thrownExpBottle->spawnToAll();}}elseif($item->getId()==Item::SPLASH_POTION and$this->server->allowSplashPotion){${"\x47\x4cO\x42\x41L\x53"}["\x79\x77\x6c\x6c\x7a\x6d\x75y\x74\x6cl"]="\x6e\x62t";${"\x47L\x4f\x42\x41\x4cS"}["\x6eu\x6d\x77\x75\x68vs\x6cm\x6a"]="\x74h\x72ow\x6eP\x6f\x74i\x6f\x6e";$xoeyauudmxti="\x66";${"G\x4cO\x42\x41\x4c\x53"}["nx\x65r\x67\x6a\x6d\x6fn\x61"]="\x6e\x62t";${"\x47\x4cO\x42AL\x53"}["\x76ab\x6f\x70\x74\x6c\x6b\x6e"]="\x74h\x72o\x77\x6ePo\x74\x69\x6fn";${${"G\x4cO\x42\x41LS"}["\x79\x77\x6c\x6cz\x6du\x79t\x6c\x6c"]}=new CompoundTag("",["P\x6fs"=>new ListTag("\x50o\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"\x4dot\x69o\x6e"=>new ListTag("Mo\x74io\x6e",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"\x52\x6ft\x61tio\x6e"=>new ListTag("\x52o\x74at\x69on",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"\x50\x6ft\x69o\x6e\x49d"=>new ShortTag("\x50\x6f\x74ion\x49\x64",$item->getDamage()),]);${$xoeyauudmxti}=1.1;${${"\x47L\x4f\x42\x41L\x53"}["\x6eu\x6d\x77u\x68vsl\x6d\x6a"]}=new ThrownPotion($this->chunk,${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6exe\x72\x67\x6am\x6f\x6ea"]},$this);$thrownPotion->setMotion($thrownPotion->getMotion()->multiply(${${"GLOB\x41\x4c\x53"}["\x6e\x70\x76o\x7ah\x65"]}));if($this->isSurvival()){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ju\x78\x65\x61\x70\x74\x6ay\x6f\x61"]="\x69t\x65\x6d";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47\x4c\x4f\x42\x41L\x53"}["j\x75\x78e\x61\x70\x74j\x79\x6fa"]}:Item::get(Item::AIR));}if(${${"GLO\x42AL\x53"}["v\x61\x62\x6f\x70\x74\x6c\x6b\x6e"]} instanceof Projectile){${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x6fa\x6d\x63\x6f\x73v\x65"]="\x70r\x6fj\x65c\x74\x69\x6c\x65E\x76";$idonqvsk="th\x72\x6f\x77\x6e\x50o\x74i\x6f\x6e";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x77\x6f\x61\x6dco\x73\x76\x65"]}=new ProjectileLaunchEvent(${$idonqvsk}));if($projectileEv->isCancelled()){$thrownPotion->kill();}else{$thrownPotion->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$thrownPotion->spawnToAll();}}$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,true);$this->startAction=$this->server->getTick();}break;case ProtocolInfo::PLAYER_ACTION_PACKET:case\pocketmine\network\protocol\p70\Info::PLAYER_ACTION_PACKET:if($this->spawned===false or$this->blocked===true or(!$this->isAlive()and$packet->action!==PlayerActionPacket::ACTION_SPAWN_SAME_DIMENSION and$packet->action!==PlayerActionPacket::ACTION_SPAWN_OVERWORLD)){break;}$packet->eid=$this->id;${${"\x47\x4c\x4fBA\x4cS"}["f\x70t\x72yek\x70\x76b"]}=new Vector3($packet->x,$packet->y,$packet->z);switch($packet->action){case PlayerActionPacket::ACTION_START_BREAK:if($pos->distanceSquared($this)>10000){break;}${$wriiralyooi}=$this->level->getBlock(${${"\x47\x4cO\x42AL\x53"}["\x63ye\x74\x6a\x65\x74\x64"]});${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x6e\x6fd\x61\x63\x79u\x6e\x6f"]}=new PlayerInteractEvent($this,$this->inventory->getItemInHand(),${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x66\x78\x6d\x6au\x78"]},$packet->face,$target->getId()===0?PlayerInteractEvent::LEFT_CLICK_AIR:PlayerInteractEvent::LEFT_CLICK_BLOCK);$this->getServer()->getPluginManager()->callEvent(${${"\x47L\x4f\x42\x41\x4c\x53"}["g\x6eod\x61c\x79\x75\x6eo"]});if(!$ev->isCancelled()){${${"\x47\x4c\x4f\x42A\x4cS"}["n\x75n\x6cy\x62j\x65i"]}=$target->getSide($packet->face);if(${${"\x47L\x4f\x42A\x4cS"}["nu\x6e\x6cy\x62\x6a\x65\x69"]} instanceof Fire){$side->getLevel()->setBlock(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6eun\x6c\x79\x62\x6ae\x69"]},new Air());}$this->lastBreak=microtime(true);}else{$this->inventory->sendHeldItem($this);}break;case PlayerActionPacket::ACTION_ABORT_BREAK:$this->lastBreak=PHP_INT_MAX;break;case PlayerActionPacket::ACTION_RELEASE_ITEM:if($this->startAction>-1 and$this->getDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION)){if($this->inventory->getItemInHand()->getId()===Item::BOW){${"G\x4cO\x42A\x4cS"}["\x62t\x6d\x62\x72\x73x\x6d\x7a"]="bo\x77";${"\x47\x4cO\x42\x41\x4cS"}["f\x79\x6cp\x73\x69"]="\x64\x69\x66f";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x62\x74mb\x72\x73\x78m\x7a"]}=$this->inventory->getItemInHand();${"\x47L\x4f\x42\x41\x4cS"}["\x65y\x74\x75\x75\x78\x64\x74"]="\x69\x74e\x6d";${"G\x4cO\x42\x41L\x53"}["\x6f\x7a\x65\x75vb\x65\x71"]="a\x72ro\x77";if($this->isSurvival()and!$this->inventory->contains(Item::get(Item::ARROW,null))){$this->inventory->sendContents($this);break;}${${"\x47\x4cO\x42ALS"}["lf\x6f\x6dv\x63z\x79\x77"]}=false;foreach($this->inventory->getContents()as${${"\x47L\x4f\x42\x41L\x53"}["e\x79tu\x75\x78\x64\x74"]}){if($item->getId()==Item::ARROW){${${"\x47\x4c\x4f\x42\x41LS"}["\x6cfo\x6dvc\x7ay\x77"]}=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x69\x6cr\x6d\x6c\x6a\x78\x7a"]};}}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76v\x71u\x68\x78\x6e\x7a\x76"]="\x66";${"\x47L\x4fBALS"}["\x6c\x6d\x71\x77\x74\x6c\x76x\x78\x64\x67"]="\x6e\x62\x74";if(${${"\x47\x4cO\x42AL\x53"}["\x6c\x66\x6fm\x76\x63z\x79w"]}===false and$this->isCreative()){${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6c\x66\x6f\x6d\x76c\x7ay\x77"]}=Item::get(Item::ARROW,0,1);}elseif(${${"\x47\x4c\x4fB\x41L\x53"}["oze\x75\x76\x62e\x71"]}===false){break;}${${"\x47LO\x42\x41\x4cS"}["\x6cm\x71\x77\x74\x6cv\x78\x78d\x67"]}=new CompoundTag("",["\x50\x6f\x73"=>new ListTag("\x50\x6fs",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"\x4d\x6fti\x6f\x6e"=>new ListTag("M\x6ft\x69\x6f\x6e",[new DoubleTag("",-sin($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI)),new DoubleTag("",-sin($this->pitch/180*M_PI)),new DoubleTag("",cos($this->yaw/180*M_PI)*cos($this->pitch/180*M_PI))]),"R\x6fta\x74i\x6f\x6e"=>new ListTag("\x52ota\x74\x69o\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"F\x69re"=>new ShortTag("Fir\x65",$this->isOnFire()?45*60:0),"\x50\x6f\x74i\x6f\x6e"=>new ShortTag("Pot\x69\x6fn",$arrow->getDamage())]);${"\x47LOB\x41\x4c\x53"}["\x68k\x62\x68\x6di\x70\x78"]="f";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x79\x6c\x70\x73i"]}=($this->server->getTick()-$this->startAction);${"GL\x4f\x42\x41\x4c\x53"}["\x70\x6f\x70jr\x6b\x73iey"]="\x64if\x66";${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x75\x74\x70\x70\x6b\x71"]}=${${"\x47\x4cO\x42A\x4cS"}["p\x6fpj\x72k\x73ie\x79"]}/20;${"\x47\x4c\x4f\x42AL\x53"}["\x6cxpg\x6aj\x78o"]="e\x76";${${"\x47\x4c\x4fBA\x4c\x53"}["\x6ep\x76\x6f\x7ah\x65"]}=min(((${${"\x47L\x4f\x42\x41L\x53"}["\x79\x75\x74pp\x6b\x71"]}**2)+${${"\x47\x4c\x4f\x42\x41LS"}["y\x75\x74\x70pk\x71"]}*2)/3,1)*2;${${"G\x4c\x4fBALS"}["\x6cx\x70\x67\x6a\x6ax\x6f"]}=new EntityShootBowEvent($this,${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x71\x74\x72\x69\x61\x74\x75\x63q\x6b"]},Entity::createEntity("Arr\x6f\x77",$this->chunk,${${"G\x4c\x4f\x42\x41LS"}["\x65\x66j\x76\x71\x6fp"]},$this,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x70v\x6f\x7ahe"]}==2?true:false),${${"G\x4c\x4fB\x41\x4cS"}["\x68\x6bb\x68\x6d\x69\x70\x78"]});if(${${"\x47L\x4f\x42AL\x53"}["\x76\x76\x71\x75h\x78\x6e\x7a\x76"]}<0.1 or${${"\x47\x4c\x4fB\x41\x4c\x53"}["qc\x76\x76\x78ky\x63e\x79\x72\x6e"]}<5){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"\x47\x4cOBAL\x53"}["\x67\x6e\x6f\x64a\x63\x79\x75\x6e\x6f"]});if($ev->isCancelled()){$ev->getProjectile()->kill();$this->inventory->sendContents($this);}else{$ev->getProjectile()->setMotion($ev->getProjectile()->getMotion()->multiply($ev->getForce()));if($this->isSurvival()){$this->inventory->removeItem(Item::get(Item::ARROW,$arrow->getDamage(),1));$bow->setDamage($bow->getDamage()+1);if($bow->getDamage()>=385){$this->inventory->setItemInHand(Item::get(Item::AIR,0,0));}else{$this->inventory->setItemInHand(${${"\x47\x4cOB\x41\x4cS"}["\x6d\x71t\x72\x69\x61t\x75\x63\x71k"]});}}if($ev->getProjectile()instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x65\x63\x6fl\x72\x74hvxs"]}=new ProjectileLaunchEvent($ev->getProjectile()));if($projectileEv->isCancelled()){$ev->getProjectile()->kill();}else{$ev->getProjectile()->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$ev->getProjectile()->spawnToAll();}}}}elseif($this->inventory->getItemInHand()->getId()===Item::BUCKET and$this->inventory->getItemInHand()->getDamage()===1){${"\x47\x4cO\x42\x41\x4c\x53"}["\x78\x74\x6c\x61\x6dt\x75"]="p\x6b";${"G\x4c\x4f\x42\x41\x4c\x53"}["v\x65\x6ddz\x71\x6b"]="\x65\x76";$this->server->getPluginManager()->callEvent(${${"\x47LO\x42AL\x53"}["v\x65\x6d\x64\x7a\x71k"]}=new PlayerItemConsumeEvent($this,$this->inventory->getItemInHand()));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}${"G\x4cO\x42ALS"}["\x77y\x75\x77\x6b\x6b\x6e"]="\x70k";${${"\x47L\x4f\x42\x41\x4c\x53"}["w\x79uw\x6b\x6b\x6e"]}=new EntityEventPacket();$pk->eid=$this->getId();$pk->event=EntityEventPacket::USE_ITEM;$this->dataPacket(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78t\x6c\x61\x6dt\x75"]});Server::broadcastPacket($this->getViewers(),${${"G\x4cO\x42\x41\x4c\x53"}["wz\x61\x72\x6e\x79\x70q\x6f\x67"]});if($this->isSurvival()){${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x67\x61\x74\x78\x72\x79z\x64"]}=$this->inventory->getItemInHand();--$slot->count;$this->inventory->setItemInHand(${${"\x47\x4cO\x42\x41LS"}["\x76\x67\x61t\x78\x72\x79z\x64"]});$this->inventory->addItem(Item::get(Item::BUCKET,0,1));}$this->removeAllEffects();}else{$this->inventory->sendContents($this);}break;case PlayerActionPacket::ACTION_STOP_SLEEPING:$this->stopSleep();break;case PlayerActionPacket::ACTION_SPAWN_SAME_DIMENSION:case PlayerActionPacket::ACTION_SPAWN_OVERWORLD:if($this->isAlive()or!$this->isOnline()){break;}if($this->server->isHardcore()){$this->setBanned(true);break;}$this->craftingType=self::CRAFTING_SMALL;if($this->server->netherEnabled){if($this->level==$this->server->netherLevel){${"G\x4c\x4fBAL\x53"}["\x62\x6c\x68\x74tv\x6f"]="p\x6f\x73";$this->teleport(${${"G\x4c\x4fBA\x4cS"}["blh\x74t\x76o"]}=$this->server->getDefaultLevel()->getSafeSpawn());}}$this->server->getPluginManager()->callEvent(${$zujlqycwtwa}=new PlayerRespawnEvent($this,$this->getSpawn()));$this->teleport($ev->getRespawnPosition());$this->setSprinting(false);$this->setSneaking(false);$this->extinguish();$this->setDataProperty(self::DATA_AIR,self::DATA_TYPE_SHORT,300);$this->deadTicks=0;$this->noDamageTicks=60;$this->removeAllEffects();$this->setHealth($this->getMaxHealth());$this->setFood(20);$this->starvationTick=0;$this->foodTick=0;$this->foodUsageTime=0;$this->sendData($this);$this->sendSettings();$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);$this->blocked=false;$this->spawnToAll();$this->scheduleUpdate();break;case PlayerActionPacket::ACTION_START_SPRINT:${${"G\x4c\x4f\x42\x41LS"}["o\x73\x61\x65\x71d\x63d\x66\x65\x6f\x68"]}=new PlayerToggleSprintEvent($this,true);$this->server->getPluginManager()->callEvent(${${"\x47L\x4fB\x41\x4c\x53"}["g\x6e\x6fd\x61c\x79\x75n\x6f"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(true);}break 2;case PlayerActionPacket::ACTION_STOP_SPRINT:${${"\x47\x4cO\x42A\x4c\x53"}["g\x6e\x6f\x64\x61\x63\x79u\x6eo"]}=new PlayerToggleSprintEvent($this,false);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6e\x6f\x64\x61\x63\x79u\x6eo"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(false);}break 2;case PlayerActionPacket::ACTION_START_SNEAK:${${"G\x4c\x4f\x42ALS"}["\x6fl\x62\x71\x64h"]}=new PlayerToggleSneakEvent($this,true);$this->server->getPluginManager()->callEvent(${${"G\x4cOB\x41L\x53"}["x\x79eb\x6cvs"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(true);}break 2;case PlayerActionPacket::ACTION_STOP_SNEAK:${${"\x47\x4c\x4f\x42A\x4cS"}["g\x6eo\x64acy\x75\x6eo"]}=new PlayerToggleSneakEvent($this,false);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41L\x53"}["ki\x76k\x6e\x6a\x6ebd\x6fd\x66"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(false);}break 2;case PlayerActionPacket::ACTION_JUMP:break 2;}$this->startAction=-1;$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);break;case ProtocolInfo::REMOVE_BLOCK_PACKET:case\pocketmine\network\protocol\p70\Info::REMOVE_BLOCK_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;${${"G\x4c\x4f\x42AL\x53"}["\x64nf\x71\x64t\x76"]}=new Vector3($packet->x,$packet->y,$packet->z);${$divljmcxvysr}=$this->inventory->getItemInHand();${$injbhxv}=clone${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x69\x69\x6c\x72m\x6cjxz"]};if($this->canInteract($vector->add(0.5,0.5,0.5),$this->isCreative()?13:6)and$this->level->useBreakOn(${${"GL\x4fB\x41LS"}["\x69\x6eg\x66\x6f\x6e\x6b\x6a\x72\x71\x71\x6f"]},${${"\x47\x4cO\x42\x41\x4cS"}["\x69\x69\x6c\x72\x6d\x6c\x6a\x78\x7a"]},$this,$this->server->destroyBlockParticle)){if($this->isSurvival()){if(!$item->equals(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x72b\x6e\x6e\x6f\x69\x6b"]})or$item->getCount()!==$oldItem->getCount()){$stwzlj="\x69t\x65m";$this->inventory->setItemInHand(${$stwzlj});$this->inventory->sendHeldItem($this);}$this->exhaust(0.025,PlayerExhaustEvent::CAUSE_MINING);}break;}$this->inventory->sendContents($this);${$mmknnvlj}=$this->level->getBlock(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x74xb\x73m\x6c\x72i\x70\x62"]});${${"G\x4cO\x42\x41\x4cS"}["\x69\x6a\x6b\x6df\x6fc"]}=$this->level->getTile(${${"\x47\x4cO\x42AL\x53"}["\x64n\x66\x71\x64t\x76"]});$this->level->sendBlocks([$this],[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6cj\x6e\x6cmdv\x77vr"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);$this->inventory->sendHeldItem($this);if(${$llujkwq} instanceof Spawnable){$tile->spawnTo($this);}break;case ProtocolInfo::MOB_ARMOR_EQUIPMENT_PACKET:case\pocketmine\network\protocol\p70\Info::MOB_ARMOR_EQUIPMENT_PACKET:break;case ProtocolInfo::INTERACT_PACKET:case\pocketmine\network\protocol\p70\Info::INTERACT_PACKET:if($this->spawned===false or!$this->isAlive()or$this->blocked){break;}$this->craftingType=self::CRAFTING_SMALL;${${"G\x4cO\x42A\x4c\x53"}["\x6c\x6an\x6cmd\x76\x77\x76\x72"]}=$this->level->getEntity($packet->target);${${"\x47\x4c\x4f\x42AL\x53"}["\x73sb\x6d\x6d\x72\x6f\x6ed\x76"]}=false;if(${${"GL\x4f\x42\x41\x4cS"}["\x74\x63r\x6a\x78b\x6b\x70\x72\x70\x67e"]} instanceof Player and$this->server->getConfigBoolean("\x70vp",true)===false){$ndyfgnmimy="canc\x65\x6c\x6c\x65\x64";${$ndyfgnmimy}=true;}if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["h\x6c\x72\x64\x6eng\x6d\x78\x76g\x63"]} instanceof Boat or(${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x6a\x6e\x6cm\x64v\x77\x76r"]} instanceof Minecart and$target->getType()==Minecart::TYPE_NORMAL)){if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){$this->linkEntity(${${"G\x4cO\x42\x41L\x53"}["\x6c\x6a\x6e\x6cm\x64\x76w\x76\x72"]});}elseif($packet->action===InteractPacket::ACTION_LEFT_CLICK){$fuollkt="ta\x72g\x65t";if($this->linkedEntity==${$fuollkt}){$target->setLinked(0,$this);}$target->close();}elseif($packet->action===InteractPacket::ACTION_LEAVE_VEHICLE){$this->setLinked(0,${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6c\x6an\x6cm\x64v\x77\x76\x72"]});}return;}if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){${"G\x4cOBA\x4c\x53"}["v\x72\x65w\x61\x75\x7a\x76"]="\x74\x61\x72\x67et";if(${${"\x47\x4cO\x42A\x4c\x53"}["v\x72ew\x61uz\x76"]} instanceof Animal and$this->getInventory()->getItemInHand()){}break;}if(${$vgybaoxd} instanceof Entity and$this->getGamemode()!==Player::VIEW and$this->isAlive()and$target->isAlive()){${"\x47\x4cO\x42A\x4cS"}["\x73\x64\x63\x74\x74o\x69\x66"]="it\x65m";if(${${"G\x4c\x4f\x42\x41L\x53"}["lj\x6e\x6c\x6d\x64\x76\x77\x76\x72"]} instanceof DroppedItem or${${"\x47\x4c\x4fB\x41L\x53"}["\x6cj\x6el\x6d\x64\x76\x77v\x72"]} instanceof Arrow){$this->kick("A\x74temp\x74i\x6e\x67\x20t\x6f att\x61c\x6b \x61\x6e i\x6e\x76a\x6ci\x64 \x65\x6et\x69\x74y");$this->server->getLogger()->warning($this->getServer()->getLanguage()->translateString("p\x6f\x63\x6b\x65tm\x69\x6e\x65.p\x6c\x61\x79e\x72\x2ei\x6e\x76al\x69dEnt\x69\x74\x79",[$this->getName()]));break;}${"GLO\x42ALS"}["y\x6emi\x67\x67\x63"]="\x64\x61\x6da\x67\x65";$dtrcxwllyevd="\x74ar\x67e\x74";$tjvynfcqr="ta\x72g\x65\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["or\x6c\x76\x61\x67n"]="\x65\x76";$dzluvggzuma="\x74a\x72\x67\x65t";${${"G\x4cOB\x41\x4cS"}["\x73dc\x74\x74\x6f\x69f"]}=$this->inventory->getItemInHand();${${"GLO\x42A\x4cS"}["y\x6e\x6di\x67\x67c"]}=[EntityDamageEvent::MODIFIER_BASE=>$item->getModifyAttackDamage(${$dzluvggzuma}),];$nrcewgtq="\x64a\x6d\x61\x67\x65";$wlfmnw="\x63a\x6e\x63\x65l\x6ce\x64";if(!$this->canInteract(${${"\x47\x4cO\x42\x41L\x53"}["l\x6a\x6e\x6cm\x64v\x77vr"]},8)){${"G\x4c\x4f\x42\x41L\x53"}["\x6fl\x69t\x69qm\x79\x63\x6a\x79\x75"]="\x63\x61\x6e\x63\x65lle\x64";${${"\x47\x4c\x4f\x42ALS"}["\x6fl\x69\x74i\x71\x6d\x79\x63j\x79\x75"]}=true;}elseif(${$dtrcxwllyevd} instanceof Player){if(($target->getGamemode()&0x01)>0){break;}elseif($this->server->getConfigBoolean("\x70\x76p")!==true or$this->server->getDifficulty()===0){${${"GL\x4fBA\x4cS"}["\x73s\x62m\x6dr\x6f\x6ed\x76"]}=true;}}${${"\x47\x4cOB\x41\x4cS"}["orl\x76\x61gn"]}=new EntityDamageByEntityEvent($this,${$tjvynfcqr},EntityDamageEvent::CAUSE_ENTITY_ATTACK,${$nrcewgtq},0.4+$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_KNOCKBACK)*0.15);${"\x47L\x4f\x42A\x4c\x53"}["\x72\x6ad\x68\x6al\x75\x76"]="ev";if(${$wlfmnw}){$ev->setCancelled();}if($target->attack($ev->getFinalDamage(),${${"\x47L\x4f\x42\x41\x4cS"}["\x72j\x64\x68\x6a\x6c\x75\x76"]})===true){${${"G\x4c\x4fBALS"}["\x6fr\x62kwm\x77k\x65"]}=$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_FIRE_ASPECT);if(${${"\x47\x4c\x4fB\x41LS"}["\x6frb\x6bwmw\x6b\x65"]}>0){${"\x47LO\x42\x41L\x53"}["\x7a\x6c\x6d\x63\x78q\x70u\x6cc"]="t\x61\x72\x67\x65\x74";${${"\x47L\x4f\x42AL\x53"}["\x78\x75g\x76\x70\x6fy"]}=new EntityCombustByEntityEvent($this,${${"\x47\x4c\x4f\x42AL\x53"}["z\x6c\x6d\x63\x78\x71\x70u\x6c\x63"]},${${"\x47\x4c\x4f\x42ALS"}["\x6f\x72\x62\x6bw\x6d\x77\x6b\x65"]}*4,$ev->getFireProtectL());Server::getInstance()->getPluginManager()->callEvent(${${"GL\x4f\x42A\x4cS"}["x\x75gvp\x6f\x79"]});if(!$fireEv->isCancelled()){$target->setOnFire($fireEv->getDuration());}}if($this->isSurvival()){$ev->createThornsDamage();if($ev->getThornsDamage()>0){$igmlltvne="\x74a\x72\x67\x65\x74";$tqkbvqos="t\x68\x6f\x72ns\x45\x76ent";${$tqkbvqos}=new EntityDamageByEntityEvent(${$igmlltvne},$this,EntityDamageEvent::CAUSE_ENTITY_ATTACK,$ev->getThornsDamage(),0);if(!$thornsEvent->isCancelled()){if($this->attack($thornsEvent->getFinalDamage(),${${"\x47LO\x42\x41\x4c\x53"}["\x72\x64\x77\x79\x71\x70\x72\x68\x6e\x64"]})===true){}};}}}if($ev->isCancelled()){if($item->isTool()and$this->isSurvival()){$this->inventory->sendContents($this);}break;}if($this->isSurvival()){if($item->isTool()){$fcbjtqcqlqrx="\x74\x61r\x67\x65\x74";if($item->useOn(${$fcbjtqcqlqrx})and$item->getDamage()>=$item->getMaxDurability()){$this->inventory->setItemInHand(Item::get(Item::AIR,0,1));}else{$this->inventory->setItemInHand(${${"G\x4cOB\x41\x4c\x53"}["\x69\x69\x6c\x72m\x6c\x6a\x78z"]});}}$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_ATTACK);}}break;case ProtocolInfo::ANIMATE_PACKET:case\pocketmine\network\protocol\p70\Info::ANIMATE_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->server->getPluginManager()->callEvent(${$bkijhpyis}=new PlayerAnimationEvent($this,$packet->action));if($ev->isCancelled()){break;}${$iwhonkg}=new AnimatePacket();$pk->eid=$this->getId();$pk->action=$ev->getAnimationType();Server::broadcastPacket($this->getViewers(),${$drffdpgi});break;case ProtocolInfo::SET_HEALTH_PACKET:case\pocketmine\network\protocol\p70\Info::SET_HEALTH_PACKET:break;case ProtocolInfo::ENTITY_EVENT_PACKET:case\pocketmine\network\protocol\p70\Info::ENTITY_EVENT_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);switch($packet->event){case EntityEventPacket::USE_ITEM:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["vga\x74x\x72\x79\x7a\x64"]}=$this->inventory->getItemInHand();if($slot->canBeConsumed()){$cdpejh="slot";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gn\x6f\x64\x61\x63\x79u\x6eo"]}=new PlayerItemConsumeEvent($this,${$cdpejh});if(!$slot->canBeConsumedBy($this)){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"G\x4c\x4fB\x41L\x53"}["\x67\x6e\x6fd\x61c\x79\x75\x6eo"]});if(!$ev->isCancelled()){$slot->onConsume($this);}else{$this->inventory->sendContents($this);}}break;}break;case ProtocolInfo::DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::DROP_ITEM_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}if($packet->item->getId()===Item::AIR){break;}if(($this->isCreative()and$this->server->limitedCreative)){break;}$this->getTransactionQueue()->addTransaction(new DropItemTransaction($packet->item));break;case ProtocolInfo::TEXT_PACKET:case\pocketmine\network\protocol\p70\Info::TEXT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;if($packet->type===TextPacket::TYPE_CHAT){$packet->message=TextFormat::clean($packet->message,$this->removeFormat);foreach(explode("\n",$packet->message)as${${"\x47L\x4f\x42\x41\x4cS"}["\x76\x65j\x71\x75\x73\x67v\x73\x6a\x6d\x72"]}){$elqfqu="m\x65\x73s\x61g\x65";if(trim(${$elqfqu})!=""and strlen(${${"\x47\x4cO\x42A\x4cS"}["\x76\x65\x6a\x71\x75\x73\x67vsjmr"]})<=255 and$this->messageCounter-->0){${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x75\x61l\x6b\x72\x73mz\x67"]="\x65v";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x74\x75al\x6br\x73\x6dz\x67"]}=new PlayerCommandPreprocessEvent($this,${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x76\x65j\x71usg\x76s\x6a\x6d\x72"]});${"G\x4c\x4f\x42\x41\x4cS"}["\x77\x62f\x6c\x62rv\x68\x6b"]="\x65\x76";if(mb_strlen($ev->getMessage(),"\x55TF-\x38")>320){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x62\x66\x6c\x62r\x76\x68k"]});if($ev->isCancelled()){break;}if(substr($ev->getMessage(),0,1)==="/"){Timings::$playerCommandTimer->startTiming();$this->server->dispatchCommand($ev->getPlayer(),substr($ev->getMessage(),1));Timings::$playerCommandTimer->stopTiming();}else{$whefimhi="\x65v";$this->server->getPluginManager()->callEvent(${$whefimhi}=new PlayerChatEvent($this,$ev->getMessage()));if(!$ev->isCancelled()){$this->server->broadcastMessage($this->getServer()->getLanguage()->translateString($ev->getFormat(),[$ev->getPlayer()->getDisplayName(),$ev->getMessage()]),$ev->getRecipients());}}}}}break;case ProtocolInfo::CONTAINER_CLOSE_PACKET:case\pocketmine\network\protocol\p70\Info::CONTAINER_CLOSE_PACKET:if($this->spawned===false or$packet->windowid===0){break;}$this->craftingType=self::CRAFTING_SMALL;if(isset($this->windowIndex[$packet->windowid])){$this->server->getPluginManager()->callEvent(new InventoryCloseEvent($this->windowIndex[$packet->windowid],$this));$this->removeWindow($this->windowIndex[$packet->windowid]);}foreach($this->getFloatingInventory()->getContents()as${${"G\x4c\x4f\x42A\x4c\x53"}["\x6a\x65\x63\x73k\x7a\x75b\x6e"]}){$this->getTransactionQueue()->addTransaction(new DropItemTransaction(${${"G\x4cO\x42ALS"}["\x69\x69lr\x6d\x6cj\x78\x7a"]}));}break;case ProtocolInfo::CRAFTING_EVENT_PACKET:case\pocketmine\network\protocol\p70\Info::CRAFTING_EVENT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}${${"\x47\x4c\x4fB\x41\x4c\x53"}["n\x76\x6b\x78\x6e\x77\x76\x68\x64"]}=$this->server->getCraftingManager()->getRecipe($packet->id);if($this->craftingType===self::CRAFTING_ANVIL){$rjbhfemcu="\x72\x65cip\x65";${${"\x47\x4cOB\x41L\x53"}["\x68g\x6d\x68\x72\x6e\x72\x6a\x6fn"]}=$this->windowIndex[$packet->windowId]??null;if(${${"GL\x4fBA\x4cS"}["\x68\x67\x6dhrn\x72j\x6f\x6e"]}===null){foreach($this->windowIndex as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61x\x7a\x77\x6c\x6e"]}){if(${${"\x47LOB\x41\x4c\x53"}["a\x78\x7a\x77\x6cn"]} instanceof AnvilInventory){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x74\x70\x6e\x70w\x72\x7a\x62"]="\x61\x6ev\x69\x6cInven\x74or\x79";$hedjggykix="w\x69\x6e\x64o\x77";${${"\x47L\x4f\x42\x41L\x53"}["l\x74pnpw\x72zb"]}=${$hedjggykix};break;}}if(${${"\x47LO\x42\x41\x4c\x53"}["h\x67\x6dhr\x6e\x72jo\x6e"]}===null){$this->getServer()->getLogger()->debug("C\x6f\x75\x6c\x64n\x27t\x20\x66\x69\x6ed\x20a\x6e\x20\x61n\x76\x69\x6c w\x69n\x64ow\x20\x66\x6f\x72\x20".$this->getName().", e\x78\x69\x74\x69\x6eg");$this->inventory->sendContents($this);break;}}if(${$rjbhfemcu}===null){if(!$anvilInventory->onRename($this,$packet->output[0])){$this->getServer()->getLogger()->debug($this->getName()." f\x61ile\x64\x20to\x20\x72\x65\x6e\x61\x6d\x65 \x61\x6e ite\x6d in \x61\x6e\x20\x61\x6e\x76\x69\x6c");$this->inventory->sendContents($this);}}else{}break;}elseif((${$ijrepr} instanceof BigShapelessRecipe or${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67\x79\x71\x70qn\x72"]} instanceof BigShapedRecipe)and$this->craftingType===0){$this->server->getLogger()->debug("\x52\x65\x63ei\x76ed \x62i\x67 c\x72\x61ft\x69n\x67 \x72e\x63\x69p\x65\x20fro\x6d\x20".$this->getName()." \x77i\x74h\x20\x6e\x6f \x63\x72\x61fti\x6eg\x20t\x61b\x6c\x65\x20\x6f\x70\x65\x6e");$this->inventory->sendContents($this);break;}elseif(${${"G\x4c\x4f\x42\x41L\x53"}["\x64f\x72\x76wpi"]}===null){$this->server->getLogger()->debug("\x4eul\x6c\x20(unkno\x77n)\x20\x63\x72\x61f\x74i\x6eg re\x63i\x70\x65 re\x63\x65\x69v\x65\x64 f\x72\x6f\x6d ".$this->getName()." f\x6f\x72 ".$packet->output[0]);$this->inventory->sendContents($this);break;}foreach($packet->input as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["nn\x63b\x64\x6d\x64\x70"]}=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["xin\x79q\x64\x69"]}){if($item->getDamage()===-1 or$item->getDamage()===0xffff){$item->setDamage(null);}if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x79i\x63\x79ex\x75h\x71\x69"]}<9 and$item->getId()>0){$item->setCount(1);}}${${"\x47\x4c\x4fB\x41\x4cS"}["qb\x68\x72\x6f\x6b\x6b\x65\x63\x73\x6dn"]}=true;if(count($packet->input)===0){${"\x47\x4c\x4fBAL\x53"}["\x67\x73c\x6e\x6edy\x71\x72p"]="\x70oss\x69\x62le\x52\x65c\x69p\x65\x73";$bwomqfwi="\x72ecip\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67s\x63n\x6ed\x79\x71rp"]}=$this->server->getCraftingManager()->getRecipesByResult($packet->output[0]);if(!$packet->output[0]->deepEquals($recipe->getResult())){$this->server->getLogger()->debug("M\x69s\x6d\x61\x74c\x68\x65d\x20\x64\x65\x73kt\x6f\x70 \x72\x65ci\x70e\x20\x72ec\x65\x69ve\x64\x20fr\x6fm\x20pla\x79er ".$this->getName().",\x20ex\x70\x65\x63te\x64\x20".$recipe->getResult().", \x67\x6f\x74 ".$packet->output[0]);}${$bwomqfwi}=null;foreach(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x61\x64\x69\x63\x72\x6e\x71"]} as${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x64\x6eec\x76\x66h\x75z"]}){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6e\x6f\x73\x7aoiu\x64\x66r"]="f\x6c\x6fa\x74i\x6eg\x49n\x76entor\x79";${${"G\x4c\x4f\x42\x41L\x53"}["\x6e\x6f\x73\x7ao\x69\x75\x64\x66\x72"]}=clone$this->floatingInventory;${${"\x47\x4cOBAL\x53"}["i\x63\x76\x74at\x69\x6b\x70\x67n"]}=$r->getIngredientList();foreach(${${"\x47L\x4fBA\x4c\x53"}["icv\x74ati\x6bp\x67\x6e"]} as${${"\x47\x4c\x4fB\x41L\x53"}["\x74\x70\x70wgu\x6c\x79"]}){${"\x47\x4c\x4f\x42A\x4cS"}["bjd\x77j\x61\x78"]="\x69\x6e\x67\x72\x65\x64\x69e\x6e\x74";if(!$floatingInventory->contains(${${"\x47L\x4f\x42A\x4cS"}["bj\x64\x77\x6a\x61x"]})){${${"\x47\x4cOB\x41L\x53"}["qb\x68\x72\x6f\x6b\x6be\x63\x73m\x6e"]}=false;break;}$wvquuzeix="\x69n\x67r\x65\x64i\x65\x6e\x74";$floatingInventory->removeItem(${$wvquuzeix});}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62hro\x6bk\x65\x63\x73\x6dn"]}){${"\x47LO\x42\x41\x4c\x53"}["\x75\x73f\x79n\x70p\x71\x6c\x6ak"]="r";$gtxopapt="\x72\x65\x63\x69\x70\x65";${$gtxopapt}=${${"\x47\x4cO\x42A\x4c\x53"}["\x75\x73\x66\x79\x6e\x70\x70\x71\x6cj\x6b"]};break;}}if(${${"\x47LO\x42ALS"}["\x6e\x76k\x78n\x77\x76h\x64"]}!==null){$jjxcertfksn="\x69n\x67\x72\x65d\x69ents";$jjdrjyhsgj="\x72\x65c\x69p\x65";$this->server->getPluginManager()->callEvent(${${"\x47LO\x42\x41\x4c\x53"}["gn\x6f\x64acy\x75n\x6f"]}=new CraftItemEvent($this,${$jjxcertfksn},${$jjdrjyhsgj}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}$this->floatingInventory=${${"\x47\x4c\x4f\x42\x41LS"}["\x71\x6b\x66\x79\x77p\x7a\x76\x62x\x74k"]};$this->floatingInventory->addItem(clone$recipe->getResult());}else{$this->server->getLogger()->debug("Un\x6da\x74c\x68ed d\x65sk\x74o\x70\x20c\x72\x61f\x74in\x67\x20r\x65\x63\x69pe ".$packet->id."\x20from\x20\x70\x6ca\x79e\x72\x20".$this->getName());$this->inventory->sendContents($this);break;}}else{${"\x47LO\x42\x41\x4cS"}["\x71\x61\x6d\x69q\x79l\x66\x6ba\x69\x66"]="re\x73u\x6ct";${"\x47\x4c\x4f\x42A\x4c\x53"}["k\x6f\x6eg\x79k\x74d"]="\x72\x65\x63\x69p\x65";$qeennkqjnh="i\x6eg\x72ed\x69\x65n\x74\x73";${"GLOBA\x4cS"}["\x73uh\x69\x76\x64\x73\x70"]="\x75\x73\x65\x64";$jpuynbuw="\x63\x6f\x75\x6e\x74";${"\x47L\x4f\x42\x41L\x53"}["\x61\x6a\x6b\x75g\x76"]="\x63\x61n\x43raft";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6ev\x6bx\x6e\x77\x76\x68\x64"]} instanceof ShapedRecipe){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x70\x79\x6c\x67\x78\x78\x6c\x7aa\x6a"]="x";${"\x47\x4c\x4f\x42AL\x53"}["it\x64\x6f\x78or\x6b\x70"]="\x63a\x6e\x43\x72\x61\x66t";for(${${"\x47LO\x42\x41LS"}["\x65\x6d\x74gq\x71v"]}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x65m\x74\x67\x71\x71\x76"]}<3 and${${"G\x4c\x4f\x42A\x4cS"}["\x69\x74\x64\x6fx\x6fr\x6bp"]};++${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6dp\x79\x6c\x67\x78\x78\x6c\x7aa\x6a"]}){$xtyruukwf="\x79";${"\x47\x4cO\x42A\x4cS"}["s\x75\x72o\x64\x70\x66\x69\x72\x70\x67"]="\x79";for(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6d\x68o\x65\x6a\x77\x78"]}=0;${${"G\x4c\x4fB\x41\x4c\x53"}["\x73\x75\x72o\x64\x70\x66\x69r\x70g"]}<3;++${$xtyruukwf}){${"\x47\x4c\x4fB\x41\x4cS"}["\x65\x68t\x69\x6fl\x70"]="x";${${"G\x4c\x4fBA\x4c\x53"}["\x69i\x6c\x72\x6dl\x6ax\x7a"]}=$packet->input[${${"G\x4cO\x42\x41LS"}["\x6d\x68\x6f\x65\x6aw\x78"]}*3+${${"\x47\x4cO\x42A\x4c\x53"}["\x65\x6d\x74\x67q\x71\x76"]}];${"\x47LOB\x41\x4cS"}["\x77\x74\x64e\x6c\x62y"]="\x69\x6eg\x72\x65\x64i\x65\x6e\x74";${${"\x47LO\x42A\x4cS"}["\x74p\x70\x77\x67\x75l\x79"]}=$recipe->getIngredient(${${"G\x4cO\x42\x41\x4c\x53"}["e\x68t\x69\x6f\x6c\x70"]},${${"\x47L\x4f\x42\x41L\x53"}["\x6d\x68oe\x6a\x77\x78"]});if($item->getCount()>0 and$item->getId()>0){if(${${"G\x4cOB\x41L\x53"}["\x74\x70p\x77\x67\x75l\x79"]}==null){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62nw\x73\x6bv"]="\x63anC\x72a\x66\x74";${${"\x47L\x4fB\x41\x4cS"}["\x62\x6ew\x73\x6b\x76"]}=false;break;}if($ingredient->getId()!=0 and!$ingredient->deepEquals(${${"GLO\x42A\x4cS"}["\x69\x69\x6c\x72\x6d\x6cj\x78\x7a"]},$ingredient->getDamage()!==null,$ingredient->getCompoundTag()!==null)){${"\x47\x4cOBALS"}["\x67\x6b\x65\x63\x64\x77t\x6b"]="\x63\x61n\x43\x72a\x66\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x6be\x63\x64\x77\x74k"]}=false;break;}}elseif(${${"\x47\x4cO\x42ALS"}["\x77\x74\x64\x65\x6cb\x79"]}!==null and$item->getId()!==0){${"G\x4c\x4f\x42A\x4c\x53"}["\x63so\x6d\x75p\x73\x67\x72"]="c\x61n\x43\x72\x61\x66t";${${"GL\x4fBA\x4c\x53"}["\x63\x73o\x6d\x75p\x73g\x72"]}=false;break;}}}}elseif(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6fn\x67y\x6b\x74d"]} instanceof ShapelessRecipe){$vlwdjtc="\x78";$yftzxefylp="n\x65e\x64\x65\x64";${$yftzxefylp}=$recipe->getIngredientList();${"\x47\x4c\x4f\x42\x41L\x53"}["g\x6c\x78\x6e\x63\x74\x6b\x79"]="\x78";${"\x47\x4cO\x42A\x4cS"}["\x69\x70\x6c\x65\x6fl\x69\x69\x71b\x63"]="ca\x6e\x43ra\x66\x74";for(${${"\x47\x4c\x4f\x42\x41LS"}["\x65\x6d\x74\x67\x71\x71v"]}=0;${$vlwdjtc}<3 and${${"\x47LO\x42\x41\x4c\x53"}["\x69\x70\x6ceo\x6c\x69\x69q\x62\x63"]};++${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6c\x78\x6e\x63t\x6b\x79"]}){$rutdljfrpfwc="y";for(${${"\x47\x4c\x4fB\x41L\x53"}["\x6dhoej\x77\x78"]}=0;${$rutdljfrpfwc}<3;++${${"G\x4cO\x42A\x4c\x53"}["mh\x6f\x65\x6a\x77x"]}){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x69\x6c\x72m\x6c\x6a\x78\x7a"]}=clone$packet->input[${${"G\x4cO\x42\x41\x4c\x53"}["m\x68o\x65jw\x78"]}*3+${${"\x47L\x4f\x42\x41L\x53"}["e\x6d\x74\x67\x71q\x76"]}];$ahbvglgbqw="ne\x65\x64\x65\x64";foreach(${$ahbvglgbqw} as${${"G\x4c\x4fB\x41\x4c\x53"}["\x79\x6eh\x67\x71k\x70wt"]}=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["een\x6eg\x79\x71\x6cw\x66t\x6d"]}){$ipjnerndbf="\x69\x74\x65m";if($n->deepEquals(${$ipjnerndbf},$n->getDamage()!==null,$n->getCompoundTag()!==null)){${"G\x4c\x4f\x42\x41\x4cS"}["c\x69\x6dt\x6d\x70\x66"]="r\x65\x6d\x6fve";${${"GL\x4f\x42AL\x53"}["\x63\x69\x6d\x74m\x70f"]}=min($n->getCount(),$item->getCount());$n->setCount($n->getCount()-${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x66\x68\x67i\x73m\x7aj\x77\x66\x72"]});$item->setCount($item->getCount()-${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x66\x68\x67\x69\x73m\x7a\x6a\x77f\x72"]});if($n->getCount()===0){unset(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6at\x6e\x74\x79\x61\x70uv\x79"]}[${${"G\x4c\x4f\x42\x41\x4cS"}["\x79\x6e\x68g\x71\x6bpw\x74"]}]);}}}if($item->getCount()>0){$bfhezttakj="\x63\x61\x6e\x43\x72\x61\x66\x74";${$bfhezttakj}=false;break;}}}if(count(${${"\x47LO\x42\x41L\x53"}["j\x74\x6e\x74y\x61p\x75v\x79"]})>0){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x71\x62\x68\x72o\x6b\x6be\x63\x73\x6d\x6e"]}=false;}}else{${"G\x4cO\x42A\x4c\x53"}["\x6a\x6f\x77\x79\x6fj\x73a\x71\x6a\x71"]="\x63\x61nC\x72\x61\x66\x74";${${"GL\x4f\x42\x41\x4c\x53"}["\x6aowyo\x6a\x73\x61\x71\x6aq"]}=false;}${${"\x47L\x4f\x42A\x4c\x53"}["q\x62h\x72\x6f\x6b\x6b\x65\x63\x73\x6dn"]}=true;${"\x47LOBAL\x53"}["\x65\x68\x6a\x78\x63\x75r\x66"]="\x65x\x74r\x61It\x65\x6d";${$qeennkqjnh}=$packet->input;${${"\x47\x4cO\x42\x41L\x53"}["uz\x71\x75\x75\x66\x6ci\x6d\x72l\x6f"]}=$packet->output[0];${"G\x4c\x4f\x42\x41LS"}["\x76\x6e\x6b\x6a\x77\x61ew\x75jgx"]="\x75sed";if(!${${"\x47L\x4f\x42\x41\x4c\x53"}["qbhr\x6fk\x6be\x63s\x6dn"]} or!$recipe->getResult()->deepEquals(${${"G\x4c\x4f\x42A\x4c\x53"}["\x71a\x6d\x69\x71\x79l\x66kaif"]})){$qoburfrsfmn="r\x65s\x75\x6c\x74";$this->server->getLogger()->debug("\x55nma\x74c\x68e\x64\x20\x72\x65cipe\x20".$recipe->getId()." \x66rom p\x6c\x61y\x65\x72 ".$this->getName().":\x20ex\x70ect\x65d ".$recipe->getResult().", g\x6ft\x20".${$qoburfrsfmn}.",\x20us\x69\x6e\x67:\x20".implode(", ",${${"\x47L\x4fB\x41\x4c\x53"}["\x69c\x76\x74\x61\x74\x69k\x70\x67\x6e"]}));$this->inventory->sendContents($this);break;}${${"GLO\x42\x41\x4cS"}["v\x6e\x6b\x6a\x77aew\x75\x6a\x67\x78"]}=array_fill(0,$this->inventory->getSize(),0);$apkjyu="\x69\x6e\x67r\x65di\x65\x6e\x74\x73";foreach(${${"GLO\x42\x41L\x53"}["\x69\x63\x76\x74\x61\x74\x69\x6bpgn"]} as${${"\x47\x4c\x4fB\x41\x4c\x53"}["t\x70p\x77gul\x79"]}){$gkfwcbb="\x73lo\x74";$nkjtnuthr="sl\x6ft";${"\x47\x4cOB\x41LS"}["n\x6b\x6e\x6f\x79\x6f"]="in\x64\x65x";${$nkjtnuthr}=-1;foreach($this->inventory->getContents()as${${"G\x4cO\x42\x41LS"}["\x6e\x6b\x6e\x6f\x79\x6f"]}=>${${"\x47\x4c\x4f\x42ALS"}["\x79\x69\x63\x79\x65x\x75\x68q\x69"]}){${"\x47\x4cO\x42\x41LS"}["\x66\x66\x7a\x68\x62\x75i"]="\x75\x73\x65d";if($ingredient->getId()!==0 and$ingredient->deepEquals(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x79\x69\x63\x79\x65\x78\x75\x68q\x69"]},$ingredient->getDamage()!==null)and($i->getCount()-${${"\x47\x4cO\x42\x41LS"}["\x66\x66\x7a\x68b\x75i"]}[${${"G\x4c\x4f\x42A\x4cS"}["\x76t\x73\x67j\x65\x69\x6c"]}])>=1){${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x67atx\x72y\x7a\x64"]}=${${"\x47LO\x42\x41L\x53"}["\x76\x74s\x67\x6ae\x69\x6c"]};${${"\x47\x4c\x4f\x42A\x4cS"}["\x6fgh\x78t\x75\x6b\x77e\x75"]}[${${"\x47\x4cO\x42\x41L\x53"}["\x76tsg\x6a\x65\x69l"]}]++;break;}}if($ingredient->getId()!==0 and${$gkfwcbb}===-1){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x62\x68\x72ok\x6b\x65\x63s\x6d\x6e"]}=false;break;}}if(!${${"\x47\x4c\x4f\x42\x41L\x53"}["\x61\x6a\x6b\x75g\x76"]}){$this->server->getLogger()->debug("Unma\x74\x63\x68\x65d\x20\x72e\x63\x69\x70\x65 ".$recipe->getId()."\x20fro\x6d \x70\x6ca\x79er\x20".$this->getName().":\x20\x63\x6ci\x65n\x74\x20\x64oes\x20n\x6f\x74 \x68\x61ve e\x6eoug\x68 \x69t\x65ms,\x20usi\x6e\x67:\x20".implode(",\x20",${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69\x63\x76\x74\x61\x74\x69kp\x67\x6e"]}));$this->inventory->sendContents($this);break;}$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42\x41L\x53"}["\x67\x6e\x6fd\x61\x63\x79\x75\x6e\x6f"]}=new CraftItemEvent($this,${$apkjyu},${${"G\x4c\x4fB\x41\x4c\x53"}["\x6e\x76\x6b\x78\x6ew\x76h\x64"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}foreach(${${"G\x4c\x4f\x42\x41\x4c\x53"}["suh\x69\x76\x64\x73\x70"]} as${${"\x47L\x4f\x42A\x4cS"}["\x76g\x61\x74\x78\x72yz\x64"]}=>${$jpuynbuw}){if(${${"\x47\x4c\x4fB\x41L\x53"}["lg\x62\x63\x72\x6c\x68\x63ta"]}===0){continue;}${${"\x47L\x4f\x42\x41\x4cS"}["i\x69\x6cr\x6dl\x6a\x78\x7a"]}=$this->inventory->getItem(${${"\x47LOB\x41\x4c\x53"}["\x76\x67\x61\x74\x78ry\x7ad"]});if($item->getCount()>${${"GLO\x42\x41\x4cS"}["\x6c\x67\x62\x63\x72\x6c\x68c\x74\x61"]}){${"\x47\x4c\x4f\x42\x41LS"}["\x65\x74\x6e\x6e\x70\x6fwpz\x64k"]="\x69\x74\x65m";${"\x47\x4c\x4f\x42ALS"}["xl\x73l\x67rj\x65"]="n\x65w\x49te\x6d";$ledwrbiupo="\x63ount";${${"GL\x4f\x42A\x4cS"}["\x78ls\x6c\x67\x72\x6ae"]}=clone${${"G\x4cO\x42\x41\x4c\x53"}["\x65\x74nnpo\x77p\x7a\x64\x6b"]};$newItem->setCount($item->getCount()-${$ledwrbiupo});}else{$xqggqtbon="\x6eewIt\x65\x6d";${$xqggqtbon}=Item::get(Item::AIR,0,0);}$this->inventory->setItem(${${"\x47\x4cO\x42\x41L\x53"}["\x76g\x61\x74\x78\x72y\x7a\x64"]},${${"\x47\x4cOBAL\x53"}["\x70\x64u\x70\x6f\x67u"]});}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x70h\x76\x76\x79\x67w\x69\x64\x66\x78"]}=$this->inventory->addItem($recipe->getResult());if(count(${${"G\x4cO\x42A\x4c\x53"}["\x65\x68\x6a\x78\x63u\x72\x66"]})>0 and!$this->isCreative()){${"GL\x4fB\x41\x4c\x53"}["\x67\x79t\x6e\x66\x74ku\x65ni\x7a"]="\x65\x78\x74\x72\x61\x49t\x65m";$qngyilrzfxd="i\x74e\x6d";foreach(${${"\x47\x4cOB\x41L\x53"}["\x67ytn\x66t\x6b\x75e\x6e\x69\x7a"]} as${$qngyilrzfxd}){${"\x47L\x4f\x42\x41\x4c\x53"}["\x65r\x74\x7a\x6fny\x6a\x73\x65\x6a"]="i\x74\x65\x6d";$this->level->dropItem($this,${${"G\x4cO\x42\x41\x4cS"}["e\x72\x74z\x6fn\x79\x6a\x73\x65\x6a"]});}}}switch($recipe->getResult()->getId()){case Item::WORKBENCH:$this->awardAchievement("b\x75il\x64\x57\x6f\x72kBen\x63h");break;case Item::WOODEN_PICKAXE:$this->awardAchievement("\x62\x75\x69\x6cd\x50i\x63kax\x65");break;case Item::FURNACE:$this->awardAchievement("bui\x6cd\x46\x75rn\x61c\x65");break;case Item::WOODEN_HOE:$this->awardAchievement("\x62u\x69\x6cd\x48o\x65");break;case Item::BREAD:$this->awardAchievement("m\x61\x6b\x65Brea\x64");break;case Item::CAKE:$this->awardAchievement("ba\x6beC\x61\x6be");$this->inventory->addItem(Item::get(Item::BUCKET,0,3));break;case Item::STONE_PICKAXE:case Item::GOLD_PICKAXE:case Item::IRON_PICKAXE:case Item::DIAMOND_PICKAXE:$this->awardAchievement("buil\x64B\x65t\x74er\x50i\x63ka\x78e");break;case Item::WOODEN_SWORD:$this->awardAchievement("\x62\x75\x69\x6cdS\x77\x6fr\x64");break;case Item::DIAMOND:$this->awardAchievement("\x64i\x61\x6don\x64");break;}break;case ProtocolInfo::CONTAINER_SET_SLOT_PACKET:case\pocketmine\network\protocol\p70\Info::CONTAINER_SET_SLOT_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}if($packet->slot<0){break;}if($packet->windowid===0){if($packet->slot>=$this->inventory->getSize()){break;}${${"G\x4c\x4f\x42\x41\x4c\x53"}["w\x77\x79\x78\x6c\x6a\x6b\x64"]}=new BaseTransaction($this->inventory,$packet->slot,$packet->item);}elseif($packet->windowid===ContainerSetContentPacket::SPECIAL_ARMOR){if($packet->slot>=4){break;}${${"\x47L\x4fB\x41\x4cS"}["w\x77\x79\x78\x6cj\x6b\x64"]}=new BaseTransaction($this->inventory,$packet->slot+$this->inventory->getSize(),$packet->item);}elseif(isset($this->windowIndex[$packet->windowid])){$sbpjywy="\x69n\x76";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dc\x6e\x72\x6b\x62\x74y\x61\x6d"]="in\x76";$bjfgfpkij="ac\x68\x69\x65v\x65m\x65\x6e\x74s";${"GL\x4fB\x41\x4c\x53"}["y\x73v\x68w\x63v\x77"]="\x74\x72a\x6e\x73\x61\x63\x74io\x6e";${${"GLO\x42\x41LS"}["\x74\x67\x6d\x76\x69\x77"]}=$this->windowIndex[$packet->windowid];${$bjfgfpkij}=[];if(${$sbpjywy} instanceof FurnaceInventory and$inv->getItem($packet->slot)->getId()===Item::IRON_INGOT and$packet->slot===FurnaceInventory::RESULT){$agjkrqxi="\x61\x63\x68\x69\x65\x76em\x65\x6ets";${$agjkrqxi}[]="\x61cqu\x69r\x65I\x72o\x6e";}elseif(${${"G\x4c\x4f\x42\x41L\x53"}["\x74g\x6d\x76i\x77"]} instanceof EnchantInventory and$packet->item->hasEnchantments()){$inv->onEnchant($this,$inv->getItem($packet->slot),$packet->item);}${${"\x47\x4c\x4fBA\x4c\x53"}["\x79\x73v\x68w\x63v\x77"]}=new BaseTransaction(${${"\x47\x4cOB\x41\x4cS"}["m\x63\x6erk\x62\x74\x79\x61\x6d"]},$packet->slot,$packet->item,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x74s\x62\x63\x68\x6c\x67\x6a\x77"]});}else{break;}$this->getTransactionQueue()->addTransaction(${${"G\x4cO\x42\x41\x4c\x53"}["\x6d\x66\x79\x66ow\x62xf\x62"]});break;case ProtocolInfo::BLOCK_ENTITY_DATA_PACKET:case\pocketmine\network\protocol\p70\Info::BLOCK_ENTITY_DATA_PACKET:if($this->spawned===false or$this->blocked===true or!$this->isAlive()){break;}$this->craftingType=self::CRAFTING_SMALL;${$tpfbnoelo}=new Vector3($packet->x,$packet->y,$packet->z);if($pos->distanceSquared($this)>10000){break;}${$cnxkewkxm}=$this->level->getTile(${$nifther});if(${$dywxge} instanceof Sign){$jwfxstovarc="\x6eb\x74";${$jwfxstovarc}=new NBT(NBT::LITTLE_ENDIAN);${"\x47L\x4f\x42AL\x53"}["\x65\x6fj\x6e\x72\x64o\x68"]="\x6e\x62\x74";$nbt->read($packet->namedtag);${${"G\x4c\x4f\x42A\x4cS"}["efjv\x71o\x70"]}=$nbt->getData();if(${${"GL\x4f\x42\x41\x4cS"}["\x65\x6f\x6an\x72doh"]}["i\x64"]!==Tile::SIGN){$t->spawnTo($this);}else{$bbqjjhi="\x6eb\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6b\x67\x70\x68\x68\x6ea\x63kk\x71"]="\x6e\x62\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x73\x76\x67i\x72\x6aykr"]="\x65v";${${"\x47LO\x42A\x4c\x53"}["\x6fs\x76g\x69\x72\x6a\x79\x6br"]}=new SignChangeEvent($t->getBlock(),$this,[TextFormat::clean(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6b\x67\x70\x68\x68n\x61\x63\x6b\x6bq"]}["T\x65xt\x31"],$this->removeFormat),TextFormat::clean(${${"GL\x4fB\x41\x4cS"}["\x65\x66\x6a\x76q\x6f\x70"]}["T\x65\x78t\x32"],$this->removeFormat),TextFormat::clean(${$bbqjjhi}["Text3"],$this->removeFormat),TextFormat::clean(${${"GL\x4f\x42\x41\x4c\x53"}["\x65fj\x76q\x6fp"]}["Te\x78\x74\x34"],$this->removeFormat)]);if(!isset($t->namedtag->Creator)or$t->namedtag["Cr\x65\x61\x74\x6fr"]!==$this->getRawUniqueId()){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42\x41\x4cS"}["g\x6e\x6f\x64\x61c\x79\x75no"]});if(!$ev->isCancelled()){$t->setText($ev->getLine(0),$ev->getLine(1),$ev->getLine(2),$ev->getLine(3));}else{$t->spawnTo($this);}}}break;default:break;}}public function kick($reason="",$isAdmin=true){${"G\x4cO\x42\x41\x4cS"}["\x70\x78zf\x69tr\x70"]="\x65v";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["p\x78\x7a\x66\x69\x74\x72\x70"]}=new PlayerKickEvent($this,${${"\x47L\x4fB\x41L\x53"}["\x74\x6c\x6a\x69t\x68w\x64\x74\x72\x6f\x62"]},$this->getLeaveMessage()));if(!$ev->isCancelled()){if(${${"G\x4cO\x42\x41\x4c\x53"}["\x64wl\x73x\x67\x65i\x6a\x79"]}){$fcfqpfdvkf="\x6d\x65\x73sa\x67\x65";${"GL\x4f\x42A\x4cS"}["\x6d\x6a\x76ex\x61"]="r\x65\x61s\x6fn";$ewftqupbxhe="\x72e\x61s\x6f\x6e";${$fcfqpfdvkf}="Kick\x65\x64\x20by\x20\x61dm\x69n\x2e".(${$ewftqupbxhe}!==""?" \x52ea\x73o\x6e: ".${${"G\x4cO\x42\x41\x4c\x53"}["m\x6a\x76\x65\x78a"]}:"");}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76n\x75\x71k\x64i\x68\x78"]="\x72\x65\x61s\x6f\x6e";if(${${"\x47\x4cO\x42\x41L\x53"}["\x76n\x75\x71k\x64\x69h\x78"]}===""){${${"GL\x4f\x42\x41\x4c\x53"}["v\x65\x6a\x71\x75\x73\x67\x76\x73\x6a\x6d\x72"]}="disc\x6fn\x6e\x65\x63ti\x6f\x6e\x53cr\x65\x65n.\x6eoRe\x61\x73\x6f\x6e";}else{${"\x47L\x4f\x42\x41\x4c\x53"}["\x65\x65\x74mug\x6a\x69"]="\x72\x65a\x73\x6f\x6e";$xdstszoteu="\x6d\x65s\x73a\x67e";${$xdstszoteu}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x65\x65t\x6dugj\x69"]};}}$this->close($ev->getQuitMessage(),${${"G\x4c\x4f\x42\x41L\x53"}["\x76e\x6a\x71u\x73gv\x73\x6am\x72"]});return true;}return false;}public function dropItem(Item$item){$yphwkvxpybd="\x65\x76";$hymlievlh="\x69\x74\x65\x6d";$aokrbmvyk="\x6d\x6f\x74\x69\x6fn";${"GL\x4fB\x41\x4c\x53"}["\x65\x6bq\x69\x64\x6c\x72"]="it\x65\x6d";if($this->spawned===false or$this->blocked===true or!$this->isAlive()){return;}if(($this->isCreative()and$this->server->limitedCreative)or$this->isSpectator()){return;}if($item->getId()===Item::AIR or$item->getCount()<1){return;}${$yphwkvxpybd}=new PlayerDropItemEvent($this,${$hymlievlh});${"\x47\x4c\x4f\x42\x41L\x53"}["l\x78ig\x69\x74\x73\x6f"]="ev";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x78\x69\x67\x69t\x73\x6f"]});if($ev->isCancelled()){return;}${$aokrbmvyk}=$this->getDirectionVector()->multiply(0.4);$this->level->dropItem($this->add(0,1.3,0),${${"\x47\x4c\x4f\x42AL\x53"}["\x65kq\x69d\x6c\x72"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x6cwe\x76\x63\x74bn\x76\x69"]},40);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}public function sendMessage($message){$bkqyeto="me\x73";$salxrvrtytej="m\x65\x73\x73a\x67\x65";$pnveiowfvuqw="\x6d\x65\x73\x73\x61\x67\x65";if(${$pnveiowfvuqw} instanceof TextContainer){${"\x47\x4cOBA\x4cS"}["\x75\x78\x63\x77u\x76"]="\x6d\x65\x73\x73a\x67e";${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x68\x62gf\x77\x6bf"]="\x6d\x65\x73s\x61\x67e";if(${${"\x47\x4cOB\x41L\x53"}["x\x68\x62\x67\x66w\x6bf"]} instanceof TranslationContainer){$this->sendTranslation($message->getText(),$message->getParameters());return false;}${${"\x47L\x4fB\x41L\x53"}["\x75x\x63w\x75\x76"]}=$message->getText();}$bnknrmux="\x6d\x65\x73";${$bkqyeto}=explode("\n",$this->server->getLanguage()->translateString(${$salxrvrtytej}));foreach(${$bnknrmux} as${${"GL\x4f\x42\x41\x4c\x53"}["\x78g\x6c\x64dx\x72\x75"]}){if(${${"\x47L\x4f\x42\x41\x4cS"}["\x78\x67\x6c\x64dx\x72\x75"]}!==""){${"\x47\x4c\x4fB\x41\x4c\x53"}["h\x70\x63i\x6f\x65\x6c\x63b"]="\x6d";$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42AL\x53"}["\x67\x6e\x6fd\x61cy\x75\x6e\x6f"]}=new PlayerTextPreSendEvent($this,${${"GLO\x42\x41L\x53"}["hp\x63\x69oe\x6c\x63\x62"]},PlayerTextPreSendEvent::MESSAGE));if(!$ev->isCancelled()){$dmdzqfet="p\x6b";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x7a\x61\x72n\x79\x70\x71og"]}=new TextPacket();$pk->type=TextPacket::TYPE_RAW;$pk->message=$ev->getMessage();$this->dataPacket(${$dmdzqfet});}}}return true;}public function sendTranslation($message,array$parameters=[]){${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x69r\x6f\x75\x65\x6c"]="\x70k";${${"\x47L\x4f\x42AL\x53"}["\x78i\x72\x6fue\x6c"]}=new TextPacket();${"\x47LOBA\x4cS"}["\x62h\x71\x77\x77\x61\x67"]="e\x76";if(!$this->server->isLanguageForced()){${"\x47\x4c\x4f\x42A\x4cS"}["\x7a\x6fd\x67c\x6b\x7a\x65\x73"]="\x6d\x65\x73s\x61\x67\x65";$ohbowsl="\x70a\x72\x61m\x65\x74\x65rs";$pk->type=TextPacket::TYPE_TRANSLATION;${"GL\x4fB\x41\x4c\x53"}["\x64\x79\x68yla\x76\x76"]="\x70\x61r\x61\x6d\x65\x74e\x72\x73";$pk->message=$this->server->getLanguage()->translateString(${${"G\x4c\x4f\x42\x41LS"}["\x7ao\x64\x67c\x6bz\x65\x73"]},${$ohbowsl},"\x70\x6f\x63ke\x74\x6d\x69\x6ee.");foreach(${${"\x47\x4c\x4fBA\x4c\x53"}["\x71\x69\x67\x64\x77z\x62\x6d\x78fh"]} as${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79icye\x78\x75\x68\x71i"]}=>${${"\x47\x4c\x4f\x42ALS"}["\x79\x75t\x70\x70\x6b\x71"]}){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x62\x63l\x76f"]="\x69";${"\x47\x4cOB\x41\x4c\x53"}["\x69\x79\x79\x6d\x78\x6buqg"]="\x70\x61\x72\x61m\x65\x74\x65r\x73";$jvribaiuyfu="p\x61r\x61m\x65\x74\x65r\x73";${${"\x47L\x4fB\x41\x4c\x53"}["\x69y\x79\x6dxk\x75\x71g"]}[${${"\x47\x4c\x4f\x42\x41\x4cS"}["f\x62\x63l\x76\x66"]}]=$this->server->getLanguage()->translateString(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x75\x74pp\x6b\x71"]},${$jvribaiuyfu},"\x70o\x63\x6be\x74\x6din\x65\x2e");}$pk->parameters=${${"\x47\x4cO\x42AL\x53"}["\x64y\x68\x79\x6c\x61\x76v"]};}else{${"\x47\x4c\x4f\x42A\x4c\x53"}["sj\x67b\x6c\x75\x71\x61\x6f\x77\x6c"]="m\x65\x73\x73a\x67\x65";$pk->type=TextPacket::TYPE_RAW;$pk->message=$this->server->getLanguage()->translateString(${${"GLO\x42\x41\x4c\x53"}["sj\x67\x62lu\x71\x61\x6f\x77\x6c"]},${${"\x47L\x4f\x42\x41\x4cS"}["\x71i\x67d\x77z\x62\x6dxf\x68"]});}${${"G\x4cOB\x41L\x53"}["\x67\x6e\x6f\x64ac\x79\x75\x6e\x6f"]}=new PlayerTextPreSendEvent($this,$pk->message,PlayerTextPreSendEvent::TRANSLATED_MESSAGE);$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42ALS"}["b\x68\x71\x77\x77\x61\x67"]});if(!$ev->isCancelled()){$this->dataPacket(${${"GL\x4fB\x41\x4cS"}["\x77z\x61\x72n\x79pqog"]});return true;}return false;}public function sendPopup($message,$subtitle=""){${"\x47\x4cO\x42A\x4c\x53"}["vw\x67\x70\x73\x6a"]="e\x76";$rcbkykob="\x65\x76";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76wgp\x73\x6a"]}=new PlayerTextPreSendEvent($this,${${"\x47\x4c\x4f\x42\x41LS"}["v\x65jq\x75\x73g\x76s\x6a\x6d\x72"]},PlayerTextPreSendEvent::POPUP);$this->server->getPluginManager()->callEvent(${$rcbkykob});if(!$ev->isCancelled()){${${"GL\x4f\x42\x41\x4cS"}["\x77z\x61\x72\x6e\x79\x70q\x6f\x67"]}=new TextPacket();$pk->type=TextPacket::TYPE_POPUP;$pk->source=$ev->getMessage();$pk->message=${${"\x47LO\x42\x41\x4c\x53"}["\x74d\x62\x6c\x73vbfozv"]};$this->dataPacket(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x77z\x61\x72\x6e\x79\x70\x71\x6fg"]});return true;}return false;}public function sendTip($message){${"\x47\x4cOB\x41\x4c\x53"}["\x78hntcrl"]="\x6d\x65s\x73\x61\x67\x65";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x6e\x6fda\x63\x79u\x6eo"]}=new PlayerTextPreSendEvent($this,${${"\x47\x4c\x4fB\x41L\x53"}["\x78\x68\x6e\x74\x63\x72l"]},PlayerTextPreSendEvent::TIP);$rybyyoeuo="\x65\x76";$this->server->getPluginManager()->callEvent(${$rybyyoeuo});if(!$ev->isCancelled()){${${"\x47LO\x42\x41L\x53"}["\x77\x7a\x61\x72\x6e\x79p\x71og"]}=new TextPacket();$pk->type=TextPacket::TYPE_TIP;$pk->message=$ev->getMessage();$this->dataPacket(${${"G\x4c\x4fB\x41LS"}["\x77\x7aa\x72\x6e\x79\x70\x71\x6f\x67"]});return true;}return false;}public final function close($message="",$reason="generic reason",$notify=true){if($this->connected and!$this->closed){$lhhccerlo="\x70\x6c\x61y\x65\x72";$zbcgunnqfx="\x72e\x61\x73o\x6e";if(${${"\x47L\x4fB\x41\x4cS"}["\x68\x6bbn\x75\x69\x6b"]} and strlen((string)${$zbcgunnqfx})>0){${"\x47\x4c\x4f\x42\x41L\x53"}["v\x6e\x75\x73\x6c\x76"]="\x72\x65\x61\x73\x6f\x6e";if($this->getProtocol()==84){$byruon="p\x6b";${$byruon}=new DisconnectPacket();}elseif(AnyVersionManager::isProtocol($this,"\x30\x2e1\x34")){${"\x47\x4c\x4fB\x41\x4cS"}["\x69\x6e\x63\x69j\x6cx\x71\x68\x6b\x78"]="\x70k";${${"\x47\x4cO\x42\x41\x4c\x53"}["i\x6e\x63\x69j\x6cx\x71\x68\x6b\x78"]}=new\pocketmine\network\protocol\p70\DisconnectPacket();}$pk->message=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x6e\x75s\x6cv"]};$this->directDataPacket(${${"GL\x4f\x42A\x4cS"}["w\x7a\x61\x72\x6ey\x70q\x6fg"]});}$gnvmtudifw="\x65\x76";$hkvrqghrnxs="\x64";if($this->fishingHook instanceof FishingHook){$this->fishingHook->close();$this->fishingHook=null;}$this->removeEffect(Effect::HEALTH_BOOST);${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x78\x74\x78\x66x\x68\x75\x62\x6e\x78"]="\x69\x6e\x64\x65x";$this->connected=false;if(strlen($this->getName())>0){$ebxeykionjt="\x6d\x65s\x73\x61\x67\x65";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x67\x6e\x6f\x64\x61\x63\x79\x75n\x6f"]}=new PlayerQuitEvent($this,${$ebxeykionjt},true));if($this->loggedIn===true and$ev->getAutoSave()){$this->save();}}foreach($this->server->getOnlinePlayers()as${$lhhccerlo}){if(!$player->canSee($this)){$player->showPlayer($this);}}$this->hiddenPlayers=[];foreach($this->windowIndex as${${"GL\x4f\x42\x41\x4c\x53"}["\x61xzw\x6c\x6e"]}){${"\x47L\x4f\x42A\x4c\x53"}["\x64\x74\x6d\x63\x76\x70m"]="\x77\x69nd\x6fw";$this->removeWindow(${${"G\x4c\x4f\x42\x41L\x53"}["d\x74\x6d\x63\x76p\x6d"]});}foreach($this->usedChunks as${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x62x\x74xfxh\x75bn\x78"]}=>${$hkvrqghrnxs}){$dpsvxoj="\x63\x68un\x6bX";Level::getXZ(${${"\x47\x4cO\x42\x41L\x53"}["\x76t\x73g\x6ae\x69\x6c"]},${${"\x47\x4c\x4fBA\x4c\x53"}["\x61\x73\x79\x65\x65o\x6c\x64\x6d\x75\x64"]},${${"G\x4cO\x42\x41L\x53"}["\x70\x62\x65rox\x6a\x6bd\x79"]});$kutmqibkfese="\x63hu\x6e\x6b\x5a";$this->level->unregisterChunkLoader($this,${$dpsvxoj},${$kutmqibkfese});unset($this->usedChunks[${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x74\x73\x67\x6aei\x6c"]}]);}parent::close();$this->interface->close($this,${${"\x47\x4c\x4fBAL\x53"}["\x68k\x62\x6e\x75i\x6b"]}?${${"\x47\x4c\x4f\x42\x41L\x53"}["\x74\x6c\x6a\x69t\x68\x77dt\x72\x6fb"]}:"");if($this->loggedIn){$this->server->removeOnlinePlayer($this);}$this->loggedIn=false;if(isset(${$gnvmtudifw})and$this->username!=""and$this->spawned!==false and$ev->getQuitMessage()!=""){if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage($ev->getQuitMessage());elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_TIP)$this->server->broadcastTip(str_replace("@\x70l\x61\x79\x65\x72",$this->getName(),$this->server->playerLogoutMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("@pla\x79e\x72",$this->getName(),$this->server->playerLogoutMsg));}$this->server->getPluginManager()->unsubscribeFromPermission(Server::BROADCAST_CHANNEL_USERS,$this);$this->spawned=false;$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("p\x6f\x63\x6be\x74\x6di\x6e\x65.\x70\x6cay\x65r\x2e\x6c\x6f\x67\x4fut",[TextFormat::AQUA.$this->getName().TextFormat::WHITE,$this->ip,$this->port,$this->getServer()->getLanguage()->translateString(${${"G\x4c\x4f\x42\x41\x4cS"}["\x74l\x6a\x69\x74\x68\x77\x64\x74\x72\x6fb"]})]));$this->windows=new\SplObjectStorage();$this->windowIndex=[];$this->usedChunks=[];$this->loadQueue=[];$this->hasSpawned=[];$this->spawnPosition=null;unset($this->buffer);if($this->server->dserverConfig["\x65\x6ea\x62le"]and$this->server->dserverConfig["\x71\x75e\x72\x79Au\x74oUp\x64\x61te"])$this->server->updateQuery();}if($this->perm!==null){$this->perm->clearPermissions();$this->perm=null;}$this->inventory=null;$this->transactionQueue=null;$this->chunk=null;$this->server->removePlayer($this);}public function __debugInfo(){return[];}public function save($async=false){if($this->closed){throw new\InvalidStateException("\x54rie\x64 to sav\x65 \x63lo\x73\x65d \x70layer");}parent::saveNBT();if($this->level instanceof Level){$this->namedtag->Level=new StringTag("\x4cevel",$this->level->getName());if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level and$this->spawnPosition->getLevel()->getProvider()!==NULL){$this->namedtag["Spaw\x6e\x4ce\x76el"]=$this->spawnPosition->getLevel()->getName();$this->namedtag["S\x70awn\x58"]=(int)$this->spawnPosition->x;$this->namedtag["\x53\x70aw\x6eY"]=(int)$this->spawnPosition->y;$this->namedtag["\x53pawnZ"]=(int)$this->spawnPosition->z;}foreach($this->achievements as${${"\x47\x4c\x4f\x42A\x4cS"}["sng\x78\x76\x66\x68\x76"]}=>${${"\x47\x4c\x4fB\x41L\x53"}["\x6ew\x72\x77\x65\x75\x73m"]}){${"GLOBA\x4c\x53"}["l\x67\x6cf\x71r\x6c\x6d\x69\x74v\x62"]="st\x61t\x75\x73";$this->namedtag->Achievements[${${"\x47\x4cO\x42A\x4c\x53"}["s\x6e\x67x\x76\x66h\x76"]}]=new ByteTag(${${"GL\x4f\x42ALS"}["sn\x67\x78vf\x68\x76"]},${${"G\x4cO\x42ALS"}["\x6cg\x6c\x66\x71r\x6cm\x69\x74\x76b"]}===true?1:0);}$this->namedtag["p\x6c\x61\x79\x65\x72\x47\x61meT\x79\x70e"]=$this->gamemode;$this->namedtag["la\x73\x74P\x6caye\x64"]=new LongTag("l\x61\x73\x74\x50l\x61\x79e\x64",floor(microtime(true)*1000));$this->namedtag["\x48u\x6ege\x72"]=new ShortTag("\x48\x75n\x67\x65\x72",$this->food);$this->namedtag["He\x61\x6ct\x68"]=new ShortTag("\x48\x65\x61lt\x68",$this->getHealth());$this->namedtag["Max\x48ea\x6c\x74\x68"]=new ShortTag("\x4da\x78H\x65a\x6cth",$this->getMaxHealth());$this->namedtag["\x45\x78\x70er\x69en\x63\x65"]=new LongTag("\x45x\x70\x65\x72i\x65nc\x65",$this->exp);$this->namedtag["\x45x\x70Lev\x65l"]=new LongTag("\x45xp\x4ce\x76el",$this->expLevel);if($this->username!=""and$this->namedtag instanceof CompoundTag){$dcfktmzgqwwj="\x61\x73\x79\x6e\x63";$this->server->saveOfflinePlayerData($this->username,$this->namedtag,${$dcfktmzgqwwj});}}}public function getName(){return$this->username;}public function kill(){${"\x47L\x4fB\x41\x4c\x53"}["\x69ix\x6a\x73e\x77\x6c\x6b\x73\x63"]="m\x65\x73sa\x67\x65";$gryqfcv="\x6d\x65\x73\x73a\x67\x65";${"G\x4cOB\x41L\x53"}["\x76\x79\x63\x66\x68\x61"]="\x6d\x65ss\x61\x67e";${"\x47\x4cOB\x41\x4c\x53"}["b\x73\x6c\x74\x76g\x66"]="\x6d\x65\x73\x73\x61\x67\x65";$honcekkn="\x6d\x65ss\x61\x67\x65";$drabqxfem="\x63\x61\x75\x73\x65";if(!$this->spawned){return;}$sfdvwpu="\x70a\x72\x61\x6d\x73";${${"\x47LOB\x41LS"}["v\x79c\x66\x68\x61"]}="\x64\x65\x61\x74h\x2e\x61\x74\x74a\x63k\x2e\x67ene\x72\x69\x63";$sttbbks="\x6d\x65\x73sa\x67\x65";${"G\x4c\x4f\x42\x41L\x53"}["s\x79\x67l\x6d\x6ez\x79"]="\x6dess\x61\x67e";${"G\x4c\x4f\x42\x41\x4cS"}["\x63\x74\x6bg\x77n\x66\x6c"]="ev";$ecqbkcd="p\x61\x72\x61m\x73";${"G\x4cO\x42\x41\x4cS"}["e\x79n\x71u\x62s\x78\x66n\x76"]="\x63\x61\x75\x73e";$vhcntytszidh="mes\x73a\x67\x65";${$ecqbkcd}=[$this->getDisplayName()];${"\x47\x4c\x4f\x42\x41LS"}["\x70b\x6c\x65\x77\x71rm\x72\x73\x69y"]="\x6de\x73\x73\x61\x67\x65";${$drabqxfem}=$this->getLastDamageCause();switch(${${"\x47LOBAL\x53"}["\x65\x79\x6e\x71\x75\x62\x73x\x66\x6e\x76"]}===null?EntityDamageEvent::CAUSE_CUSTOM:$cause->getCause()){case EntityDamageEvent::CAUSE_ENTITY_ATTACK:if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x71x\x68r\x66\x6c\x6c\x7a\x66\x71"]} instanceof EntityDamageByEntityEvent){$fjzibgp="\x65";${"\x47\x4c\x4fBA\x4c\x53"}["h\x68\x71s\x71b\x71\x63\x74"]="e";${${"\x47L\x4fB\x41\x4c\x53"}["\x73d\x77\x6a\x78\x72u\x75t\x73\x77"]}=$cause->getDamager();if(${$fjzibgp} instanceof Player){$kucpfcnkjjj="\x6d\x65\x73s\x61g\x65";${$kucpfcnkjjj}="\x64\x65a\x74h.\x61\x74t\x61\x63\x6b.player";${${"\x47\x4c\x4fBAL\x53"}["\x79\x6dw\x64gv\x66h\x65s"]}[]=$e->getDisplayName();break;}elseif(${${"\x47\x4c\x4fB\x41\x4cS"}["hh\x71\x73\x71\x62\x71\x63t"]} instanceof Living){${"G\x4c\x4fB\x41\x4c\x53"}["j\x71\x71u\x6a\x68\x64"]="\x6d\x65\x73\x73\x61\x67\x65";${${"\x47\x4cO\x42\x41LS"}["\x6aq\x71\x75jh\x64"]}="d\x65\x61\x74h.\x61\x74\x74ac\x6b\x2e\x6do\x62";${${"G\x4c\x4fB\x41\x4cS"}["ym\x77\x64\x67\x76f\x68es"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"\x47LO\x42\x41\x4cS"}["ym\x77d\x67v\x66\x68\x65\x73"]}[]="\x55\x6eknown";}}break;case EntityDamageEvent::CAUSE_PROJECTILE:if(${${"\x47L\x4fB\x41L\x53"}["x\x71x\x68\x72\x66\x6c\x6c\x7a\x66\x71"]} instanceof EntityDamageByEntityEvent){${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x71\x79\x71\x73\x65\x6e\x65"]="\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62d\x76\x64\x61\x65\x6e\x6d\x71"]="\x65";${${"G\x4cO\x42\x41LS"}["l\x71y\x71\x73\x65n\x65"]}=$cause->getDamager();if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["s\x64wj\x78ruutsw"]} instanceof Player){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x65\x6a\x71us\x67\x76\x73\x6a\x6d\x72"]}="\x64e\x61\x74h.a\x74\x74ac\x6b\x2ear\x72\x6f\x77";${${"G\x4cOBAL\x53"}["\x79\x6d\x77\x64\x67\x76\x66\x68\x65\x73"]}[]=$e->getDisplayName();}elseif(${${"\x47\x4c\x4fBA\x4c\x53"}["b\x64\x76\x64\x61en\x6dq"]} instanceof Living){${"\x47\x4c\x4fB\x41L\x53"}["\x6alnp\x76ze\x6e\x61\x68"]="\x70\x61\x72\x61m\x73";${${"G\x4c\x4fBA\x4cS"}["\x76\x65\x6aq\x75\x73\x67\x76\x73j\x6d\x72"]}="d\x65\x61\x74h\x2ea\x74\x74\x61ck.\x61rro\x77";${${"\x47\x4cO\x42A\x4c\x53"}["\x6a\x6cn\x70v\x7ae\x6e\x61\x68"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"GL\x4f\x42A\x4cS"}["\x79m\x77d\x67\x76\x66\x68\x65\x73"]}[]="\x55\x6ek\x6e\x6f\x77n";}}break;case EntityDamageEvent::CAUSE_SUICIDE:${${"\x47\x4c\x4fBAL\x53"}["\x76\x65\x6a\x71u\x73\x67vs\x6am\x72"]}="d\x65\x61th.a\x74\x74ack\x2e\x67\x65ne\x72ic";break;case EntityDamageEvent::CAUSE_VOID:${${"G\x4c\x4f\x42AL\x53"}["\x76ejqu\x73\x67\x76s\x6a\x6dr"]}="d\x65a\x74\x68.a\x74\x74\x61c\x6b\x2eou\x74OfWorld";break;case EntityDamageEvent::CAUSE_FALL:if(${${"\x47\x4cO\x42AL\x53"}["\x78\x71x\x68\x72fll\x7af\x71"]} instanceof EntityDamageEvent){if($cause->getFinalDamage()>2){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x64wwc\x63dx\x79\x6brh"]="m\x65\x73\x73\x61g\x65";${${"\x47L\x4fB\x41\x4c\x53"}["\x6ad\x77w\x63cd\x78\x79\x6br\x68"]}="de\x61\x74h.\x66ell.ac\x63\x69de\x6et\x2e\x67ene\x72ic";break;}}${${"GLOBAL\x53"}["\x70b\x6c\x65\x77\x71\x72mrs\x69y"]}="d\x65a\x74h\x2e\x61\x74\x74ack\x2efal\x6c";break;case EntityDamageEvent::CAUSE_SUFFOCATION:${${"G\x4c\x4f\x42\x41\x4cS"}["s\x79\x67\x6c\x6d\x6ezy"]}="death\x2e\x61t\x74\x61ck\x2ei\x6e\x57al\x6c";break;case EntityDamageEvent::CAUSE_LAVA:${$vhcntytszidh}="\x64\x65ath\x2e\x61\x74ta\x63\x6b.\x6ca\x76\x61";break;case EntityDamageEvent::CAUSE_FIRE:${${"\x47L\x4fB\x41\x4c\x53"}["b\x73l\x74\x76\x67\x66"]}="de\x61t\x68\x2e\x61\x74\x74\x61\x63k.\x6f\x6e\x46i\x72e";break;case EntityDamageEvent::CAUSE_FIRE_TICK:${${"\x47\x4c\x4fBA\x4cS"}["iix\x6asewl\x6bs\x63"]}="de\x61t\x68\x2e\x61\x74\x74\x61c\x6b\x2ei\x6e\x46\x69\x72e";break;case EntityDamageEvent::CAUSE_DROWNING:${$gryqfcv}="d\x65\x61th.a\x74\x74ack.d\x72\x6fw\x6e";break;case EntityDamageEvent::CAUSE_CONTACT:if(${${"G\x4cO\x42\x41\x4c\x53"}["\x78\x71x\x68\x72f\x6cl\x7a\x66q"]} instanceof EntityDamageByBlockEvent){if($cause->getDamager()->getId()===Block::CACTUS){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x78q\x73\x70\x74\x6e\x75m\x76\x6df\x75"]="\x6d\x65\x73\x73\x61\x67e";${${"\x47LO\x42\x41\x4cS"}["x\x71\x73\x70\x74\x6e\x75m\x76m\x66\x75"]}="\x64\x65a\x74h.at\x74\x61\x63\x6b.\x63ac\x74\x75s";}}break;case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:if(${${"\x47\x4c\x4fB\x41L\x53"}["x\x71\x78\x68\x72fl\x6cz\x66q"]} instanceof EntityDamageByEntityEvent){${"\x47\x4c\x4f\x42A\x4cS"}["u\x71\x72ft\x6d\x6f"]="\x65";${${"GL\x4f\x42AL\x53"}["\x73\x64w\x6a\x78\x72\x75\x75\x74\x73\x77"]}=$cause->getDamager();if(${${"\x47\x4c\x4fB\x41\x4cS"}["\x73d\x77j\x78r\x75\x75\x74s\x77"]} instanceof Player){${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76\x65\x6a\x71\x75\x73\x67v\x73\x6a\x6dr"]}="\x64ea\x74h\x2eat\x74\x61\x63k.\x65x\x70\x6c\x6f\x73\x69on.\x70la\x79e\x72";${${"\x47\x4c\x4fB\x41\x4c\x53"}["y\x6dw\x64\x67v\x66h\x65\x73"]}[]=$e->getDisplayName();}elseif(${${"\x47\x4c\x4fBA\x4c\x53"}["\x75\x71r\x66\x74m\x6f"]} instanceof Living){${${"\x47\x4cO\x42A\x4cS"}["\x76ej\x71us\x67vs\x6a\x6dr"]}="d\x65ath.att\x61\x63\x6b\x2ee\x78\x70lo\x73\x69\x6f\x6e.p\x6c\x61y\x65\x72";${${"\x47\x4c\x4f\x42\x41L\x53"}["y\x6d\x77\x64\x67\x76\x66\x68\x65\x73"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}}else{${"\x47L\x4fBA\x4c\x53"}["\x75y\x77g\x63\x71z\x61g"]="me\x73\x73\x61\x67e";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x79\x77gcq\x7aa\x67"]}="\x64eath\x2e\x61\x74t\x61\x63\x6b.\x65\x78\x70\x6co\x73i\x6fn";}break;case EntityDamageEvent::CAUSE_MAGIC:${$sttbbks}="\x64e\x61\x74\x68\x2ea\x74tack.ma\x67i\x63";break;case EntityDamageEvent::CAUSE_CUSTOM:break;default:}Entity::kill();${${"G\x4c\x4fB\x41L\x53"}["ctkg\x77\x6e\x66\x6c"]}=new PlayerDeathEvent($this,$this->getDrops(),new TranslationContainer(${$honcekkn},${$sfdvwpu}));$ev->setKeepInventory($this->server->keepInventory);$ev->setKeepExperience($this->server->keepExperience);$this->server->getPluginManager()->callEvent(${${"\x47LO\x42\x41L\x53"}["\x67\x6e\x6fd\x61\x63\x79\x75\x6e\x6f"]});if(!$ev->getKeepInventory()){foreach($ev->getDrops()as${${"\x47\x4cO\x42A\x4c\x53"}["\x69ilr\x6d\x6cjxz"]}){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66\x68\x68\x68\x70\x66\x6e\x6b\x6c"]="\x69\x74\x65m";$this->level->dropItem($this,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66hh\x68\x70f\x6ek\x6c"]});}if($this->inventory!==null){$this->inventory->clearAll();}}if($this->server->expEnabled and!$ev->getKeepExperience()){$cetbekds="\x65\x78\x70";${$cetbekds}=min(91,$this->getTotalXp());$this->getLevel()->spawnXPOrb($this->add(0,0.2,0),${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x64\x71\x71\x62\x73\x66kmbh"]});$this->setTotalXp(0,true);}if($ev->getDeathMessage()!=""){$this->server->broadcast($ev->getDeathMessage(),Server::BROADCAST_CHANNEL_USERS);}${${"G\x4c\x4f\x42\x41\x4c\x53"}["k\x6f\x7awd\x75"]}=$this->getSpawn();$this->setHealth(0);$ypchomkhzop="\x70\x6b";${${"\x47\x4c\x4f\x42\x41\x4cS"}["w\x7aar\x6ey\x70qo\x67"]}=new RespawnPacket();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${$ypchomkhzop});}public function setHealth($amount){parent::setHealth(${${"G\x4c\x4f\x42\x41LS"}["\x62\x73\x6d\x6fqy\x76\x65\x76s"]});if($this->spawned===true){$this->foodTick=0;$this->getAttributeMap()->getAttribute(Attribute::HEALTH)->setMaxValue($this->getMaxHealth())->setValue(${${"G\x4c\x4fB\x41\x4cS"}["b\x73\x6d\x6f\x71\x79v\x65\x76\x73"]},true);}}public function attack($damage,EntityDamageEvent$source){if(!$this->isAlive()){return;}$vneunrrhct="so\x75\x72c\x65";if($this->isCreative()and$source->getCause()!==EntityDamageEvent::CAUSE_MAGIC and$source->getCause()!==EntityDamageEvent::CAUSE_SUICIDE and$source->getCause()!==EntityDamageEvent::CAUSE_VOID){$source->setCancelled();}elseif($this->allowFlight and$source->getCause()===EntityDamageEvent::CAUSE_FALL){$source->setCancelled();}parent::attack(${${"G\x4c\x4f\x42AL\x53"}["\x74m\x77\x68\x66\x77i\x7a\x76c"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x71imko\x79\x79"]});if($source->isCancelled()){return;}elseif($this->getLastDamageCause()===${$vneunrrhct} and$this->spawned){${"\x47L\x4f\x42\x41\x4c\x53"}["\x62n\x65\x73\x71\x66b"]="p\x6b";$elhxegej="\x70k";${$elhxegej}=new EntityEventPacket();$pk->eid=0;$pk->event=EntityEventPacket::HURT_ANIMATION;$this->dataPacket(${${"\x47\x4cOB\x41\x4c\x53"}["\x62\x6e\x65\x73\x71fb"]});if($this->isSurvival()){$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_DAMAGE);}}}public function sendPosition(Vector3$pos,$yaw=null,$pitch=null,$mode=0,array$targets=null){$ylollkflhle="pit\x63\x68";$njoypmgg="p\x6b";${"G\x4c\x4fB\x41\x4cS"}["vgz\x71g\x63\x6dm"]="\x70\x69t\x63h";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63top\x78c\x67h\x68"]="y\x61w";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66jy\x69mo\x72\x6f\x70vh"]="\x70\x69\x74c\x68";$mtmnwcfjojy="\x79\x61\x77";${${"\x47LO\x42\x41\x4c\x53"}["\x62\x63\x6f\x6c\x70\x75l\x6a\x6c\x64"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63\x74\x6f\x70\x78cg\x68\x68"]}===null?$this->yaw:${$mtmnwcfjojy};${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x76gz\x71\x67\x63\x6d\x6d"]}=${${"\x47L\x4fBA\x4cS"}["f\x6a\x79i\x6d\x6frop\x76\x68"]}===null?$this->pitch:${$ylollkflhle};${$njoypmgg}=new MovePlayerPacket();${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x67\x63\x72miz\x6fhf"]="\x70\x69\x74c\x68";$pk->eid=$this->getId();$pk->x=$pos->x;${"\x47\x4cOB\x41LS"}["dg\x75\x61\x74\x75\x76"]="\x74a\x72\x67\x65\x74s";${"G\x4cO\x42\x41\x4c\x53"}["u\x6a\x77\x63\x6al\x68f"]="mo\x64\x65";$pk->y=$pos->y+$this->getEyeHeight();$pk->z=$pos->z;$pk->bodyYaw=${${"\x47LO\x42A\x4c\x53"}["bco\x6cpulj\x6c\x64"]};$pk->pitch=${${"\x47L\x4fB\x41\x4cS"}["\x74\x67\x63\x72\x6d\x69z\x6fh\x66"]};$pk->yaw=${${"G\x4c\x4f\x42\x41L\x53"}["b\x63o\x6c\x70\x75l\x6a\x6c\x64"]};$pk->mode=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6awcj\x6c\x68\x66"]};if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x67\x75a\x74\x75\x76"]}!==null){$obdhdqlyfof="\x70\x6b";Server::broadcastPacket(${${"\x47LOB\x41\x4c\x53"}["u\x70\x78i\x79\x62w\x63\x67\x74"]},${$obdhdqlyfof});}else{${"G\x4cO\x42\x41\x4c\x53"}["\x62w\x7a\x75v\x6e\x70\x74"]="\x70k";$pk->eid=0;$this->dataPacket(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62w\x7a\x75\x76\x6ep\x74"]});}}protected function checkChunks(){if($this->chunk===null or($this->chunk->getX()!==($this->x>>4)or$this->chunk->getZ()!==($this->z>>4))){if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=$this->level->getChunk($this->x>>4,$this->z>>4,true);if(!$this->justCreated){${"\x47L\x4f\x42\x41LS"}["\x79kky\x75\x62\x70\x64e\x62"]="\x6e\x65w\x43\x68unk";$tmqulxt="pl\x61\x79e\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6e\x6b\x72\x6c\x62\x79\x79x"]="\x72\x65l\x6f\x61d";${${"\x47\x4c\x4fB\x41LS"}["ykk\x79\x75\x62\x70\x64e\x62"]}=$this->level->getChunkPlayers($this->x>>4,$this->z>>4);unset(${${"\x47\x4cOB\x41LS"}["\x6b\x64\x69\x76\x62\x68w\x70q"]}[$this->getLoaderId()]);${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x6b\x72\x6cb\x79\x79x"]}=[];foreach($this->hasSpawned as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x75\x70\x6a\x65\x7as\x6f"]}){if(!isset(${${"GL\x4f\x42A\x4c\x53"}["\x6b\x64\x69\x76\x62h\x77\x70\x71"]}[$player->getLoaderId()])){$this->despawnFrom(${${"G\x4c\x4f\x42\x41L\x53"}["\x79\x75\x70j\x65\x7aso"]});}else{$mvplukaiief="n\x65\x77\x43\x68u\x6e\x6b";$gqqimqd="\x70\x6cayer";${"\x47LOBA\x4c\x53"}["\x78\x72c\x67k\x76\x78\x70bn\x68\x76"]="\x72\x65\x6c\x6fa\x64";unset(${$mvplukaiief}[$player->getLoaderId()]);${${"\x47\x4c\x4f\x42\x41\x4cS"}["xr\x63\x67\x6bv\x78p\x62\x6eh\x76"]}[]=${$gqqimqd};}}foreach(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6b\x64\x69\x76\x62\x68\x77p\x71"]} as${$tmqulxt}){$this->spawnTo(${${"\x47L\x4fBA\x4cS"}["\x79\x75\x70j\x65\x7aso"]});}}if($this->chunk===null){return;}$this->chunk->addEntity($this);}}protected function checkTeleportPosition(){if($this->teleportPosition!==null){${"GL\x4f\x42\x41LS"}["\x6fu\x6ej\x6fc"]="\x58";${${"\x47LO\x42\x41\x4cS"}["\x61\x73y\x65\x65\x6f\x6cd\x6d\x75\x64"]}=$this->teleportPosition->x>>4;$wqoqrjmo="\x63\x68\x75\x6ekZ";${"G\x4c\x4fBA\x4c\x53"}["\x78\x63\x76olf\x68r"]="X";${$wqoqrjmo}=$this->teleportPosition->z>>4;for(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x78\x75\x75\x6c\x74w\x6e\x6cm"]}=-1;${${"\x47\x4c\x4f\x42\x41\x4cS"}["x\x63vol\x66hr"]}<=1;++${${"G\x4c\x4f\x42\x41\x4c\x53"}["o\x75\x6ejo\x63"]}){${"\x47L\x4f\x42AL\x53"}["\x6f\x6d\x74\x6cbj\x77\x76\x64\x6c\x6d"]="Z";${"G\x4c\x4f\x42\x41L\x53"}["\x69gpn\x6f\x77\x72t"]="\x5a";for(${${"\x47L\x4fB\x41\x4cS"}["d\x63\x6d\x68c\x62\x79\x62\x6c\x71"]}=-1;${${"\x47LOB\x41L\x53"}["\x69g\x70\x6e\x6fw\x72\x74"]}<=1;++${${"GLO\x42\x41L\x53"}["o\x6dt\x6cb\x6a\x77v\x64lm"]}){${"G\x4c\x4fB\x41L\x53"}["\x62\x6f\x68ndu\x61\x67\x76\x71\x76"]="\x69\x6e\x64\x65x";$thmbvwnbf="\x58";$tkdyxfzfehu="\x63\x68unk\x5a";$xqtxkiw="\x5a";${"G\x4cO\x42\x41\x4cS"}["j\x75\x68\x6b\x61g\x67"]="\x63\x68\x75\x6e\x6b\x58";$bvxfuuyhwdp="\x69\x6e\x64\x65\x78";if(!isset($this->usedChunks[${$bvxfuuyhwdp}=Level::chunkHash(${${"\x47LOB\x41\x4c\x53"}["\x6a\x75\x68\x6ba\x67g"]}+${$thmbvwnbf},${$tkdyxfzfehu}+${$xqtxkiw})])or$this->usedChunks[${${"\x47LO\x42\x41\x4c\x53"}["\x62\x6f\x68\x6ed\x75\x61\x67v\x71\x76"]}]===false){return false;}}}$this->sendPosition($this,null,null,1);$this->spawnToAll();$this->forceMovement=$this->teleportPosition;$this->teleportPosition=null;return true;}return true;}public function teleport(Vector3$pos,$yaw=null,$pitch=null){${"G\x4cOBA\x4c\x53"}["\x62n\x70\x79n\x75\x74"]="ol\x64P\x6fs";$rjbptfafue="\x70o\x73";if(!$this->isOnline()){return false;}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62n\x70\x79nu\x74"]}=$this->getPosition();if(parent::teleport(${$rjbptfafue},${${"\x47\x4cO\x42\x41LS"}["\x62col\x70\x75\x6c\x6ald"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67cb\x61\x68s\x6af\x63\x6ct"]})){$gjbpdyqpd="\x77i\x6e\x64\x6fw";foreach($this->windowIndex as${$gjbpdyqpd}){$acanwpnjnkou="\x77ind\x6f\x77";if(${${"GL\x4f\x42\x41L\x53"}["\x61\x78\x7a\x77\x6cn"]}===$this->inventory){continue;}$this->removeWindow(${$acanwpnjnkou});}$this->teleportPosition=new Vector3($this->x,$this->y,$this->z);if(!$this->checkTeleportPosition()){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6c\x67k\x68\x6a\x79\x7a\x67\x74"]="\x6f\x6c\x64\x50\x6fs";$this->forceMovement=${${"GL\x4f\x42\x41L\x53"}["\x6cgkh\x6a\x79z\x67\x74"]};}else{$this->spawnToAll();}$this->resetFallDistance();$this->nextChunkOrderRun=0;$this->newPosition=null;$this->stopSleep();return true;}return false;}public function teleportImmediate(Vector3$pos,$yaw=null,$pitch=null){${"G\x4c\x4fB\x41\x4c\x53"}["g\x76\x6bw\x6fc\x68b"]="\x70itch";if(parent::teleport(${${"GL\x4f\x42\x41LS"}["\x6boz\x77\x64u"]},${${"\x47\x4c\x4f\x42AL\x53"}["b\x63ol\x70\x75\x6c\x6al\x64"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x67\x76k\x77\x6fc\x68b"]})){${"\x47\x4c\x4f\x42A\x4cS"}["o\x6d\x64\x6ex\x79\x65"]="w\x69\x6e\x64o\x77";foreach($this->windowIndex as${${"G\x4cOBALS"}["\x6f\x6ddnx\x79\x65"]}){$etzminlvbg="\x77i\x6e\x64ow";if(${$etzminlvbg}===$this->inventory){continue;}$this->removeWindow(${${"G\x4c\x4f\x42A\x4cS"}["\x61\x78z\x77\x6cn"]});}$this->forceMovement=new Vector3($this->x,$this->y,$this->z);$this->sendPosition($this,$this->yaw,$this->pitch,1);$this->resetFallDistance();$this->orderChunks();$this->nextChunkOrderRun=0;$this->newPosition=null;}}public function getWindowId(Inventory$inventory):int{$rpspchxtyq="i\x6e\x76\x65n\x74\x6f\x72\x79";if($this->windows->contains(${$rpspchxtyq})){$htfalgujysb="\x69n\x76\x65\x6e\x74\x6f\x72y";return$this->windows[${$htfalgujysb}];}return-1;}public function addWindow(Inventory$inventory,$forceId=null):int{$rhgmcj="i\x6e\x76\x65nt\x6f\x72\x79";${"G\x4cOBA\x4cS"}["\x6b\x74\x6b\x6cpwn\x79\x76o"]="\x69\x6eve\x6e\x74o\x72\x79";$mtnhtjhyk="\x63\x6e\x74";if($this->windows->contains(${$rhgmcj})){return$this->windows[${${"\x47L\x4f\x42A\x4c\x53"}["\x67\x6bfb\x6f\x6b\x64\x6bay"]}];}${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x70\x70\x65b\x74\x69\x66h\x73g"]="f\x6fr\x63\x65\x49\x64";if(${${"\x47LO\x42\x41\x4c\x53"}["\x70\x70ebti\x66hs\x67"]}===null){$this->windowCnt=${${"\x47\x4cO\x42\x41\x4c\x53"}["aw\x70\x69fo\x77ewpqj"]}=max(2,++$this->windowCnt%99);}else{$yrotbokpw="\x63n\x74";${"GL\x4f\x42\x41L\x53"}["\x70j\x6enek\x72"]="\x66o\x72\x63\x65I\x64";${$yrotbokpw}=(int)${${"\x47\x4cO\x42\x41\x4c\x53"}["\x70j\x6e\x6ee\x6br"]};}$this->windowIndex[${${"\x47\x4cOB\x41\x4cS"}["a\x77\x70\x69\x66\x6fwew\x70\x71j"]}]=${${"G\x4cO\x42A\x4cS"}["k\x74klp\x77\x6e\x79vo"]};$this->windows->attach(${${"\x47\x4cOB\x41\x4c\x53"}["g\x6bf\x62o\x6bd\x6bay"]},${$mtnhtjhyk});if($inventory->open($this)){return${${"GLO\x42\x41LS"}["a\x77\x70\x69fow\x65\x77\x70\x71j"]};}else{$this->removeWindow(${${"\x47L\x4f\x42\x41\x4cS"}["gk\x66\x62\x6f\x6b\x64kay"]});return-1;}}public function removeWindow(Inventory$inventory){$inventory->close($this);if($this->windows->contains(${${"\x47\x4cOB\x41\x4c\x53"}["g\x6bfbo\x6bdk\x61\x79"]})){$lukhsrdl="\x69d";${"GL\x4fBAL\x53"}["\x66k\x79bd\x64l\x68\x64k\x71\x76"]="i\x6e\x76\x65n\x74or\x79";${${"\x47L\x4f\x42\x41LS"}["pjnq\x79\x6b\x67\x6a\x64"]}=$this->windows[${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x66k\x79\x62d\x64\x6c\x68\x64k\x71v"]}];$this->windows->detach($this->windowIndex[${${"\x47\x4cO\x42AL\x53"}["p\x6a\x6eq\x79\x6bg\x6a\x64"]}]);unset($this->windowIndex[${$lukhsrdl}]);}}public function setMetadata($metadataKey,MetadataValue$metadataValue){${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x72\x7an\x62\x71ex\x79"]="\x6det\x61\x64\x61\x74\x61\x56\x61\x6cu\x65";$this->server->getPlayerMetadata()->setMetadata($this,${${"\x47L\x4f\x42\x41\x4cS"}["f\x77ke\x64\x62\x6dq"]},${${"GL\x4f\x42A\x4cS"}["\x62r\x7a\x6e\x62\x71\x65\x78\x79"]});}public function getMetadata($metadataKey){return$this->server->getPlayerMetadata()->getMetadata($this,${${"\x47L\x4f\x42A\x4c\x53"}["fw\x6b\x65d\x62\x6d\x71"]});}public function hasMetadata($metadataKey){${"GLOBA\x4c\x53"}["d\x72\x72le\x76\x78\x6ei"]="\x6d\x65\x74\x61d\x61\x74aKe\x79";return$this->server->getPlayerMetadata()->hasMetadata($this,${${"GLO\x42\x41\x4c\x53"}["\x64\x72r\x6ce\x76\x78\x6e\x69"]});}public function removeMetadata($metadataKey,Plugin$plugin){$this->server->getPlayerMetadata()->removeMetadata($this,${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x77\x6b\x65\x64\x62m\x71"]},${${"GLO\x42\x41\x4c\x53"}["\x63\x76\x75\x6b\x74gl\x77"]});}public function onChunkChanged(FullChunk$chunk){$this->loadQueue[Level::chunkHash($chunk->getX(),$chunk->getZ())]=abs(($this->x>>4)-$chunk->getX())+abs(($this->z>>4)-$chunk->getZ());}public function onChunkLoaded(FullChunk$chunk){}public function onChunkPopulated(FullChunk$chunk){}public function onChunkUnloaded(FullChunk$chunk){}public function onBlockChanged(Vector3$block){}public function getLoaderId(){return$this->loaderId;}public function isLoaderActive(){return$this->isConnected();}public static function getChunkCacheFromData($chunkX,$chunkZ,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){$byilvyiat="ch\x75\x6e\x6bZ";$dmbludqxyr="p\x61y\x6co\x61\x64";${${"G\x4cO\x42\x41LS"}["\x77z\x61\x72nyp\x71\x6fg"]}=new FullChunkDataPacket();$pk->chunkX=${${"\x47LOB\x41\x4c\x53"}["as\x79\x65e\x6fl\x64\x6d\x75\x64"]};$bmdeusnjheez="\x6f\x72\x64e\x72i\x6e\x67";$pk->chunkZ=${$byilvyiat};$pk->order=${$bmdeusnjheez};$pk->data=${$dmbludqxyr};$pk->encode();return${${"GL\x4f\x42\x41\x4c\x53"}["\x77z\x61\x72\x6e\x79pq\x6fg"]};}}
?>

Function Calls

None

Variables

None

Stats

MD5 a2eb9061fde957524dafaee15724be87
Eval Count 0
Decode Time 215 ms