The Meaning of Life, the Universe, and Everything.
Location:
Stillwater
Join Date:
9/7/2013
Posts:
55
Member Details
Hello I am wondering how I would spawn a lit TNT block with a command block. I don't want to spawn PrimedTNT I just want to spawn a tnt block that has like just been lit (so it still has to take time to blow up).
Hello I am wondering how I would spawn a lit TNT block with a command block. I don't want to spawn PrimedTNT I just want to spawn a tnt block that has like just been lit (so it still has to take time to blow up).
The lit TNT is the PrimedTnt entity. You need to apply the "Fuse" tag, which defaults to 80 ticks (4 seconds) when you light a TNT block, but defaults to 0 with the /summon command if not included:
The lit TNT is the PrimedTnt entity. You need to apply the "Fuse" tag, which defaults to 80 ticks (4 seconds) when you light a TNT block, but defaults to 0 with the /summon command if not included:
The lit TNT is the PrimedTnt entity. You need to apply the "Fuse" tag, which defaults to 80 ticks (4 seconds) when you light a TNT block, but defaults to 0 with the /summon command if not included:
Minecraft-things: http://skylinerw.com
More Minecraft-things: https://sourceblock.net
Guides for command-related features (eventually moving to Source Block): https://github.com/skylinerw/guides
I primarily hang out in the /r/MinecraftCommands discord, where there's a lot of people that help with commands: https://discord.gg/QAFXFtZ
Their corresponding subreddit: https://www.reddit.com/r/MinecraftCommands/
Ok thanks
I just want to ask how to spawn a tnt that hasn't been lit or activated? I'm having a hard time here so please help me!
should work to spawn a tnt that hasn't been lit or activated.
Thank you
Last updated: 6/23/2016
No. TNT is a block that becomes an entity when lit. So I believe the correct command would be:
/setblock ~ ~ ~ tnt
This is off the top of my head. If it doesn't work, make sure tnt as the block id is correct
████████░░██░░░░░░░░████████░░██░░░░░░██░░████████░░██░░░░░░██░░██████░░░░████████░░██████░░░░░░████░░░░██████░░░░██████████
██░░░░██░░██░░░░░░░░██░░░░░░░░░░██░░██░░░░██░░░░██░░████░░░░██░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░██░░██░░░░██░░░░░░██░░░░
██░░░░██░░██░░░░░░░░██░░░░░░░░░░██░░██░░░░██░░░░██░░██░░██░░██░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░░░░░██░░░░██░░░░░░██░░░░
████████░░██░░░░░░░░████████░░░░░░██░░░░░░████████░░██░░██░░██░░██░░░░██░░████████░░██████░░░░██████░░░░██████░░░░░░░░██░░░░
██░░░░██░░██░░░░░░░░██░░░░░░░░░░██░░██░░░░██░░░░██░░██░░██░░██░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░██░░██░░░░██░░░░░░██░░░░
██░░░░██░░██░░░░░░░░██░░░░░░░░░░██░░██░░░░██░░░░██░░██░░░░████░░██░░░░██░░██░░░░░░░░██░░░░██░░██░░░░██░░██░░░░██░░░░░░██░░░░
██░░░░██░░████████░░████████░░██░░░░░░██░░██░░░░██░░██░░░░░░██░░██████░░░░████████░░██░░░░██░░░░████░░░░██░░░░██░░██████████
How do I make it so it spawns on me and not on the command block?
Dude, this topic is 6 years aged...
Well now that you dig it up (I don't know if it's a correct sentence...), then here you go.
When you enter a command in a command block, it will activate it at the command block position.
But you can change that, with the execute command.
"Execute as @" will make the entity run the function and not the command block
"execute at @" will run the command on the entity position.
So if you want the nearest player from the command block to spawn a tnt on him, you will write
I like trains... OF CHAIN COMMAND BLOCKS !
do /execute at @e[type=player] run summon tnt ~ ~1 ~ {Fuse:80} if u want it to spawn on u