1

Increase Tnt Duration

bastiao09's Avatar bastiao097/18/13 3:30 pm
7/19/2013 7:03 pm
bastiao09's Avatar bastiao09
Hey Guys Bastion here,

I have a little problem , i´m trying to do a map and i want to increase Tnt duration without mods.I have looked for McEdit Filters , and try to learn use NbtEdit.

If Someone can help me figure out i will be really happy

Bastion out ,
Posted by bastiao09's Avatar
bastiao09
Level 42 : Master Pokemon
17

Create an account or sign in to comment.

12

bastiao09
07/19/2013 7:03 pm
Level 42 : Master Pokemon
bastiao09's Avatar
Thanks it worked!Really thanks =D

(btw i have tried your Ender Mod really good mod )
1
bastiao09
07/19/2013 6:44 pm
Level 42 : Master Pokemon
bastiao09's Avatar
Gonna try
1
bastiao09
07/19/2013 8:24 am
Level 42 : Master Pokemon
bastiao09's Avatar
but where i paste that xD
1
nickfromgreece
07/19/2013 11:27 am
Level 54 : Grandmaster Programmer
nickfromgreece's Avatar
download a NBT editor mod or something and add the NBT tag "Fuse" withotu quotes
and as value put ex: 20.0
20.0 = 1 second

do the rest of the calculations

WARNING: it must be an already spawned ENTITY(you can add it to a tnt entity spawner.. maybe???)
1
bastiao09
07/19/2013 8:03 am
Level 42 : Master Pokemon
bastiao09's Avatar
Thanks!
1
nickfromgreece
07/19/2013 7:10 am
Level 54 : Grandmaster Programmer
nickfromgreece's Avatar
Actually you CAN!

/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
protected void writeEntityToNBT(NBTTagCompound par1NBTTagCompound)
{
par1NBTTagCompound.setByte("Fuse", (byte)this.fuse);
}


All you need to do is set the Fuse NBT tag to the one you want (default is 80 (ticks) 20 ticks = 1 second)
1
gusgus
07/19/2013 7:06 am
Level 30 : Artisan Archer
gusgus's Avatar
You can't change a tnt block's fuse length, however you can change a tnt entity's fuse length...
1
nickfromgreece
07/19/2013 7:04 am
Level 54 : Grandmaster Programmer
nickfromgreece's Avatar
I think the fuse lengh is hardcoded into the code... sorry
1
bastiao09
07/19/2013 6:47 am
Level 42 : Master Pokemon
bastiao09's Avatar
bump
1
bastiao09
07/18/2013 4:21 pm
Level 42 : Master Pokemon
bastiao09's Avatar
noone knows?xD
1
bastiao09
07/18/2013 3:50 pm
Level 42 : Master Pokemon
bastiao09's Avatar
thx will google it!

But im still open with sugestions!
1
VeryMadCrafter
07/18/2013 3:38 pm
Level 69 : High Grandmaster Meme
VeryMadCrafter's Avatar
Newest minecraft versions have Nbt tags for certain items, which you can modify with special applications. They will still work in vanilla (I really know nothing about them). I dont know if tnt have these tags, but you can google it.
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome