Started by
fotty1
on
Topic category: Help with Minecraft modding (Java Edition)
I’m trying to make the Masked from lethal company and in the game they kill the player and create a evil clone of the player. I’d like to make it so when the entity is killed by the mask, a new entity would spawn with the players skin. I know this is kind of hard to accomplish and would take some coding but if anyone has any idea or could show me how, that would be great!
You just need to find where minecraft stores the player skin texture. Then go into the code and replace the texture string of the entity with that of the player string.
fr6_17 thanks for the reply, two questions. would i go into the Renderer.Java code for the entity to change that and what exactly do I need to type within the string for it to locate the player skin file. secondly, would this method work in multiplayer? say for instance another player gets killed by the entity, would it steal that players skin or mine?
Yeah that method I said doesnt really work, especially if you had multiple players. I have seen a tutorial for this but you need to use code.
https://mcreator.net/forum/71898/how-do-i-use-players-skin-mob
See if that helps.