Yes kinda but i dont know what functions to use and i tried making it myself but i couldn't ! So
here:
(You don't need to use the useItem(x,y,z,itemId,blockId) hook, use whatever you'd like. I am using it as an example.)
function useItem(x,y,z,itemId,blockId)
{
if (itemId==280) //can be whatever you'd like
{
var mob1 = Level.spawnMob(x, y, z, mobID, "image folder/image.png"); //spawns a mob where you want, what type of mob, and sets image for mob
Entity.setRenderType(mob1, 3); //sets the mob's render type to 3 (player)
}
}
hope I helped.
Rollback Post to RevisionRollBack
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
here:
(You don't need to use the useItem(x,y,z,itemId,blockId) hook, use whatever you'd like. I am using it as an example.)
function useItem(x,y,z,itemId,blockId)
{
if (itemId==280) //can be whatever you'd like
{
var mob1 = Level.spawnMob(x, y, z, mobID, "image folder/image.png"); //spawns a mob where you want, what type of mob, and sets image for mob
Entity.setRenderType(mob1, 3); //sets the mob's render type to 3 (player)
}
}
hope I helped.
So what would i spawn for a steve i dont want a mob i dont want it to attack or anything !
So what would i spawn for a steve i dont want a mob i dont want it to attack or anything !
just find a passive mob id, and enter it in the yourmobid, and then in setRenderType 3 makes it so the passive looks like a player. Just make sure you set the mob's skin to a player skin though. The mob will not attack, since it is passive
Rollback Post to RevisionRollBack
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var steve = Level.spawnMob(x,y+1,z,11,"mob/char.png"); //spawns mob, variable "steve", and uses the skin char.png
Entity.setRenderType(steve,3); //changes the rendertype of the mob steve to a player
clientMessage("<Steve> Hello!"); //clientmessage sent if item is a stick (if steve is spawned)
}
}
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var steve = Level.spawnMob(x,y+1,z,11,"mob/char.png"); //spawns mob, variable "steve", and uses the skin char.png
Entity.setRenderType(steve,3); //changes the rendertype of the mob steve to a player
clientMessage("<Steve> Hello!"); //clientmessage sent if item is a stick (if steve is spawned)
}
}
+1 If I helped.
GUESS WHAT, GUESS WHAT, GUESS WHAT............. +1 for you sir. I have been wondering this for a LONG time
Rollback Post to RevisionRollBack
Willing to work on Android apps or multi-platform games, see profile bio for information.
GUESS WHAT, GUESS WHAT, GUESS WHAT............. +1 for you sir. I have been wondering this for a LONG time
Me too i was wondering about that +1
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! ---------------->
What? (are you serious or sarcastic?) I was talking about the method for a passive steve.
If you go to my profile then click on "Reputation" you can see all the +1 I've given and received.
Rollback Post to RevisionRollBack
Willing to work on Android apps or multi-platform games, see profile bio for information.
What? (are you serious or sarcastic?) I was talking about the method for a passive steve.
If you go to my profile then click on "Reputation" you can see all the +1 I've given and received.
My team " Bukkit PE " Is working on a mod so do you want to be apart of it ?
My team " Bukkit PE " Is working on a mod so do you want to be apart of it ?
Sorry, no. I would but I'm already to busy with my team Code of Duty: Modding Warfare PE. You are welcome to apply on the clans page. Right now we are working on a very big and awesome project
Rollback Post to RevisionRollBack
Willing to work on Android apps or multi-platform games, see profile bio for information.
Trying to change the render thing to a skeleton but get a cow or pig?help?
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var skeleton = Level.spawnMob(x,y+1,34,"mob/pig.png"); //spawns mob, variable "skeleton", and uses the skin pig.png
Entity.setRenderType(skeleton,8); //changes the rendertype of the skeleton, to a pig (but has a skeleton AI)
clientMessage("<Skeleton Pig> Ive been Spawned!"); //clientmessage sent if item is a stick (if the skeleton disguised as a pig is spawned)
}
}
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var skeleton = Level.spawnMob(x,y+1,34,"mob/pig.png"); //spawns mob, variable "skeleton", and uses the skin pig.png
Entity.setRenderType(skeleton,8); //changes the rendertype of the skeleton, to a pig (but has a skeleton AI)
clientMessage("<Skeleton Pig> Ive been Spawned!"); //clientmessage sent if item is a stick (if the skeleton disguised as a pig is spawned)
}
}
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var skeleton = Level.spawnMob(x,y+1,34,"mob/pig.png"); //spawns mob, variable "skeleton", and uses the skin pig.png
Entity.setRenderType(skeleton,8); //changes the rendertype of the skeleton, to a pig (but has a skeleton AI)
clientMessage("<Skeleton Pig> Ive been Spawned!"); //clientmessage sent if item is a stick (if the skeleton disguised as a pig is spawned)
}
}
Did I help?
Hexdro pm me , I have alot to talk to you about !
Rollback Post to RevisionRollBack
If i helped you or you like me our my mods / clan Subscribe ! Alot of cool and fun videos !
You could just PM Me I still have to reply to a few PM's.. got like 4 unread ones but sure I will anyway.
But If its about coding a new mod I'd have to decline.
As I still need to finish off pokecube 1.2, and Im already helping other people with their new mods (in their team).
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! ---------------->
(You don't need to use the useItem(x,y,z,itemId,blockId) hook, use whatever you'd like. I am using it as an example.)
hope I helped.
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
So what would i spawn for a steve i dont want a mob i dont want it to attack or anything !
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
GUESS WHAT, GUESS WHAT, GUESS WHAT............. +1 for you sir. I have been wondering this for a LONG time
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
Me too i was wondering about that +1
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! ---------------->
What? (are you serious or sarcastic?) I was talking about the method for a passive steve.
If you go to my profile then click on "Reputation" you can see all the +1 I've given and received.
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
My team " Bukkit PE " Is working on a mod so do you want to be apart of it ?
Sorry, no. I would but I'm already to busy with my team Code of Duty: Modding Warfare PE. You are welcome to apply on the clans page. Right now we are working on a very big and awesome project
Willing to work on Android apps or multi-platform games, see profile bio for information.
Founder and CEO of Temena Development
Twitter: @TemenaPE
Instagram: @ItsLiterallyMath
ModPE!?
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var skeleton = Level.spawnMob(x,y+1,34,"mob/pig.png"); //spawns mob, variable "skeleton", and uses the skin pig.png
Entity.setRenderType(skeleton,8); //changes the rendertype of the skeleton, to a pig (but has a skeleton AI)
clientMessage("<Skeleton Pig> Ive been Spawned!"); //clientmessage sent if item is a stick (if the skeleton disguised as a pig is spawned)
}
}
Did I help?
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
function useItem (x, y, z,itemId, blockId, side)//useItem Code goes here
{
if(itemId == 280)//If the item used is a stick
{
var skeleton = Level.spawnMob(x,y+1,34,"mob/pig.png"); //spawns mob, variable "skeleton", and uses the skin pig.png
Entity.setRenderType(skeleton,8); //changes the rendertype of the skeleton, to a pig (but has a skeleton AI)
clientMessage("<Skeleton Pig> Ive been Spawned!"); //clientmessage sent if item is a stick (if the skeleton disguised as a pig is spawned)
}
}
Did I help?
Hexdro pm me , I have alot to talk to you about !
+1 Me If I Helped You!
Follow Me On Twitter: @shadowdude246
ModPE!?
But If its about coding a new mod I'd have to decline.
As I still need to finish off pokecube 1.2, and Im already helping other people with their new mods (in their team).
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015
It wont shoot arrows but it will look like one...
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! ---------------->
Check out my game! It's an open-world, sandbox text adventure.
Follow @hexdro_
Hexdro © 2012-2015