Can You Tell Whether This Minecraft Add-On Code Was AI-Generated?

0
3
Asked By VelvetCactus42 On

A friend asked me to review the JavaScript for a Minecraft add-on, and I'm wondering whether it was generated by AI. Several AI-detection tools said it probably wasn't, but I'm still suspicious. The code is fairly long and handles flare guns, projectiles, glow sticks, configuration menus, particles, entity events, and dynamic properties. It also contains typos such as "defualts" and "chat_massage," inconsistent naming and formatting, and a number of compact helper functions. Are there any reliable signs here that would indicate whether a person or an AI wrote it?

4 Answers

Answered By CopperLynx58 On

AI detectors are not reliable for source code, especially when the code has been edited or mixed with existing snippets. The code looks somewhat amateurish and cobbled together, but that doesn’t prove anything about its origin. Ultimately, only the development history or the author’s ability to explain it can provide useful evidence.

Answered By MapleOrbit7 On

There isn’t enough evidence to identify the author from the code alone. The typos, inconsistent indentation, short one-line helpers, and naming inconsistencies feel more like human-written or heavily edited code than a clean AI-generated result. It could also be assembled from multiple sources, so “human-written” and “AI-assisted” aren’t mutually exclusive.

Answered By SunnyMoth31 On

Also, consider whether you had permission to publish the full code. Even if you’re only asking about authorship, sharing someone else’s project publicly without asking could damage the friendship. A private code review or a shortened, anonymized example would have been safer.

Answered By QuietHarbor19 On

The best way to check is to ask your friend about specific design decisions. Have them explain how the projectile tracking, velocity changes, dynamic properties, and entity cleanup work, or ask them to modify one feature. Someone who wrote or substantially edited it should be able to explain the reasoning, while an unreviewed copy-and-paste job may be harder to defend.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.