Skip to content

(Experimental) Add DecentHolograms Support#386

Merged
LlmDl merged 8 commits intomainfrom
feat/descentholograms
Jan 24, 2026
Merged

(Experimental) Add DecentHolograms Support#386
LlmDl merged 8 commits intomainfrom
feat/descentholograms

Conversation

@TheFlagCourier
Copy link
Copy Markdown
Member

@TheFlagCourier TheFlagCourier commented Nov 11, 2024

Updated 2026-01-23: Reworked

Description

Having some copious free time at work, I took the liberty of updating the PR in a different direction. As before, this PR attempts to add support for DecentHolograms, but diverges to remove HolographicDisplays support.

Bear in mind that while this builds, it absolutely needs tested. I would like to continue to flesh it out, so a test build will be published to the discord after I'm happy with the state of it. If no issues are reported, and it passes re-inspection, this should be merged.

Changes

  1. Rebased on current version of main.
  2. Updates NOTICE, replacing HGs with DHs
  3. HolographicDisplays has been completely stripped from the code base.
  4. Hologram methods have been refactored to reside in the HologramUtils class, cleaning up CellUnderAttack a fair bit.
  5. A FormatUtils class has also been started.
  6. Various minor housekeeping changes (null checks, Checkstyle settings, build dependency updates, etc.)

Relevant FlagWar Issue tickets:

Fixes / Resolves

The following Issues should be resolved by the PR:

Supercedes

The following PRs are wrapped in as part of the housekeeping phase:


  • I have tested this pull request for defects on a server.
  • I have supplied users with a copy to test.
    ** PENDING ** Previous tests are unreliable for a current build.

By making this pull request, I represent that I have read and agree to release my own changes that I
have submitted under the terms of the accompanying license (Apache-2.0). I guarantee that these
changes are mine and are not encumbered by any other license or restriction to the best of my
knowledge.

@TheFlagCourier TheFlagCourier requested a review from LlmDl November 11, 2024 03:17
@TheFlagCourier TheFlagCourier added enhancement New feature or request dependencies Pull requests that update a dependency file awaiting-feedback Marks tickets and pulls for requesting additional response from their authors. labels Nov 11, 2024
@LlmDl LlmDl changed the title (Experimental) Add DescentHolograms Support (Experimental) Add DecentHolograms Support Nov 11, 2024
Copy link
Copy Markdown
Member

@LlmDl LlmDl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me aside from the typos that's probably going to keep it from working.

@TheFlagCourier
Copy link
Copy Markdown
Member Author

D'oh! Thanks for pointing that out.

Copy link
Copy Markdown
Member

@LlmDl LlmDl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm good with this, once we hear back that it does work.

- New Classes:
  - HologramUtil
    - Holds ~90% of the remaining hologram logic.
    - Most calls have been inlined or ported over here.
  - FormatUtil
    - Relocates time formatting to clean up the CellUnderAttack class.
    - Other formatting methods may follow later.
- Fix "instancing" in a static util class.
- Remove double draw call
- Simplify variable names and Javadocs
- Some debug messages.
@TheFlagCourier TheFlagCourier requested a review from LlmDl January 24, 2026 06:38
@TheFlagCourier TheFlagCourier self-assigned this Jan 24, 2026
- Builds against Java 17, and Paper 1.19.4
  _You **really** should be on a newer version, though._
- Re-adds JDK 17 to the actions workflow
- Bumps minimum Towny version in FlagWar.java
@TheFlagCourier TheFlagCourier requested a review from LlmDl January 24, 2026 16:30
@LlmDl LlmDl added this to the 0.8.0 milestone Jan 24, 2026
@LlmDl LlmDl merged commit b6aaaf1 into main Jan 24, 2026
3 checks passed
@LlmDl LlmDl deleted the feat/descentholograms branch January 24, 2026 16:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting-feedback Marks tickets and pulls for requesting additional response from their authors. dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change from HolographicDisplays for holograms to another plugin

2 participants