Making a Minecraft Skin-Grabber in Unity

  Рет қаралды 187,945

PolyMars

PolyMars

Күн бұрын

Пікірлер: 352
@gunschlinger
@gunschlinger 5 жыл бұрын
Just a quick coding tip. Avoid having duplicate code. If you need to copy and paste 2 idential pieces of code then its most likely better to put it into a function
@PolyMars
@PolyMars 5 жыл бұрын
Thanks! I have a lot of room for improvement haha
@kxdsh
@kxdsh 4 жыл бұрын
a general rule of thumb is if yandere dev would do it, don't do it,
@SaCuber
@SaCuber 4 жыл бұрын
@@kxdsh if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else if else
@Charlie59876
@Charlie59876 4 жыл бұрын
@@SaCuber was just about to mention
@NStripleseven
@NStripleseven 4 жыл бұрын
Fair
@erxer1
@erxer1 4 жыл бұрын
I don't know if you've updated the code (or models) yet, but many skins have extra layers that more or less float above the existing model. Examples of that would usually be hats or hair on the skin.
@IdaeChop
@IdaeChop 4 жыл бұрын
Deadmau5' skin
@celdaemon
@celdaemon 4 жыл бұрын
@@IdaeChop No, he has a special model only for him and does not use extra layers
@maow-tty-archive
@maow-tty-archive 4 жыл бұрын
@@celdaemon Haha, actually it's not a model, it's basically just 2 cubes rendered over the basic player model, in the code (using Yarn mappings) this is referred to as a feature renderer, it's similar to the rods that float around blazes.
@celdaemon
@celdaemon 4 жыл бұрын
@@maow-tty-archive I know, but those cubes are a model. Seriously it is referenced in mc source code as a model and is rendered in opengl as a model
@maow-tty-archive
@maow-tty-archive 4 жыл бұрын
​@@celdaemon It's a model part but not a model itself, if it were a model that would imply it would have some sort of outside file to base it's mesh on, but it doesn't. It's rendered using custom wrapper code that creates a cuboid using a few floats. this.ears.addCuboid(-3.0F, -6.0F, -1.0F, 6.0F, 6.0F, 1.0F, scale);
@germancubesolveryolo4524
@germancubesolveryolo4524 4 жыл бұрын
Nobody gonna talk about the skin of the user Mario being Luigi?
@existenceispain_geekthesiren
@existenceispain_geekthesiren 4 жыл бұрын
😳
@IdaeChop
@IdaeChop 4 жыл бұрын
And luigi being a dark mario
@p529.
@p529. 4 жыл бұрын
Its actually because minecraft skins can have 2 layers on the head (maybe on even more body parts but im not sure) so the cap is just not displayed
@dootskyre
@dootskyre 4 жыл бұрын
Luigi’s last name *_is_* Mario, though...
@thereborne5219
@thereborne5219 4 жыл бұрын
5:34
@imnotasher4892
@imnotasher4892 5 жыл бұрын
upload regularly, you're are waayy too underrated.
@topgequua3280
@topgequua3280 4 жыл бұрын
Ik
@pricelesssword4559
@pricelesssword4559 4 жыл бұрын
True, but do realize how much work each video is
@nonwithnoskill9847
@nonwithnoskill9847 4 жыл бұрын
Priceless Sword u took the words outta my mouth lol
@clounz3336
@clounz3336 3 жыл бұрын
@@nonwithnoskill9847 wut
@clounz3336
@clounz3336 3 жыл бұрын
He is underrated
@_GhostMiner
@_GhostMiner 4 жыл бұрын
1:11 *_censors the first F word, doesn't censor the second F word._* *Task failed successfully.*
@pedroavs4353
@pedroavs4353 4 жыл бұрын
@Alfie wow so agressive
@usiahz9640
@usiahz9640 4 жыл бұрын
Alfie KZbin
@wyatt2605
@wyatt2605 4 жыл бұрын
@Alfie I think the thing he was going for was a joke but okay
@PingouPenguin
@PingouPenguin 4 жыл бұрын
lol
@Arciwiz
@Arciwiz 4 жыл бұрын
@Alfie ok
@sponks1337
@sponks1337 4 жыл бұрын
There is a skin with mouse ears popping out. And you can make gloving skins and you can make skins with 2 layers.
@IdaeChop
@IdaeChop 4 жыл бұрын
@@CRE8ONICPRODUCTIONS he's just telling him. Not telling him to do it.
@rorymax
@rorymax 4 жыл бұрын
Gloving skins?
@seba2366
@seba2366 4 жыл бұрын
Skins with 2 layers use the new 64×64 standars
@DTorto
@DTorto 4 жыл бұрын
There is a PLAYER with mouse ears, it's connected to the username
@Aztrani
@Aztrani 4 жыл бұрын
It’s dead mouse and it is connected to the name
@Akab
@Akab 4 жыл бұрын
i would've used the mojang api because you can check for exactly those things, like "is the model slim or not" or "is it using the old skin model" also the pixel check is not always good because you could still have a slim arm player model with a broad armed texture in the game but not really in your system! I know i'm complaining at a high niveau so i'm sorry for nitpicking! ^^
@icedmorning7610
@icedmorning7610 4 жыл бұрын
This reminds me of when I was quite a bit younger and believed that if I used a skin grabber it would permanently take the person’s skin and give it to me. I wasn’t the sharpest tool in the shed.
@disabledmallis
@disabledmallis 4 жыл бұрын
Love how you open source eveything you make, really love it!
@JanxZ
@JanxZ 4 жыл бұрын
you forgot the outer layer
@mythicalmods2260
@mythicalmods2260 4 жыл бұрын
Yo, your channel is sooo underrated you deserve way more subs
@Nekomusu
@Nekomusu 4 жыл бұрын
There is something you messed. The new skins can have layers.
@Alkumist
@Alkumist 4 жыл бұрын
this is surprisingly underrated
@At1lla0137
@At1lla0137 4 жыл бұрын
Dude u completely ignored the second layer on Minecraft skins
@NStripleseven
@NStripleseven 4 жыл бұрын
True, he did. That layer is actually incredibly important for a skin like the KZbinr Grian uses, which just looks weird without it because that's where the hair is.
@BoxBoy-kh3iy
@BoxBoy-kh3iy 4 жыл бұрын
@@NStripleseven I have the outer layer on ALL my character's parts: mine.ly/BoxBoyPrime
@qwesome
@qwesome 3 жыл бұрын
@@BoxBoy-kh3iy ye most of mine is namemc.com/skin/bdcb99bdead902c4
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
I don't know why. 😕 Some peoples did the opposite. Since they sometimes use the 2nd layer as the 1st layer and ignore the 1st layer. :/
@lno_onel3071
@lno_onel3071 4 жыл бұрын
Poly: noooooooo, blender is scary Dani: first time?
@lno_onel3071
@lno_onel3071 4 жыл бұрын
@@cdfactory shut, I bet you don't drink milk
@stargoodgame
@stargoodgame 4 жыл бұрын
@@cdfactory SHUT
@wateryagarvideos5186
@wateryagarvideos5186 3 жыл бұрын
@@cdfactory DRINK YOUR MILK!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@turnipaitor
@turnipaitor 2 жыл бұрын
Imagine minecraft story mode like this 🤯
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
LdShadowLady is good. Spiders are bad!
@hazy6932
@hazy6932 4 жыл бұрын
the thing about the transparent pixel is actually not always gonna work. when importing a skin, the launcher asks which version the skin is, because it doesnt use the texture to figure it out, meaning some people use skins meant for larger arms with the model of the skinny arms. other people accidentally draw over where its supposed to be transparent, so there are chances that pixel might not be transparent. idk if its possible to ask Minecrafts servers if the skin has skinny arms though, so this is a good enough solution
@Nick_DoesStuff
@Nick_DoesStuff 4 жыл бұрын
so. buddy the first statement is worng it will always work it dosent matter if its set on the wrong model in the launcher it checks the texture for that and all of the skin creators always use some 3D skin tool to draw their skins.
@hazy6932
@hazy6932 4 жыл бұрын
@@Nick_DoesStuff people put their names on the transparent pixels of their skins sometimes, ive done it, im not lying, and im not wrong
@snic3180
@snic3180 3 жыл бұрын
@@Nick_DoesStuff so buddy your wrong
@codedecode1498
@codedecode1498 3 жыл бұрын
This man makes games in java and skin grabber in unity, legend.
@JohnnySix
@JohnnySix 2 жыл бұрын
I did not know you could sample individual textures from pixels, very cool! Well done on solving the 3 different texture map problem too :D
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
Ok. 😁 NOW SHUT UP, YOU LAZY KId!!!!!!
@happy_alexen
@happy_alexen 3 жыл бұрын
Nobody knew about the hat textures i mean look at Yoshi there! He looks cursed 5:35
@falxie_
@falxie_ 4 жыл бұрын
I didn't know there was a new format for skins. Guess that's what I get for playing since 2010
@dom_the_whale5140
@dom_the_whale5140 4 жыл бұрын
bro this dude deserves more subs
@gavintantleff
@gavintantleff 4 жыл бұрын
I have a tip for this. You can use the Mojang API directly (username to uuid, then uuid to skin), and you can get information like whether the player uses an Alex (slim) or Steve (not slim) skin.
@mtgamekid2510
@mtgamekid2510 2 жыл бұрын
Good to know!
@erglwrgl
@erglwrgl 4 жыл бұрын
Username: Mario Skin: Luigi Bruh...
@Johnlongears
@Johnlongears 4 жыл бұрын
2:12 w h a t
@luckblocksuper6734
@luckblocksuper6734 4 жыл бұрын
Wait
@kenwalkensdeadchannelcanal2886
@kenwalkensdeadchannelcanal2886 4 жыл бұрын
*I TOLD YOU TO NOT EAT THOSE GUMMY BEARS LUIGI*
@bulbyvr
@bulbyvr 3 жыл бұрын
I'd recommend adding support for the jacket/helmet. I have made a version of this in godot that supports jackets which is complex but neat
@gamingwithmaysam7822
@gamingwithmaysam7822 3 жыл бұрын
soo its the creator of fnf modding plus hmmmmmmm
@LakoIsFun
@LakoIsFun 4 жыл бұрын
What about hats?
@existenceispain_geekthesiren
@existenceispain_geekthesiren 4 жыл бұрын
Lako _oh no_
@realstulu
@realstulu 4 жыл бұрын
Mimecraft have a feature that let you make bigger skins by turning on jackets or hat. Maybe you can add a butten that change between the both types
@doublbot
@doublbot 4 жыл бұрын
fix your spelling
@mimikanahd1638
@mimikanahd1638 4 жыл бұрын
We are doing a military roleplay with skins as like intelligence or something so this thing is key to winning
@NoelJasik
@NoelJasik 4 жыл бұрын
Now my minecraft clone will be powerfull!
@bunabyt3
@bunabyt3 2 жыл бұрын
The fastest way to get a complete Minecraft model template is to create a new skin with Blockbench and use the "convert project" option to convert it to a generic model.
@citrinesanimations
@citrinesanimations 5 жыл бұрын
cool
@codog2003
@codog2003 4 жыл бұрын
It’d be pretty cool if Minecraft Dungeons used a feature like this
@elyesgmz_lil_boi
@elyesgmz_lil_boi 3 жыл бұрын
wow that was really cool
@TomTheCasual
@TomTheCasual 3 жыл бұрын
If I remember right a musician called something like deadmau or something like that got a exclusive skin from notch himself with different proportions to that of any other skin to this day
@thehambone1454
@thehambone1454 5 жыл бұрын
Thanks for sharing!
@Hi1mMe
@Hi1mMe 4 жыл бұрын
Later did he know there is now 128×128 skins for both classic and slim arms.
@miwiki6
@miwiki6 3 жыл бұрын
what
@usernameadamgames
@usernameadamgames 3 жыл бұрын
Polymars : lets do a good old research Also polymars : "how to not f*** up blender EVERY FUCKIN 2 SECONDS"
@sequelz
@sequelz 3 жыл бұрын
1:08 him: blocks f*ck the bottom f*ck: I'm about to end this man's whole career
@indonesialovah
@indonesialovah 3 жыл бұрын
Would be cool if you added a way to test the skins in the project itself before downloading with a way to see all animations or walk around in the skin in a flat world. And being able to convert your skins to any format. And also having the 128x128 format (the 128x128 format is not supported by pc skins, but you can connect your pc with your phone and drag the skin from the phone to the game files.) and also having a button which automatically makes you wear the skin and if any device is connected it would say the device name and say if you want to transfer it to both,none (but why would you),pc or decice. It would basically locate the game and add ut to the custom skin list or you being able to add it. And maybe on pc doing the same with the launcher. Just to make it unique.
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
Yeah! So annoying! BLAME MOJANG FOR THAT!!!!!! SINCE IT'S POINTLESS FOR MOJANG FOR NOT SUPPORTING Hd SKINS ON JAVA EdITION!!!!!
@memetech-
@memetech- 3 жыл бұрын
This also supports the new “slim armed” option VS “classic” skins, plus the old format. However, did you compensate for skins with tramsparent pixels on them? (Mojang might be removing them but still) and if you are are you supporting top-layers? Test account for that could vary, but I currently am replacing blakertines skin from all black pixels with skin on top to skin with longer clothes on top. Switching between top and bottom layer, VS both, could also work too!
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
I like slim arms better. Since slim arms are for girls only.
@mo-s-
@mo-s- 4 жыл бұрын
Idk, but you can make the pixel you use for detection transparent in normal models too
@JollyTurbo1
@JollyTurbo1 3 жыл бұрын
I hated that big of programming at 4:33 onwards. He should've set all of the models to false before the if-statements, and then set the appropriate one to true once an if-statement evaluates to true. The reason for this is so that if Minecraft adds new models in the future, only one line needs to be added to set the new one to false and one new if-statement should be added. It's also just better practice
@WildFyr
@WildFyr 4 жыл бұрын
Here is a issue I see, what if someone made a skin in a program like MSPaint and the background was white instead of transparent, would it display the wrong player model?
@cubicengineering4715
@cubicengineering4715 4 жыл бұрын
I imagine the white parts would just not appear on the model anywhere. However feel free to try my skin (EngineeringCubed) as the unused are is green so it should be extra apparent if it's visible
@lost_flower4412
@lost_flower4412 4 жыл бұрын
It would make if there are displayed the second layer, make the skin just a big thicc white buddy, literally
@samdabugg
@samdabugg 3 жыл бұрын
oh my gosh is that the music from "push the button"?
@wagyourtai1
@wagyourtai1 4 жыл бұрын
why use minotar api when you can directly use mojang's? also technically the alpha of any pixel can be 0, it just displays as black when mapped if it's not an upper layer... the actual minecraft API tells you whether it's using the "slim" model
@steel.croissant
@steel.croissant 4 жыл бұрын
Why didnt I find this when i needed it
@peatral
@peatral 3 жыл бұрын
Well the way without using the minotar api would be to fetch the player uuid for the player name using mojangs api, then fetch the profile data via the uuid, decode the base64 string that holds the skin information and voila, you got the image url and the information wether it is an alex or steve style skin. Furthermore, you can tell from the hash of their uuid if its a alex or steve skin if no custom skin is set.
@ShauliusII
@ShauliusII 2 жыл бұрын
Amazing job! thx
@renegadegirls
@renegadegirls 4 жыл бұрын
Minecraft Skins also have outer layers
@chikem_nufget
@chikem_nufget 4 жыл бұрын
you should add support for the second skin layer
@TheEpicplushgod
@TheEpicplushgod 2 жыл бұрын
I recommend using the newer versions of blender, they have a much nicer and user friendly display
@waffmaff4364
@waffmaff4364 2 жыл бұрын
This was 2 years ago
@TheEpicplushgod
@TheEpicplushgod 2 жыл бұрын
i can still recommend things
@VeeFerns
@VeeFerns 3 жыл бұрын
What about the second layer
@AIexL
@AIexL 4 жыл бұрын
You saved my thumbnail
@FBlockLeymann
@FBlockLeymann 4 жыл бұрын
Are capes compatible?
@jojojorisjhjosef
@jojojorisjhjosef 4 жыл бұрын
Mario = SethBling Naruto = Etho It will never change
@debugempty
@debugempty 4 жыл бұрын
You should add the extra layer that skins have.
@DogeisCut
@DogeisCut 4 жыл бұрын
ok but what about the skin layer
@kasiaczek0000
@kasiaczek0000 3 жыл бұрын
1:11 best censorship ever
@imnotasher4892
@imnotasher4892 5 жыл бұрын
your videos are great1
@Kin-bd2vd
@Kin-bd2vd 3 жыл бұрын
I want your skin, and I am going to have it. You can't stop me.
@dna337
@dna337 4 жыл бұрын
Blender is extremely terrifying.
@SalvoGamerYT1
@SalvoGamerYT1 3 жыл бұрын
um there is a problem,what happens if skins have capes integrated?
@jimmlmao
@jimmlmao 4 жыл бұрын
HEY, YOU FORGOT TO ADD THE HAT LAYER
@kkalil
@kkalil 4 жыл бұрын
It’s a good skin grabber but it doesn’t display outer layers like sethblings Mario hat
@Darthcat1204
@Darthcat1204 3 жыл бұрын
Does it need to be in Java or does it work for bedrock too. I want to download my bedrock skin to bring it into Java
@09kingarthur
@09kingarthur 4 жыл бұрын
Maybe you could add support for this he outer layer on some skins.
@masterpig5s
@masterpig5s 4 жыл бұрын
Okay, I don’t like the idea of programs or games sneakily reading files but imagine if read your username somehow and displayed Steve or your skin as an Easter egg on a model on a desk or something. Could have a little boy or someone come up to you and ask what your “mc” username is etc. The default would have to be something other than Steve or Alex due to copyright. Not sure on the copyright of downloading then displaying (public) user generated content like skins. I suggest a default skin of black and purple checkerboard, as reference to the no texture texture.
@RedStone576
@RedStone576 4 жыл бұрын
you can have rights on a skin, but you can't copyright them
@miwiki6
@miwiki6 3 жыл бұрын
what?
@Sammy_Hamdani
@Sammy_Hamdani 4 жыл бұрын
New skins don't work(at least mine, "Xyndra"), I updated the script link to www.minecraftskinstealer.com/api/v1/skin/download/skin/
@ValerianAndStuff
@ValerianAndStuff 4 жыл бұрын
Nice video Some feedback: use state management + switch to increase readability of your code to not to get in a "wtf is this sh*t"situation
@kate_isawesome1207
@kate_isawesome1207 9 ай бұрын
I HATE ASTERISKS ONLY CENSORS, YOU PIECE OF 5#!7!!!!!!! ####
@russianyoutube
@russianyoutube 3 жыл бұрын
* Minotar api * Mojang api: Bruh
@estym_
@estym_ 4 жыл бұрын
What about Deadmau5's skin?
@lordnordsucc4082
@lordnordsucc4082 3 жыл бұрын
I watched the same videos for making a model, but for some reason my model did some weird ass morphing when posing. Also since I was using the newest version things were so confusing for me.
@GNamimates
@GNamimates 4 жыл бұрын
deadmou5 has giant ears on his skin
@alizardguy
@alizardguy 4 жыл бұрын
That one day with thin arms on the 1.8 format
@minhperry
@minhperry 4 жыл бұрын
1:08 good censoring
@phacey4444
@phacey4444 2 жыл бұрын
does anything weird happen if you look up an HD skins?
@gdrr3250
@gdrr3250 3 жыл бұрын
Thanks for model for animation use
@Lusacant1
@Lusacant1 3 жыл бұрын
thx it rly helped in my cringe funny wowie game thanks thanks
@RedStoneMatt
@RedStoneMatt 4 жыл бұрын
2:11 Username: *Mario* Skin: *Luigi*
@nwtgaciidz901
@nwtgaciidz901 4 жыл бұрын
Need to find a way to get this to work in vr chat so you can change skins on a Minecraft character
@F3L0
@F3L0 3 жыл бұрын
Finally someone as scared of Blender as I am
@mrquokka4733
@mrquokka4733 4 жыл бұрын
This is what happens when someone who doesn’t play Minecraft tries to make a skin grabber
@texturefounded
@texturefounded 2 жыл бұрын
Hey: something is missing... The second skin layer ;)
@NotCryptid
@NotCryptid 2 жыл бұрын
What about the second skin layer?
@clownfishbox
@clownfishbox 4 жыл бұрын
There's one problem I can see with those skins... there's no over layer.
@JamesTDG
@JamesTDG 4 жыл бұрын
This guy forgot about friggin layers!
@cst1229
@cst1229 4 жыл бұрын
Prebuilt download?
@Luckysury333
@Luckysury333 4 жыл бұрын
Can you make it as a .exe file and let us download?
@austinthemaniac8987
@austinthemaniac8987 3 жыл бұрын
how do I use this project? open it in unity?
@le_plankton
@le_plankton 4 жыл бұрын
You should add support for deamouse's custom skin that only works for him (google it for details)
@commenter621
@commenter621 3 жыл бұрын
That pixel could have something but still have skinny arms
@indonesialovah
@indonesialovah 3 жыл бұрын
Squidfinity Gauntlet (The joke is squid and fin if you havent noticed yet)
@NathansBarelyUploads
@NathansBarelyUploads 4 жыл бұрын
Search: Mario Unity: LUIGI
@chaetys4818
@chaetys4818 4 жыл бұрын
What code do you use
@a.ismael47
@a.ismael47 4 жыл бұрын
he uses c#, its pronounced: "C Sharp" and the file format is .cs
@enderdragon4663
@enderdragon4663 4 жыл бұрын
Me: tries to click of youtube to watch fututrama but clicks on this video Still me: futurama can wait
@mak7066
@mak7066 4 жыл бұрын
You can have transparent pixels on a Minecraft skins. Could definitely lead to losing the wrong model
@queenmouse1633
@queenmouse1633 4 жыл бұрын
You forgot the outer layer of the skins!
@aidantilanus
@aidantilanus Жыл бұрын
there is also a second layer on mc skins
@DarinBills
@DarinBills 3 жыл бұрын
Thats awesome
I coded ur STUPID ideas to Minecraft
12:40
Element X
Рет қаралды 204 М.
How to make a LOADING BAR in Unity
11:25
Brackeys
Рет қаралды 749 М.
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
Is Roblox Stealing Millions From Young Developers?
7:51
PolyMars
Рет қаралды 799 М.
I Learned 3D Game Development
11:28
PolyMars
Рет қаралды 313 М.
Making VR Games for the PS Vita
12:28
PolyMars
Рет қаралды 256 М.
I Made the Same Game for 5 Consoles
15:12
PolyMars
Рет қаралды 1,5 МЛН
Learning SDL2 in 48 Hours - GMTK Game Jam 2020
9:19
PolyMars
Рет қаралды 3,1 МЛН
SCRIPTABLE OBJECTS in Unity
8:57
Brackeys
Рет қаралды 1 МЛН
I Made Snake With 30,000 Players
7:28
PolyMars
Рет қаралды 554 М.
Displaying REAL-WORLD Weather in Unity (using REST APIs)
7:32
Making a Game With Discord's Bot API
10:39
PolyMars
Рет қаралды 2,6 МЛН
I Made a Game Illegally
7:48
PolyMars
Рет қаралды 1,1 МЛН