toolbox4minecraft / amidst

Advanced Minecraft Interface and Data/Structure Tracking
GNU General Public License v3.0
2.14k stars 239 forks source link

Extract class #1126

Open sarthak3136 opened 1 year ago

sarthak3136 commented 1 year ago

The code has been refactored by re-structuring the components of the file. The following file has been changed.

FilePath

src/main/java/amidst/fragment/drawer/GridDrawer.java src/main/java/amidst/fragment/drawer/TextDrawer.java

Type Of Refactoring Done

Extract Class

Improvements Made

The GridDrawer Class had multiple text related methods for Grids and those methods can be extracted to the separate class which will be responsible introducing text in the grid drawer. So a new file has been created "TextDrawer.java" which will responsible for that.

Notes for Reviewers

Thank you for taking the time to review this pull request. If you have any questions or suggestions for improvement, please don't hesitate to let me know.