mojira.dev
MCPE-148826

When lit, TNT always jumps in the same direction.

When TNT is lit, it's supposed to hop in a random direction (as evidenced by the fact that it hops in any direction at all, and observed behavior in the Java edition of the game). However, when TNT is lit or fired from a dispenser, it always hops the same distance in the north direction.

To reproduce, simply go into a creative world and light multiple TNT at once (doesn't matter if you use Flint and Steel or Redstone), and they will all jump in the same direction (north). You can also observe this happening if you fire TNT out of a dispenser at any angle.

To study the problem deeper, I used /tp ~~~ 0 (which sets the player's yRot value to 0) and it makes you face north, the same direction that TNT always hops in. This means that the game considers North to be the direction associated with an angle of 0. This implies that the issue with TNT is simply some missing or broken randomizer code that returns 0 instead of a random number between 0 and 365 when the TNT asks for a direction to jump in. Hopefully, this insight is helpful for a quick and easy fix to this issue.

Comments 4

Thank you for your report!
However, this issue has been temporarily closed as Awaiting Response

Is this still an issue in the latest version? If so, can you please add it to the affected versions (or mention it if you are not the reporter).

Also, just a reminder, to make your bug report as effective as possible, please try and include the following steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Sorry for not replying earlier, I haven't been on this site in a while. This issue still affects the current release version (1.18.12), but it has been fixed in Minecraft Preview. Not sure which version of preview it was first fixed, but it's definitely fixed in the latest version (1.19.0.21).

Edit: after digging through changelogs, I figured out that this issue was fixed in beta 1.18.20.21, which came out Jan 27 (only 4 days after this bug report was submitted). Why hasn't the fix moved over to release versions yet?

⚠️ Please do not add Affected Versions to resolved reports.

Have a look at the Resolution and the comments to see why this ticket has been resolved. If you think this ticket has been resolved erroneously you can contact the Mojira staff on Discord or Reddit.

-- I am a bot. This action was performed automatically! If you think it was incorrect, please notify us on Discord or Reddit

Siker_7

(Unassigned)

Unconfirmed

Multiple

Windows 10

fixed

1.17.41 Hotfix

Retrieved