Seriously? Haha destroyBlock() is the hook that gets called when you break a block, rather than tapping.Whoever doesn't know that has really been missing alot in ModPE, we can do so much more than that now(it's old news) hehe
Rollback Post to RevisionRollBack
Back to modding! Follow me on Twitter @byteandahalf
Haha, actually, with the new use of Java in mods for the addition of GUI's, file modification, and all else, it throws all of these method lists out of place! Hehe there's so much more to it now.
Rollback Post to RevisionRollBack
Back to modding! Follow me on Twitter @byteandahalf
Haha, actually, with the new use of Java in mods for the addition of GUI's, file modification, and all else, it throws all of these method lists out of place! Hehe there's so much more to it now.
Yeah!
ModPE is going to be a lot more usefull, than before.
But only on Android...
Good that I'm on Android
Haha, actually, with the new use of Java in mods for the addition of GUI's, file modification, and all else, it throws all of these method lists out of place! Hehe there's so much more to it now.
well on iOS there arent at all as many functions that you need to kno!
this will (only on Android) make it so that if you punch ant object it will set the block to stone!
YAY
You realise that if you put
function useItem(x, y, z, blockId, itemId, side)
{
if(blockId)
{
setTile(x, y, z, 1);
}
}
//Is equivalent to:
function useItem(x, y, z)
{
setTile(x, y, z, 1);
}
function useItem(x,y,z,itemId,blockId,side)
{
if(blockId) // or: if(blockId==2)
{
setTile(x,y,z,1);
}
}
this will (only on Android) make it so that if you punch ant object it will set the block to stone!
YAY
cool!
what does destroyBlock do?
Back to modding! Follow me on Twitter @byteandahalf
Back to modding! Follow me on Twitter @byteandahalf
Yeah!
ModPE is going to be a lot more usefull, than before.
But only on Android...
Good that I'm on Android
Its starting to look a lot like PC. - Yes I did just steal that really annoying Christmas song.
well on iOS there arent at all as many functions that you need to kno!
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumHow is that better?
It Isnt better, i just got a android... (Samsung Infuse i997)
You realise that if you put
function useItem(x, y, z, blockId, itemId, side) { if(blockId) { setTile(x, y, z, 1); } } //Is equivalent to: function useItem(x, y, z) { setTile(x, y, z, 1); }Lead developer of Dragonet!
Check out my game, Adventuria!
Dev of (IMO the best server ever) TwilightGamez!