Is that all? It doesn't seem to work. The script generated itself OK, but the redstone doesn't drop anything. Thanks for your help, BTW...
It gave me a script ID of 10884 if you want to try.
Yup, that might be it! Ha... will check. Does the syntax matter if it includes spaces, like in the suggestion? Thanks!
Didn't work. Either mining (holding down) or hitting (tapping) doesn't make the redstone drop anything, or add anything to my inventory. Thoughts?
Thanks!
It works! Yeah, maybe I uh... forgot to turn the script on. Ha... ... yeah. But it give me nether reactor cores. I gotta check the item numbers...
I appreciate all your help. I would like the random amount if possible.
I also tried to make it so mining with a pick axe drops the Item, not just tapping it. No luck so far there. Any ideas?
I appreciate all your help. I would like the random amount if possible.
I also tried to make it so mining with a pick axe drops the Item, not just tapping it. No luck so far there. Any ideas?
It Would Take Forever (I don't know if there is a way around it) but you could go through and make it Where it breaks it and it recognizes it as that block and use the addItemInventory function. If that makes sense?
It Would Take Forever (I don't know if there is a way around it) but you could go through and make it Where it breaks it and it recognizes it as that block and use the addItemInventory function. If that makes sense?
That is exactly my plan. I'll post when its working.
function destroyBlock(x, y, z, side) {
if(getTile(x, y, z)==73 || getTile(x, y, z)==74 && getCarriedItem()==278||getCarriedItem()==257) {
dropItem(x, y, z, 0, 246, 1, 0);
}
}
This will make it work perfectly, mine redstone ore with either pick, drops an item of glowing obsidian
ONLY WORKS ON ANDROID iOS has nowhere near the same amount of functions or callbacks as Android
No, its not working for me...
Android 4.1.2, Samsung Rugby LTE (2x 1.5GHz)
MCPE 0.7.5.
BlockLauncher 1.4.4
Survival Mode.
Tried Iron Pickaxe and Diamond Pickaxe.
No, its not working for me...
Android 4.1.2, Samsung Rugby LTE (2x 1.5GHz)
MCPE 0.7.5.
BlockLauncher 1.4.4
Survival Mode.
Tried Iron Pickaxe and Diamond Pickaxe.
Ideas, anyone? Thanks!
Sorry, where I've typed dropItem() should be Level.dropItem() with the same parameters as before.
I forgot zhuowei's making everything OOP!! (Which the syntax actually more represents namespacing, but treebl said it was intended to be Object-Oriented) lolol
Rollback Post to RevisionRollBack
Back to modding! Follow me on Twitter @byteandahalf
Makes sense. I wan't sure about dropItem...
To be honest, this trial and error method has taught me some good problem solving. Thanks again for all your help!
Hmm, still issues...
In your post about the functions list, you said the old dropItem() was function dropItem(x,y,z,id,count,damage)
and the script you suggested for me earlier had dropItem(x, y, z,0,246,1,0);
Is that first "0" wrong? Seems like an extra value, which would make it drop nothing. Is this the problem?
Thanks!
EDIT: I tried without the first 0. Still not working.
function destroyBlock(x, y, z, side) {
if(getTile(x, y, z)==73 || getTile(x, y, z)==74 && getCarriedItem()==278||getCarriedItem()==257) {
Level.dropItem(x, y, z, 0, 246, 1, 0);
}
}
Use Iron or Diamond Pickaxe to mine Redstone Ore and drop 1x Glowing Obsidian. Thanks to everyone who helped! This makes Redstone Ore useful for now. The Glowing Obsidian makes a dim light, and works well as a marker when doing lots of mining.
Can someone tell me where to find this script? Or tell me the treebl Repo number? Thanks!
Or, can someone make (another) mod that makes Redstone Ore drop some Glowing Obsidian?
Either way, thank you!!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
I actually JUST started playing with the editor like two hours ago. Thanks again!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
It gave me a script ID of 10884 if you want to try.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
Yup, that might be it!Ha...will check.Does the syntax matter if it includes spaces, like in the suggestion? Thanks!Didn't work. Either mining (holding down) or hitting (tapping) doesn't make the redstone drop anything, or add anything to my inventory. Thoughts?Thanks!
It works! Yeah, maybe I uh... forgot to turn the script on. Ha... ... yeah. But it give me nether reactor cores. I gotta check the item numbers...
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
I also tried to make it so mining with a pick axe drops the Item, not just tapping it. No luck so far there. Any ideas?
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
That is exactly my plan. I'll post when its working.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
function destroyBlock(x, y, z, side) { if(getTile(x, y, z)==73 || getTile(x, y, z)==74 && getCarriedItem()==278||getCarriedItem()==257) { dropItem(x, y, z, 0, 246, 1, 0); } }This will make it work perfectly, mine redstone ore with either pick, drops an item of glowing obsidian
ONLY WORKS ON ANDROID iOS has nowhere near the same amount of functions or callbacks as Android
Back to modding! Follow me on Twitter @byteandahalf
I would have got it sooner or later. Well, later for sure haha. Thanks!
EDIT: It doesn't seem to work so far. I just pasted it into the script editor... ideas?
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
Android 4.1.2, Samsung Rugby LTE (2x 1.5GHz)
MCPE 0.7.5.
BlockLauncher 1.4.4
Survival Mode.
Tried Iron Pickaxe and Diamond Pickaxe.
Ideas, anyone? Thanks!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
I forgot zhuowei's making everything OOP!! (Which the syntax actually more represents namespacing, but treebl said it was intended to be Object-Oriented) lolol
Back to modding! Follow me on Twitter @byteandahalf
To be honest, this trial and error method has taught me some good problem solving. Thanks again for all your help!
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
In your post about the functions list, you said the old dropItem() was function dropItem(x,y,z,id,count,damage)
and the script you suggested for me earlier had dropItem(x, y, z, 0, 246, 1, 0);
Is that first "0" wrong? Seems like an extra value, which would make it drop nothing. Is this the problem?
Thanks!
EDIT: I tried without the first 0. Still not working.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
After updating to the newest blocklauncher today, the drop works!!
Thanks again. This mod has been figured out.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy
function destroyBlock(x, y, z, side) { if(getTile(x, y, z)==73 || getTile(x, y, z)==74 && getCarriedItem()==278||getCarriedItem()==257) { Level.dropItem(x, y, z, 0, 246, 1, 0); } }Use Iron or Diamond Pickaxe to mine Redstone Ore and drop 1x Glowing Obsidian. Thanks to everyone who helped! This makes Redstone Ore useful for now. The Glowing Obsidian makes a dim light, and works well as a marker when doing lots of mining.
http://www.minecraftforum.net/forums/minecraft-pocket-edition/mcpe-mods-tools/2610428-0-13-emeraldcraft-metalurgic-gems-alchemy