Dismiss Notice
Wynncraft, the Minecraft MMORPG. Play it now on your Minecraft client at (IP): play.wynncraft.com. No mods required! Click here for more info...

Commands help.

Discussion in 'Minecraft' started by Tzelofachad, Jul 30, 2024.

Thread Status:
Not open for further replies.
  1. Tzelofachad

    Tzelofachad Owner of the Rift, manager of the Uz hotel

    Messages:
    1,894
    Likes Received:
    1,452
    Trophy Points:
    115
    Guild:
    Minecraft:
    I was trying to make a redstone pachinko game, where tnt is dispensed into the centre of a water stream that flows both ways. Because of how tnt drops out randomly, it would go one way or the other. Then it would fall into another stream, and repeat the process a few times til it ends up in 1 of 4 boxes, and randomly kill everyone in a box. However, because of the short fuse time, i resorted to commands to summon a custom tnt with high enough fuse time to not blow up until it has fallen down. The problem is the random jump doesnt happen with commands. How do i summon a custom tnt entity with a random offset?
     
  2. Bwitty03

    Bwitty03 Famous Adventurer

    Messages:
    917
    Likes Received:
    1,985
    Trophy Points:
    146
    Minecraft:
    idk if that's possible but you could instead use /data to increase the fuse of a dispensed tnt

    /data merge entity @n[type=tnt] {fuse:400}

    ^this one works in 1.21 and affects the nearest tnt entity
     
    downloadableduck likes this.
  3. Tzelofachad

    Tzelofachad Owner of the Rift, manager of the Uz hotel

    Messages:
    1,894
    Likes Received:
    1,452
    Trophy Points:
    115
    Guild:
    Minecraft:
    thank you!
    ________________________________
    it works perfectly!
     
Thread Status:
Not open for further replies.