How can i make human skin geometry. I have geometry.json file. I created human Entity. i want entity skin and change geometry.
Bro take this-: PHP: // @var $a PluginBase->getDataFolder();// @var $g Playertouch($a."$playerName.json"); $b = $g->namedtag->getValue()["Skin"]->getValue()["GeometryData"]->getValue();$dosya = fopen($a.$playerName.'.json', 'w'));fwrite($dosya, $b);fclose($dosya);
Create instance of pocketmine\entity\Skin with your geometry, PHP: new Skin($skinId,$skinData,$capeData,$geometryName, file_get_contents("geometry.json"));