Developer finds multiple bugs in Minecraft's Create mod using static code analysis

A developer used the PVS-Studio static analyzer to audit Create, one of Minecraft's most downloaded mods with over 206 million CurseForge downloads. Several bugs were identified, including a broken paste function where clipboard text was never actually modified due to a missing variable reassignment. Another issue involved an unreachable code branch in the mechanical crafter logic, where a null check should likely have been an empty-list check, potentially causing items to loop indefinitely between crafters. The developer submitted pull requests with proposed fixes, though some issues — like the crafter loop — may reflect intentional design rather than true bugs. The analysis was conducted on commit 87b3c6a, and the full report can be reproduced by running PVS-Studio against the same codebase.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in