What happened? Did it crashed? You now that it only replaces stone and not air with ore, maybe it generates ore, but you can´t see it
This Is Crush
org.mozilla.javascript.EcmaError: ReferenceError: "setTile2" is not defined. (New Set Of Everything Upgraded.js#484)
at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.notFoundError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(Unknown Source)
at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
at script(New Set Of Everything Upgraded.js:484)
at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
at org.mozilla.javascript.InterpretedFunction.exec(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager.initJustLoadedScript(ScriptManager.java:261)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:187)
at java.lang.Thread.run(Thread.java:841)
Rollback Post to RevisionRollBack
Hey, There
Check Out My YT Channel And Dont Forget To Subscribe
http://bit.ly/1oDas1b
Also I Have A Website, There Are Lots Of Things There
This Is Crush
org.mozilla.javascript.EcmaError: ReferenceError: "setTile2" is not defined. (New Set Of Everything Upgraded.js#484)
[...]
If you don´t have this function in your Mod, paste it. If you have this function override it with this, I forgot a e, sorry
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
if(Level.getTile(p1, p2, p3)==1){ //if there, where the ore should be placed, is stone...
Level.setTile(p1, p2, p3, p4, p5);
}
}
If you don´t have this function in your Mod, paste it. If you have this function override it with this, I forgot a e, sorry
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
if(Level.getTile(p1, p2, p3)==1){ //if there, where the ore should be placed, is stone...
Level.setTile(p1, p2, p3, p4, p5);
}
}
Yeah I Didnt Have That But When I Pasted where it should be I got another error when I uploaded it
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
org.mozilla.javascript.EvaluatorException: missing ; before statement (New Set Of Everything Upgraded.js#484)
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.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.autoInsertSemicolon(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(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:186)
at java.lang.Thread.run(Thread.java:841)
Rollback Post to RevisionRollBack
Hey, There
Check Out My YT Channel And Dont Forget To Subscribe
http://bit.ly/1oDas1b
Also I Have A Website, There Are Lots Of Things There
Yeah I Didnt Have That But When I Pasted where it should be I got another error when I uploaded it
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
org.mozilla.javascript.EvaluatorException: missing ; before statement (New Set Of Everything Upgraded.js#484)
[...]
I changed some things, I removed double hooks (attackHook and modTick), and added the code to generate tin and lead and added some variables, so you can easier change how it generates ore (vein size, heigh, etc.).
But I was to lazy to try it, and it´s normal that it crashes without a texture pack.
When you are in an area for the first time you have a little lag, yes, but when you walk where ore has already been generated it won´t generate it twice and you have no lags. It´s not 100% precent lag free, that´s not possible with ModPE, but it prevents lags as much as possible.
I changed some things, I removed double hooks (attackHook and modTick), and added the code to generate tin and lead and added some variables, so you can easier change how it generates ore (vein size, heigh, etc.).
But I was to lazy to try it, and it´s normal that it crashes without a texture pack.
Can you actually put them as downloadable pdf files or txt files? Some devices like mine can't select/or copy that.
Its Not Working.
Happy Minecraft 0.14
I added a download as .js-file.
http://1drv.ms/1QFm12E
What happened? Did it crashed? You now that it only replaces stone and not air with ore, maybe it generates ore, but you can´t see it?
Look, I Tryed It In My Mod And When I Uploaded It To BL It Had Tons Of Crashes
And In Which U Change Veins, I Really Need Them
This Is Crush
org.mozilla.javascript.EcmaError: ReferenceError: "setTile2" is not defined. (New Set Of Everything Upgraded.js#484)
at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.constructError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.notFoundError(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.getNameFunctionAndThis(Unknown Source)
at org.mozilla.javascript.Interpreter.interpretLoop(Unknown Source)
at script(New Set Of Everything Upgraded.js:484)
at org.mozilla.javascript.Interpreter.interpret(Unknown Source)
at org.mozilla.javascript.InterpretedFunction.call(Unknown Source)
at org.mozilla.javascript.ContextFactory.doTopCall(Unknown Source)
at org.mozilla.javascript.ScriptRuntime.doTopCall(Unknown Source)
at org.mozilla.javascript.InterpretedFunction.exec(Unknown Source)
at net.zhuoweizhang.mcpelauncher.ScriptManager.initJustLoadedScript(ScriptManager.java:261)
at net.zhuoweizhang.mcpelauncher.ScriptManager$ParseThread.run(ScriptManager.java:187)
at java.lang.Thread.run(Thread.java:841)
If you don´t have this function in your Mod, paste it. If you have this function override it with this, I forgot a e, sorry
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
if(Level.getTile(p1, p2, p3)==1){ //if there, where the ore should be placed, is stone...
Level.setTile(p1, p2, p3, p4, p5);
}
}
Yeah I Didnt Have That But When I Pasted where it should be I got another error when I uploaded it
setTile2(p1, p2, p3, p4, p5){ //This function gives more possibilities to place ore, in this case it only places ore when it destroys Stone for that
org.mozilla.javascript.EvaluatorException: missing ; before statement (New Set Of Everything Upgraded.js#484)
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.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.reportError(Unknown Source)
at org.mozilla.javascript.Parser.autoInsertSemicolon(Unknown Source)
at org.mozilla.javascript.Parser.statementHelper(Unknown Source)
at org.mozilla.javascript.Parser.statement(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:186)
at java.lang.Thread.run(Thread.java:841)
Did you forget
;
in line 484?
HHere Right
setTile2(p1, p2, p3, p4, p5);{
}
If Like This, Then I Get Erroe "setTile2" Is Not Defined
What The Hack Shouls I Do
I don´t know, can you pm me your code?
Bro, Its Too Big, Im Gonna Upload And Send U A Link, But U Have To Have G r eta Phone, Its Crushing In Mine
Okay, This Is Java Script Of My Mod And No Texture Becouse Its Not Fully Finished...
D-D-D-Dropped : https://www.dropbox.com/s/zrfb9htxjjrd4qv/New Set Of Everything Upgraded.js?dl=0
I changed some things, I removed double hooks (attackHook and modTick), and added the code to generate tin and lead and added some variables, so you can easier change how it generates ore (vein size, heigh, etc.).
But I was to lazy to try it, and it´s normal that it crashes without a texture pack.
https://www.dropbox.com/s/0y1kvk8i8n73kvi/New Set Of Everything Upgraded.js?dl=0
When you are in an area for the first time you have a little lag, yes, but when you walk where ore has already been generated it won´t generate it twice and you have no lags. It´s not 100% precent lag free, that´s not possible with ModPE, but it prevents lags as much as possible.
Still The Same Crash, "setTile1(...){
} Missing ; Before Statement...
Whats Wrong With This OreGen???
I removed setTile2(), does it work now? (Same download link.)
No U DDidnt, It Wasnt Removed, I RRemoved
setTile2(...){
}
BUT ONLY THAT, Now It Gives Me Error "p1"IS NOT DEFINED
Did you downloaded it again after I posted that I removed setTile2()?
NONE OF YOUR DOWNLOAD LINKS HAVE "setTile2" Removed,Pls Che k It Agai. AND Then Send Me real dow load link
I meant this link
https://www.dropbox.com/s/0y1kvk8i8n73kvi/New Set Of Everything Upgraded.js?dl=0