Skip to content

chore: remove unused gson dependency and abandoned quest stubs - #20

Merged
ryanbarlow97 merged 1 commit into
mainfrom
chore/remove-historical-cruft-4fec1582
Sep 23, 2026
Merged

ryanbarlow97 merged 1 commit into
mainfrom
chore/remove-historical-cruft-4fec1582

Conversation

@ryanbarlow97

Copy link
Copy Markdown
Contributor

Remove an unused build input and the never-wired quest feature.

Gson. Nothing in src imports or names com.google.gson, so the local:gson:2.10.1 dependency is removed from pom.xml. It was the only private JAR, so prepare-release.sh now uses the same no-private-JARs stub as PermCleaner and WorldBorder. install-local-dependencies.sh and .github/dependencies.sha256 are deleted; leaving an empty checksum file would make sha256sum --check fail. The workflows still call prepare-release.sh unchanged.

Quest stubs. Removed loader/QuestLoader.java (an empty class), quests.yml, quest-tiers.yml and the MBGUI.QUEST constant.

  • MarketBlock only saveResources and loads config.yml, categories.yml and trades.yml, and no code reads the quest keys.
  • QUEST is never constructed or matched. Both switches over MBGUI in TradeManager are statements that handle CATEGORY and TRADE and fall through to default.
  • Nothing calls valueOf or name() on MBGUI, and MBHolder only lives in memory as an InventoryHolder, so no enum names are persisted.

Validation: searched the repository (including resources and workflows) and the wider TF-Minecraft workspace for gson, quest, QuestLoader, MBGUI and the quest YAML keys. The only external mention is the ProvinceSystem wiki research note, which already records that the quest feature is inert. CI build is the gate.

No deployment or release publication is included.

🤖 Generated with Claude Code

Nothing imports com.google.gson. It was the only private JAR, so
prepare-release.sh becomes the standard no-private-JARs stub and the
checksum file and install script go. The quest feature was never
wired: QuestLoader is empty, quests.yml and quest-tiers.yml are never
saved or loaded, and MBGUI.QUEST is never constructed or matched.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ryanbarlow97
ryanbarlow97 merged commit 977de79 into main Sep 23, 2026
1 check passed
@ryanbarlow97
ryanbarlow97 deleted the chore/remove-historical-cruft-4fec1582 branch September 23, 2026 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant