Jump to content

  • Curse Sites
Become a Premium Member! Help
Latest News Article

Minecraft PE TNT


  • Please log in to reply
49 replies to this topic

#1

justin804

Posted 25 September 2011 - 05:32 PM

Heyo,

I have the Xperia Play with MC PE. But I dont have a TNT block. Like in this video:



Anyone know how to get it or something, or maybe its not available? I have the full version of the game.

thanks.

Register or log in to remove.

#2

Posipi4
    Posipi4

    Iron Miner

  • Members
  • 327 posts
  • Location: Australia, Sydney
  • Minecraft: Posipi4

Posted 26 September 2011 - 01:49 PM

I thin kits because of the high cpu usage or something that makes laggs if you let explode too much
Proud member of Akatsuki and the Fumetsu Squad
Posted Image

#3

Dr_Oshawott

Posted 29 September 2011 - 11:04 PM

View PostPosipi4, on 26 September 2011 - 01:49 PM, said:

I thin kits because of the high cpu usage or something that makes laggs if you let explode too much
What he/she said.

SID: http://steamcommunit...shaoshaoshawott

Pokemon Black Team: Emboar Lvl. 60 | Semisage Lvl. 54 | Swanna Lvl. 53 | Haxorus Lvl. 60 | Confagrigus Lvl. 51 | Krookodile Lvl. 57


#4

blakeman1
    blakeman1

    Obsidian Miner

  • Members
  • 1368 posts

Posted 30 September 2011 - 01:11 AM

Look in the top left corner... "This is a demo, not the finished product."
Posted Image
||   Rules or Bust!  ||

#5

justin804

Posted 02 October 2011 - 03:12 PM

Okay thanks  :rolleyes:

#6

SomeThing100

Posted 06 October 2011 - 12:26 PM

View Postjustin804, on 25 September 2011 - 05:32 PM, said:

Heyo,

I have the Xperia Play with MC PE. But I dont have a TNT block. Like in this video:



Anyone know how to get it or something, or maybe its not available? I have the full version of the game.

thanks.
they didnt release tnt in it because of lagg issues
<a href="http://www.danasoft....asoft.com"><img src="http://www.danasoft....m/vipersig.jpg" border="0"></a><p><div style="font-family:Arial,sans-serif;font-size:11px;">Sign by Danasoft - <a href="http://www.danasoft.com">Get Your Sign</a></p></div>

#7

shaneomacmcgee
  • Minecraft: shaneomacmcgee

Posted 07 October 2011 - 01:10 AM

Do we know if they plan on adding it at any point?

#8

frumbert
    frumbert

    Redstone Miner

  • Members
  • 651 posts
  • Location: Coffs Harbour, Australia
  • Minecraft: Frumbert

Posted 07 October 2011 - 02:23 AM

Exploding TNT makes the battery pop out of the phone
No, I will not subscribe to your channel because you asked... but I might if it's *good*.

#9

500 Internal Server Error
  • Location: Test.neverCallThis() (Test.java:42)
  • Minecraft: zhuowei

Posted 08 October 2011 - 01:49 AM

The Pocket Edition seems to use the same item IDs as the desktop version, and I might be able to hack in some TNT in a game save. Plus, there's still strings referring to primed tnt, so maybe it was left in.

#10

Aviin
    Aviin

    Carpenter

  • Members
  • 60 posts
  • Minecraft: Aviin

Posted 08 October 2011 - 02:34 AM

Bought it today and noticed how many blocks were missing.  I have successfully hacked a save to get other blocks, including TNT (if anyone knows how to make it explode in PE, please tell me :P).

I would expect to see an inventory editor for PE soon (if not, perhaps I'll whip one up myself, though since I have no experience with writing Android apps, it would be for Windows...)  Until such time as that, here's how to do it, bearing in mind I've only just done this all of ten minutes ago so I've not thoroughly explored damage numbers and whatnot.  Also, be warned that you could potentially damage your save doing this...

- Get a hex editor if you don't already have one (Protip:  Google is your friend).
- Access your Android device's SD card through whatever means your prefer (Droid X for me connected via USB to my PC)
- Browse to the \games\com.mojang\YourWorldName folder
- Open player.dat with your hex editor
- The block ID's of the three toolbar slots are located at addresses 34, 38, and 3C.  I've had no luck in my one attempt at changing the block in the first slot (at address 34) though perhaps in my haste I did something screwy.

You'll note that the three slots are separated by a few empty addresses (or perhaps they would hold damage data; again, I've not tested, but it does seem likely).

Refer to the wiki for block IDs.  Keep in mind that the ID's are stored in hex.  TNT's ID, for example, is 2E in hex.  As I said, there are empty bytes between each slot.  So suppose you do want that TNT...  Change address 38 to 2E, and make sure that 39, 3A, and 3B are all 00.  You'd then have TNT in your second inventory slot.

Screenshot for proof in a few minutes :P

*** EDIT ***

Here's the proof.  TNT and bedrock in inventory and on the ground:

Posted Image

#11

500 Internal Server Error
  • Location: Test.neverCallThis() (Test.java:42)
  • Minecraft: zhuowei

Posted 08 October 2011 - 02:51 AM

View PostAviin, on 08 October 2011 - 02:34 AM, said:

Bought it today and noticed how many blocks were missing.  I have successfully hacked a save to get other blocks, including TNT (if anyone knows how to make it explode in PE, please tell me :P).
You have just won the internet. That's amazing.
As for the extra data, maybe they were for the Sony Xperia Play edition, which has 8 item slots.
What about fire, farmland, and redstone/diamond/lapis ore? They seem to be mentioned as variable names in the strings of the game file.

#12

Aviin
    Aviin

    Carpenter

  • Members
  • 60 posts
  • Minecraft: Aviin

Posted 08 October 2011 - 03:08 AM

View Post500 Internal Server Error, on 08 October 2011 - 02:51 AM, said:

You have just won the internet. That's amazing.

Nice!  Thanks :P

*** FINAL EDIT (I hope) ***

To make a long story short, I cross-referencing gui_blocks.png from the APK with the in-game block selection window along with a little old-fashioned experimentation to identify what I believe are all of the blocks that can be found or placed in Minecraft PE.  Here is a master list including block IDs.  Note that they correspond with desktop edition's IDs with the exception of wool.

Green entries are normally obtainable.
Red entries are obtainable through hacking.

Stone: 01
Grass:  02
Dirt:  03
Cobblestone:  04
Wooden Plank  05
Bedrock:  07
Flowing Water:  08 (having it in slot 2 makes the icon in slot one bugged but it will still place correctly)
Stationary Water:  09 (also bugs other inventory icons)
Flowing Lava: 0A (also bugs other inventory icons)
Stationary Lava: 0B (also bugs other inventory icons)
Sand:  0C
Gravel:  0D
Gold Ore:  0E
Iron Ore:  0F
Coal Ore:  10
Wood:  11
Leaves:  12
Glass: 14
Lapis Lazuli Ore:  15
Sandstone:  18
Black Wool:  23 and 65 (either value works)
Yellow Flower:  25
Blue Flower:  26
Brown Mushroom:  27
Red Mushroom:  28
Gold Block:  29
Iron Block:  2A
Double Slab:  2B (has the top texture on all sides in inventory but places as a normal double stone slab)
Stone Slab: 2C
Brick Block: 2D
TNT:  2E (cannot be primed)
Obsidian: 31
Torch: 32
Fire: 33 (does not seem to actually place down but does cause smoke particles very briefly when you attempt to place it)
Wooden Stairs: 35
Diamond Ore:  38
Diamond Block:  39
Farmland:  3C (works just like desktop edition, saturating when near water as well as drying out back to dirt when away from water or when walked on too much; water flows down the sides of it if placed in water in a manner similar to what glass does; PE's autojump does not appear to work when colliding with farmland)
Wooden Door:  40 (bottom half of the door only; opens and closes normally)
Ladder:  41
Cobblestone Stairs:  43
Iron Door:  47 (bottom half of the door only; will not open or close, presumably due to the lack of redstone powering it)
Redstone Ore:  49 and 4A (both seem to behave the same, giving off particle effects when struck but no light)
Snow:  4E (snow "slab" rather than the full snow block)
Ice:  4F (like desktop edition in pretty much every way; melts when near lava and turns to water source, slippery, etc.)
Clay:  52
Sugar Cane:  53
Red Wool:  66
Green Wool:  67
Brown Wool:  68
Blue Wool:  69
Purple Wool:  6A
Cyan Wool:  6B
Light Gray Wool:  6C
Gray Wool:  6D
Pink Wool:  6E
Lime Wool:  6F
Yellow Wool:  70
Light Blue Wool:  71
Magenta Wool:  72
Orange Wool: 73

Note that lava doesn't seem to burn anything except the player (weird stationary flame appears on the player but since it is creative mode, obviously it does not hurt you).  A possible exception to this is TNT, which seems to be consumed after awhile (at least I think it was) without causing it to explode.  Water and lava interact as in the desktop edition, creating cobblestone or obsidian depending on circumstance.

#13

eatmybiglazer

Posted 08 October 2011 - 05:30 AM

View PostAviin, on 08 October 2011 - 03:08 AM, said:

LONG AWESOME ANALYSIS

This is great stuff! I might look into creating an app to swap in those excluded blocks, although who knows how long it would be needed before an update allows the blocks anyway?

#14

OSX2000
    OSX2000

    Glowstone Miner

  • Members
  • 3082 posts
  • Location: World1
  • Minecraft: OSX2000

Posted 08 October 2011 - 06:10 AM

Friggin AWESOME discovery, Aviin!!! Is hacked-in TNT functional, or is this strictly creative play with nothing but solid useless blocks?

500 Internal Server Error, your username is epic! Only thing that would've been better here is if you named yourself 502 Gateway Error. :P
Posted Image

#15

Aviin
    Aviin

    Carpenter

  • Members
  • 60 posts
  • Minecraft: Aviin

Posted 08 October 2011 - 06:18 AM

View Posteatmybiglazer, on 08 October 2011 - 05:30 AM, said:

This is great stuff! I might look into creating an app to swap in those excluded blocks, although who knows how long it would be needed before an update allows the blocks anyway?

Possibly true, but an Android-native app would be epic.  In the meantime, I did just download a hex editor on the market, allowing for blocks to be swapped out right from your Android device.  You need to be rooted, however, at least for the one I grabbed (description of the app on AndroLib)

View PostOSX2000, on 08 October 2011 - 06:10 AM, said:

Friggin AWESOME discovery, Aviin!!! Is hacked-in TNT functional, or is this strictly creative play with nothing but solid useless blocks?

I'm guessing you responded before my final edit :P.  No, it cannot be primed by any method I can discover. :(

Thanks to everyone for the compliments.  Glad I could be helpful :).

#16

500 Internal Server Error
  • Location: Test.neverCallThis() (Test.java:42)
  • Minecraft: zhuowei

Posted 08 October 2011 - 10:27 AM

View PostAviin, on 08 October 2011 - 03:08 AM, said:

Nice!  Thanks :P

*** FINAL EDIT (I hope) ***

To make a long story short, I cross-referencing gui_blocks.png from the APK with the in-game block selection window along with a little old-fashioned experimentation to identify what I believe are all of the blocks that can be found or placed in Minecraft PE.  Here is a master list including block IDs.  Note that they correspond with desktop edition's IDs with the exception of wool.

What about item IDs? Maybe they are stored in little-endian order, with the smallest digits first. Try entering, for example, 0x44 and 0x01 and see if you get the door item.

By the way, I decided to follow the instructions at http://wiki.multimed...p?title=Objdump to disassemble the libminecraftpe.so using the Objdump program from the Android sdk. I can't understand the resulting assembler, but I uploaded it as well as the output of strings on it here in case anyone could figure it out.

#17

RyanISan
    RyanISan

    Zombie Killer

  • Members
  • 185 posts

Posted 08 October 2011 - 10:47 AM

View Post500 Internal Server Error, on 08 October 2011 - 10:27 AM, said:

What about item IDs? Maybe they are stored in little-endian order, with the smallest digits first. Try entering, for example, 0x44 and 0x01 and see if you get the door item.

While that would make sense, unfortunately doing so results in a crash for me.

EDIT: Nor does it store the items in 2 bytes the other way (01 44)...it would seem that they're definitely only 1 byte for the time being.
GENERATION 20: The first time you see this, copy it into your sig on any forum and add 1 to the generation. Social experiment.

#18

MineZ0R
    MineZ0R

    Carpenter

  • Members
  • 53 posts
  • Location: Germany
  • Minecraft: MineZ0R

Posted 08 October 2011 - 03:35 PM

Thanks for the instructions :)

I used Tuba's Hex Editor, didn't need to root for that!
https://market.andro...e=search_result

Love the broken doors. When you put a door right next to a door, both disappear :D

Posted Image

#19

Aviin
    Aviin

    Carpenter

  • Members
  • 60 posts
  • Minecraft: Aviin

Posted 08 October 2011 - 04:31 PM

View PostMineZ0R, on 08 October 2011 - 03:35 PM, said:

Thanks for the instructions :)

I used Tuba's Hex Editor, didn't need to root for that!
https://market.andro...e=search_result

That's actually the same hex editor I used.  I assumed it needed root because it asked for root privileges.

Glad the instructions were of use to you.

#20

MinecraftDone
  • Location: Minecraft
  • Minecraft: cultcrew

Posted 08 October 2011 - 06:41 PM

Ya Aviin thanks a lot man this is great