Get armor of a player
Unsolved
ScriptAPI
-
@czechhek How almight czechhek teach us the way!
-
@czechhek say it then
-
@czechhek bruh
-
as of mr czechhek didn't wanna explain im explaining it on the worst way posible:
// kinda not recommend doing this on update but ok // counter is counter and "slots" is the armor slots var counter = 0, slots = Java.from(mc.thePlayer.inventory.armorInventory); // cicle though armor (cool !!!!!!!) for(var i in slots){ var slot = slots[i]; // if armor isn't null means that there is armor on the slot (wow !!!!!!!!!!!) if(slot != null){ // check if it is diamon !!!!!!! var item = slot.getItem(); if(item.getArmorMaterial().getName().equals("diamond")){ counter++; } } } Chat.print(counter);
-
@czechhek not my self other players
-
@plumer-man then look into fields and methods of https://scriptapi.liquidbounce.net/net/minecraft/client/entity/EntityOtherPlayerMP.html
if you stumble upon java arrays then do Java.from to convert it and that way you should be able to figure it out by yourself
-
benedetta.cozzi05@gmail.com:Milenabe!2005 | BenedettaCozzi eatea6893@gmail.com:Jimnfreddy8! | Eatea Theenderdragon56@gmail.com:Peterpiper100! | Florponzo Banditthedog13@gmail.com:Banditthedog12! | geezattv emil026t@gmail.com:Tyg26esk | emil_er_sej teo.sarlieve1763@gmail.com:Teolou63@ | Sarliche izaanibrahim21@gmail.com:SolusHelped12! | taelarity_ chris@sabre.me:Cloud99! | lifesabre adamantarmor@yahoo.com:Gravhammer1! | Cornholio7926 babaransunemmanuel@gmail.com:Danny21250! | Potato_Angle hugoibarzmur@gmail.com:Danamiki123 | i3lSugus lonnn2000@gmail.com:leon2000 | Im_Skajo gothicrose1355@gmail.com:A1B2and& | JadeBoi13 tommybuccianti@gmail.com:Tommyitis0902 | _Fridka_ mandybarkhuizen@gmail.com:hannah71 | JBARK03 jacobwatson@nycap.rr.com:Random90!! | Seawattgaming stuartandrewfox@btinternet.com:Landrover=3 | c2sfox jbminidude@gmail.com:Biffyrock31!!! | ohmagerd xxxzokxxx@gmail.com:ZoRaN1990! | MrDeadPixel blackbird25565@gmail.com:Oibaf1998 | sf2xd emanuelvarg8@hotmail.com:EMmavargas13. | diamondbs ub_411@yahoo.com:Casperowns2! | Ub411 aprylisnow@gmail.com:Pidders1 | RockstarLeah harde2002@gmail.com:hunar2005 | Power_YouTube vladungureanu47@gmail.com:Valdosita4ever | Vladolado13 butterbird123@gmail.com:Copiccolors198 | MothClot dchampion0123@gmail.com:Devintanner1 | dchampion0123 charlielonsdale@hotmail.co.uk:Silenced921 | Silenced921 mattmeyers62046@gmail.com:3Dmeyers! | BoreRagnarock patrick1082@hotmail.com:Tomas3021 | Wuatafak stuhead18@hotmail.com:Sprite11. | E1f_King aurorate40@gmail.com:Arc0baleno | Garysa stefan.coLak.1812@hotmaiL.co.uk:London9397 | Stefstaa jules.dimovski@yahoo.fr:Doud2805 | Minatos stansfieldjaime22@gmail.com:BasilHunter22 | jaimestansfield mckendry8326@gmail.com:Pimpkilla7! | DarrenKnudsen shuttle2000@msn.com:Wolfe1234 | aliens491
-
This post is deleted!
-
@aftery Thanks
13/13