There are two things i need to ask you guys. First of all how do we change our script so that if you tap on a certain mob it will so something else. for example
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
var trainer = Level.spawnMob(x,y+1,z+5,13, "mob/trainer.png");//creates the variable trainer, spawns a mob with the model of a cow
Entity.setRenderType(trainer,3);//overrides the render of the mob "trainer" to a player
this will make a "trainer (this is from pokecube)"
basically it spawns a cow, then overrides the model and changes it to the one of the player (making them look like a human, and using the skin of a player)
This is what you mean by making a hostile mob, passive, allthough it doesnt really do that :P?
var trainer = Level.spawnMob(x,y+1,z+5,13, "mob/trainer.png");//creates the variable trainer, spawns a mob with the model of a cow
Entity.setRenderType(trainer,3);//overrides the render of the mob "trainer" to a player
this will make a "trainer (this is from pokecube)"
basically it spawns a cow, then overrides the model and changes it to the one of the player (making them look like a human, and using the skin of a player)
This is what you mean by making a hostile mob, passive, allthough it doesnt really do that ?
Yap you helped alot thanks!how about ignoring the "hit on the mob"
Rollback Post to RevisionRollBack
Make sure you follow me on twitter! @DarkDiaMiner IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
To post a comment, please login or register a new account.
(theFunction) { preventDefault(); addItemInventory(264,1);Maybe its like that plz show me the function!
And the other thing u guyz can kindly help me is that how do we make a hostile mob not attack you.
Plz help
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumthis will make a "trainer (this is from pokecube)"
basically it spawns a cow, then overrides the model and changes it to the one of the player (making them look like a human, and using the skin of a player)
This is what you mean by making a hostile mob, passive, allthough it doesnt really do that :P?
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
Yap you helped alot thanks!how about ignoring the "hit on the mob"
IF I post a mod download it and give me a +1 if you appreciate.
Make sure you give me a suggestion at my WIP topic darkPE
Make sure you click on that +1 button if I help you! ---------------->