Skip to content

chore: remove unused legacy code - #15

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

This removes placeholder classes and commented-out code that nothing in the plugin or the other TF-Minecraft repositories uses.

  • loaders/StationLoader.java: an empty class. Its only use was the unused stationLoader field in AdvancedCrafting, which is removed together with its import and the commented-out stationLoader.load("stations.yml") call.
  • objects/data/StationData.java: an empty class.
  • objects/crafting/CraftingGUI.java: fields only, never instantiated.
  • enums/RecipeType.java: never referenced.
  • A commented-out debug block in CraftingStation that printed ingredient and hit progress.

LegacyModelData and SOURCE.md are unchanged.

Validation: searched the repository (including YAML and string or reflective uses) and every sibling TF-Minecraft repository for each removed name. Thievery and Recycler import other classes from objects.data and loaders, but none of the removed ones. The similarly named StationLoader and StationData classes in other plugins are unrelated. Imports in the touched files were re-checked; git diff --check passes. The standard PR build is the compile and test gate.

🤖 Generated with Claude Code

Remove the empty StationLoader (with its unused field, import and
commented-out load call), the empty StationData, the unused CraftingGUI
and RecipeType, and commented-out debug output in CraftingStation.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@ryanbarlow97
ryanbarlow97 merged commit d623019 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