More Info: How to Change Your Minecraft Skin in Java Edition
Need Help? Click here for more information on How to Change Your Minecraft Skin in Java Edition.
Need Help? Click here for more information on How to Change Your Minecraft Skin in Java Edition.
HElllo guyz its me frozer
Anyone can make a mod that villager will be a player model and the skin of it is in the skin pack so I will be never alone thinking the villager as a player
For example
U will make a mod that can change villager into player model like. Villager blacksmith will turn into a player model or rendered object and the skin of it is in the skin pack called also a blacksmith
if U understand my situation plz moders make it :'( plz :'(
function entityAddedHook(e){
if(Entity.getEntityTypeId(e)===EntityType.VILLAGER){
Entity.setRenderType(e,EntityRenderType.human);
switch(Entity.getMobSkin(e)){
case "mob/villager/butcher.png":
Entity.setMobSkin(e,"skins/butcher/etc...");
break;
case "mob/villager/farmer.png":
Entity.setMobSkin(e,"skins/farmer/etc...");
break;
case "mob/villager/libfarian.png":
Entity.setMobSkin(e,"skins/librarían/etc...");
break;
Etc...
Etc...
}
}
}
Yes but their mechanic doesnt change only there rendered as player model
I cant understand. Can u make me codes?
function entityAddedHook(e){
if(Entity.getEntityTypeId(e)===EntityType.VILLAGER){
Entity.setRenderType(e,"EntityRenderType.human");
swtich(Entity.getMobSkin(e){
case "mob/villager/butcher.png":
Entity.setMobSkin(e,"skins/butcher/etc...");
break;
case "mob/villager/farmer.png":
Entity.setMobSkin(e,"skins/farmer/etc...");
break;
case "mob/villager/libfarian.png":
Entity.setMobSkin(e,"skins/librarían/etc...");
break;
}
}
}
function entityAddedHook(e){
if(Entity.getEntityTypeId(e)===EntityType.VILLAGER){
Entity.setRenderType(e,"EntityRenderType.human");
swtich(Entity.getMobSkin(e){
case "mob/villager/butcher.png":
Entity.setMobSkin(e,"skins/butcher/etc...");
break;
case "mob/villager/farmer.png":
Entity.setMobSkin(e,"skins/farmer/etc...");
break;
case "mob/villager/libfarian.png":
Entity.setMobSkin(e,"skins/librarían/etc...");
break;
}
}
}
swtich(Entity.getMobSkin(e){
org.mozilla.javascript.EvaluatorException: missing ) after argument list (hahaha.js#3)
at org.mozilla.javascript.DefaultErrorReporter.runtimeError(Unknown Source)
at org.mozilla.javascript.DefaultErrorReporter.error(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.addError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.mustMatchToken(Unknown Source)
at org.mozilla.javascript.Parser.mustMatchToken(Unknown Source)
at org.mozilla.javascript.Parser.argumentList(Unknown Source)
at org.mozilla.javascript.Parser.memberExprTail(Unknown Source)
at org.mozilla.javascript.Parser.memberExpr(Unknown Source)
at org.mozilla.javascript.Parser.unaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.mulExpr(Unknown Source)
at org.mozilla.javascript.Parser.addExpr(Unknown Source)
at org.mozilla.javascript.Parser.shiftExpr(Unknown Source)
at org.mozilla.javascript.Parser.relExpr(Unknown Source)
at org.mozilla.javascript.Parser.eqExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitAndExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitXorExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitOrExpr(Unknown Source)
at org.mozilla.javascript.Parser.andExpr(Unknown Source)
at org.mozilla.javascript.Parser.orExpr(Unknown Source)
at org.mozilla.javascript.Parser.condExpr(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.expr(Unknown Source)
at org.mozilla.javascript.Parser.nameOrLabel(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(Unknown Source)
at org.mozilla.javascript.Parser.statements(Unknown Source)
at org.mozilla.javascript.Parser.block(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(Unknown Source)
at org.mozilla.javascript.Parser.ifStatement(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(Unknown Source)
at org.mozilla.javascript.Parser.parseFunctionBody(Unknown Source)
at org.mozilla.javascript.Parser.function(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Parser.parse(Unknown Source)
at org.mozilla.javascript.Context.compileImpl(Unknown Source)
at org.mozilla.javascript.Context.compileReader(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:178)
at java.lang.Thread.run(Thread.java:841)
the code is not yet complete dude.i can make that with no errors but it will took me for 4-6 days.(u know school studies!)even they are speaking.randomly and they are spawning EVERYWHERE.just if u want.
follow me on twitter
www.twitter.com/blade9941
Easy Dude...You Don't Even Know JavaScript Then Also The Code Is Just An Example But Not A Complete JavaScript Code
Hahaha...LOL Bro They Will Spawn Everywhere Every 1 Tick Hahaha...Imagine For 24000 Minecraft Ticks Or 1 MC Day Every Tick A Villager Will Spawn
maybe...HAHAHA.im aware of that...they have same names,chats.i don't know how could i stop the fake players virus on this mod.
follow me on twitter
www.twitter.com/blade9941
Wrong area
Hahaha...RIP CPU