After a few weeks of learning ModPE scripts I have some questions. Is it possible to:
-get "sleep" command without a bed?
-addItemInventory after eating a FoodItem?
-use "smoke" animations from Torch, Mob-death, or Camera?
-change armour value after a function?
-make player "float" slightly off ground?
-use modTick to alter walking speed for a set time?
-use modTick to create a scripted series of events, several minutes appart?
-prevent hostile mobs from attacking or causing damage?
*ALSO* What is the location of the GUI elements that make up the frame around your User Name on the in-game "Options" screen?
I am 95% done a very, uh... different mod. I am eager to release it. Some people will hate it. Some people will love it. I could release it now, but I'd like to get it all "perfect" first. Thanks in advance, and stay tuned!
Also, I made 7 small script mods, saved as .js files. They all work fine as separate scripts, but when I add all the functions into a single big .js file, NOTHING works. I am learning Javascript as I learn MC mods, so I assume I am missing something pretty basic here.
After a few weeks of learning ModPE scripts I have some questions. Is it possible to:
-get "sleep" command without a bed?
-addItemInventory after eating a FoodItem?
-use "smoke" animations from Torch, Mob-death, or Camera?
-change armour value after a function?
-make player "float" slightly off ground?
-use modTick to alter walking speed for a set time?
-use modTick to create a scripted series of events, several minutes appart?
-prevent hostile mobs from attacking or causing damage?
*ALSO* What is the location of the GUI elements that make up the frame around your User Name on the in-game "Options" screen?
I am 95% done a very, uh... different mod. I am eager to release it. Some people will hate it. Some people will love it. I could release it now, but I'd like to get it all "perfect" first. Thanks in advance, and stay tuned!
Floating player is possible: keep setting the player Y velocity to zero
The singleplayer commands script includes an autosprint method - just enable/disable as needed
Scripted events are possible with modTick
Others probably can't be done
As for merging scripts: you actually need to merge your methods - you can't define two functions with the same name, so you can't have e.g. two modticks.
-get "sleep" command without a bed?
-addItemInventory after eating a FoodItem?
-use "smoke" animations from Torch, Mob-death, or Camera?
-change armour value after a function?
-make player "float" slightly off ground?
-use modTick to alter walking speed for a set time?
-use modTick to create a scripted series of events, several minutes appart?
-prevent hostile mobs from attacking or causing damage?
*ALSO* What is the location of the GUI elements that make up the frame around your User Name on the in-game "Options" screen?
I am 95% done a very, uh... different mod. I am eager to release it. Some people will hate it. Some people will love it. I could release it now, but I'd like to get it all "perfect" first. Thanks in advance, and stay tuned!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
Any help is appreciated!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumFloating player is possible: keep setting the player Y velocity to zero
The singleplayer commands script includes an autosprint method - just enable/disable as needed
Scripted events are possible with modTick
Others probably can't be done
As for merging scripts: you actually need to merge your methods - you can't define two functions with the same name, so you can't have e.g. two modticks.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy