Hi there I'm a bit new to modding but I have been given help if u are an mod maker can you please tell me how to an the picture to an item eg: in my redstone mod I need the normal pic for them instead of being invisible (you should understand ) .
I only have one mod so far more with came soon
PC redstone items mod -
This is my first mod and needs help with the pics of the items ( in game )
V1.0
Screenshots-
Coming soon.
How to work it and what it does -
To get the items at the momment you have to use an inventory editor or too many items mod if it works.
Soon i will get the commands working
What it does -
All it does so far is add the redstone wire and the redstone torch only because its an first vesion .
Hi there I'm a bit new to modding but I have been given help if u are an mod maker can you please tell me how to an the picture to an item eg: in my redstone mod I need the normal pic for them instead of being invisible (you should understand ) .
I only have one mod so far more with came soon
PC redstone items mod -
This is my first mod and needs help with the pics of the items ( in game )
V1.0
Screenshots-
Coming soon.
How to work it and what it does -
To get the items at the momment you have to use an inventory editor or too many items mod if it works.
Soon i will get the commands working
What it does -
All it does so far is add the redstone wire and the redstone torch only because its an first vesion .
Hi there I'm a bit new to modding but I have been given help if u are an mod maker can you please tell me how to an the picture to an item eg: in my redstone mod I need the normal pic for them instead of being invisible (you should understand ) .
I only have one mod so far more with came soon
PC redstone items mod -
This is my first mod and needs help with the pics of the items ( in game )
V1.0
Screenshots-
Coming soon.
How to work it and what it does -
To get the items at the momment you have to use an inventory editor or too many items mod if it works.
Soon i will get the commands working
What it does -
All it does so far is add the redstone wire and the redstone torch only because its an first vesion .
var config = {
org.mozilla.javascript.EvaluatorException: syntax error (8687655#7)
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.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.primaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.memberExpr(Unknown Source)
at org.mozilla.javascript.Parser.unaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.mulExpr(Unknown Source)
at org.mozilla.javascript.Parser.addExpr(Unknown Source)
at org.mozilla.javascript.Parser.shiftExpr(Unknown Source)
at org.mozilla.javascript.Parser.relExpr(Unknown Source)
at org.mozilla.javascript.Parser.eqExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitAndExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitXorExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitOrExpr(Unknown Source)
at org.mozilla.javascript.Parser.andExpr(Unknown Source)
at org.mozilla.javascript.Parser.orExpr(Unknown Source)
at org.mozilla.javascript.Parser.condExpr(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.expr(Unknown Source)
at org.mozilla.javascript.Parser.xmlInitializer(Unknown Source)
at org.mozilla.javascript.Parser.unaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.mulExpr(Unknown Source)
at org.mozilla.javascript.Parser.addExpr(Unknown Source)
at org.mozilla.javascript.Parser.shiftExpr(Unknown Source)
at org.mozilla.javascript.Parser.relExpr(Unknown Source)
at org.mozilla.javascript.Parser.eqExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitAndExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitXorExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitOrExpr(Unknown Source)
at org.mozilla.javascript.Parser.andExpr(Unknown Source)
at org.mozilla.javascript.Parser.orExpr(Unknown Source)
at org.mozilla.javascript.Parser.condExpr(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.expr(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:131)
at java.lang.Thread.run(Thread.java:856)
This mod is not runnable...
There are quite a few things wrong, starting with having so many empty functions.
Next, the split(" "); will take every word after a space and make it into it's own array slot [0], [1], [2], etc.
You would need to do this to fix that:
function procCmd(command)
{
var cmd = command.split(" ");
if(cmd[0] == "redstone")
{
if(cmd[1]=="wire")
{
addItemInventory(55,1);
}
}
}
That will work. But then you have the empty functions....
Simply remove those. They are not needed unless you think they're doing something (which they're not)
Those will only do something if you put code inside the curly brakets ( { and } )Also, you have multiple functions that repeat.
You can only have one useItem function. Two functions can't share a name.Here is the fully fixed code:
//REDSTONE MOD MADE BY KYRA
//V1.0
ModPE.setItem(55,"redstone wire",0,"Redstone wire");
ModPE.setItem(76,"Redstone torch",0,"Redstone torch");
function procCmd(command)
{
var cmd = command.split(" ");
if(cmd[0] == "redstone")
{
if (cmd[1] == "wire")
{
addItemInventory(55,1);
} else if (cmd[1] == "torch")
{
addItemInventory(76,1);
}
}
}
Rollback Post to RevisionRollBack
Willing to work on Android apps or multi-platform games, see profile bio for information.
This mod is not runnable...
There are quite a few things wrong, starting with having so many empty functions.
Next, the split(" "); will take every word after a space and make it into it's own array slot [0], [1], [2], etc.
You would need to do this to fix that:
function procCmd(command)
{
var cmd = command.split(" ");
if(cmd[0] == "redstone")
{
if(cmd[1]=="wire")
{
addItemInventory(55,1);
}
}
}
That will work. But then you have the empty functions....
Simply remove those. They are not needed unless you think they're doing something (which they're not)
Those will only do something if you put code inside the curly brakets ( { and } )
Also, you have multiple functions that repeat.
You can only have one useItem function. Two functions can't share a name.
Here is the fully fixed code:
//REDSTONE MOD MADE BY KYRA
//V1.0
ModPE.setItem(55,"redstone wire",0,"Redstone wire");
ModPE.setItem(76,"Redstone torch",0,"Redstone torch");
function procCmd(command)
{
var cmd = command.split(" ");
if(cmd[0] == "redstone")
{
if (cmd[1] == "wire")
{
addItemInventory(55,1);
} else if (cmd[1] == "torch")
{
addItemInventory(76,1);
}
}
}
I only have one mod so far more with came soon
PC redstone items mod -
This is my first mod and needs help with the pics of the items ( in game )
V1.0
Screenshots-
Coming soon.
How to work it and what it does -
To get the items at the momment you have to use an inventory editor or too many items mod if it works.
Soon i will get the commands working
What it does -
All it does so far is add the redstone wire and the redstone torch only because its an first vesion .
*Note*
If you find bugs tell me
Download - (copy the website url and paste into blocklauncher)
https://gist.github....tms mod by kyra
org.mozilla.javascript.EvaluatorException: syntax error (8687655#7)
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.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.primaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.memberExpr(Unknown Source)
at org.mozilla.javascript.Parser.unaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.mulExpr(Unknown Source)
at org.mozilla.javascript.Parser.addExpr(Unknown Source)
at org.mozilla.javascript.Parser.shiftExpr(Unknown Source)
at org.mozilla.javascript.Parser.relExpr(Unknown Source)
at org.mozilla.javascript.Parser.eqExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitAndExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitXorExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitOrExpr(Unknown Source)
at org.mozilla.javascript.Parser.andExpr(Unknown Source)
at org.mozilla.javascript.Parser.orExpr(Unknown Source)
at org.mozilla.javascript.Parser.condExpr(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.expr(Unknown Source)
at org.mozilla.javascript.Parser.xmlInitializer(Unknown Source)
at org.mozilla.javascript.Parser.unaryExpr(Unknown Source)
at org.mozilla.javascript.Parser.mulExpr(Unknown Source)
at org.mozilla.javascript.Parser.addExpr(Unknown Source)
at org.mozilla.javascript.Parser.shiftExpr(Unknown Source)
at org.mozilla.javascript.Parser.relExpr(Unknown Source)
at org.mozilla.javascript.Parser.eqExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitAndExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitXorExpr(Unknown Source)
at org.mozilla.javascript.Parser.bitOrExpr(Unknown Source)
at org.mozilla.javascript.Parser.andExpr(Unknown Source)
at org.mozilla.javascript.Parser.orExpr(Unknown Source)
at org.mozilla.javascript.Parser.condExpr(Unknown Source)
at org.mozilla.javascript.Parser.assignExpr(Unknown Source)
at org.mozilla.javascript.Parser.expr(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:131)
at java.lang.Thread.run(Thread.java:856)
There are quite a few things wrong, starting with having so many empty functions.
Next, the split(" "); will take every word after a space and make it into it's own array slot [0], [1], [2], etc.
You would need to do this to fix that:
function procCmd(command) { var cmd = command.split(" "); if(cmd[0] == "redstone") { if(cmd[1]=="wire") { addItemInventory(55,1); } } }That will work. But then you have the empty functions....
Simply remove those. They are not needed unless you think they're doing something (which they're not)
Those will only do something if you put code inside the curly brakets ( { and } )Also, you have multiple functions that repeat.
You can only have one useItem function. Two functions can't share a name.Here is the fully fixed code:
//REDSTONE MOD MADE BY KYRA //V1.0 ModPE.setItem(55,"redstone wire",0,"Redstone wire"); ModPE.setItem(76,"Redstone torch",0,"Redstone torch"); function procCmd(command) { var cmd = command.split(" "); if(cmd[0] == "redstone") { if (cmd[1] == "wire") { addItemInventory(55,1); } else if (cmd[1] == "torch") { addItemInventory(76,1); } } }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
Thank you so much =)
No problem.
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
Hello, parking meter!
Thank you =)
Btw how do you put the texture of an item in??