This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hello everyone. I have a question. Here's the question: HOW THE TACOS AM I SUPPOSED TO RESET A
MCPE MOB'S SPEED.
Leave an answer in the comments.
Thank you.
-Charlie20003
IS ANYONE GONNA HELP ME OUT HERE!
That's easy!
There's one function for each coordinates' speed:
function setVelX(ent,velocity);
function setVelY(ent,velocity);
function setVelZ(ent,velocity);
for ent, use:
-for yourself: Player.getEntity()
-for Mobs: Entity.getEntityTypeId(entity)
Note: entity is a number(integer), not a String! Each entity has it's own number, see them on the minecraft-wiki (creepers are 33, for example).
Quote from Clagdriffยป That's easy! There's one function for each coordinates' speed: function setVelX(ent,velocity); function setVelY(ent,velocity); function setVelZ(ent,velocity); for ent, use: -for yourself: Player.getEntity() -for Mobs: Entity.getEntityTypeId(entity) Note: entity is a number(integer), not a String! Each entity has it's own number, see them on the minecraft-wiki (creepers are 33, for example).
So... what would you put for "velocity"? Is that like the amount of speed?
Of cause! But don't put in 25mp/h, put in a number like 1 or 4,3 or something like that. But I don't know what number is how fast, try it out.
I will try this out. Thanks!
Help. It does 1 of 2 things: 1. Nothing (2% chance) 2. Crash Blocklauncher (98% chance)
NOTE: the percents were estimated. Please help.
What for a crash does BlockLauncher says? Maybe you puttet it in the false hook-function, or the problem is somewhere else?
It doesn't say anything. It just closes.
It doesn't even say "Unfortunately, Blocklauncher has stopped" it crashes so bad.
Can you show me the JavaScript-file?
Hello everyone. I have a question. Here's the question: HOW THE TACOS AM I SUPPOSED TO RESET A
MCPE MOB'S SPEED.
Leave an answer in the comments.
Thank you.
-Charlie20003
IS ANYONE GONNA HELP ME OUT HERE!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumThat's easy!
There's one function for each coordinates' speed:
function setVelX(ent,velocity);
function setVelY(ent,velocity);
function setVelZ(ent,velocity);
for ent, use:
-for yourself: Player.getEntity()
-for Mobs: Entity.getEntityTypeId(entity)
Note: entity is a number(integer), not a String! Each entity has it's own number, see them on the minecraft-wiki (creepers are 33, for example).
So... what would you put for "velocity"? Is that like the amount of speed?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOf cause! But don't put in 25mp/h, put in a number like 1 or 4,3 or something like that. But I don't know what number is how fast, try it out.
I will try this out. Thanks!
Help. It does 1 of 2 things: 1. Nothing (2% chance) 2. Crash Blocklauncher (98% chance)
NOTE: the percents were estimated. Please help.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumWhat for a crash does BlockLauncher says? Maybe you puttet it in the false hook-function, or the problem is somewhere else?
It doesn't say anything. It just closes.
It doesn't even say "Unfortunately, Blocklauncher has stopped" it crashes so bad.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCan you show me the JavaScript-file?