CraftPresence

CraftPresence

Mod

Completely Customize the way others see you play in Discord!

Client LibraryUtility

992.6k downloads
423 followers
Created2 years ago
Updateda day ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

CraftPresence v2.3.0 (1.20.4)

Changelog

CraftPresence Changes

v2.3.0 (01/23/2024)

A Detailed Changelog from the last release is available here

See the Mod Description or README for more info regarding the mod.

Changes

  • (Backend) Updated Build Dependencies (Please see the appropriate repositories for changes)
    • Unimined (1.1.0 -> 1.2.0-SNAPSHOT)
    • Spotless Plugin (6.23.3 -> 6.24.0)
    • Spotless Annotations (4.8.2 -> 4.8.3)
    • Fabric Loader (0.15.3 -> 0.15.6)
  • (Backend) Major API Refactors involving StringUtils, RenderUtils, and various other areas
    • View the Full Changelog for more details regarding these changes
  • Modified the stripTranslationColors config setting into two: one for colors, and one for special formatting (stripTranslationFormatting)
    • This adjusts the limiter placed on MC 1.1.0 and below so that text colors are now allowed, but special formatting is not
    • This also adjusts various APIs, in addition to two new script functions: stripFormatting(input) and stripAllFormatting(input)

Fixes

  • (Backend) Fixed an issue where TextDisplayWidget, MessageGui, and AboutGui String Rendering could result in incorrect results
    • The ExtendedScreen#renderNotice methods have been deprecated, with the features now covered by the RenderUtils#drawMultilineString method
    • TextDisplayWidget objects now have an additional fix where padding is accounted for in the final height calculation
  • (Backend) Fixed an issue where ScrollPane#getOffset would have an incorrect result if there was no scrollbar
    • This method now returns the parent screen offset in this case
  • (Backend) Fixed a visual issue in RenderUtils#drawMultilineString where the fontHeight was not properly considered
    • This uses an actual fontHeight + 1 calculation, rather than a magic number (10)
    • This will cause tooltips in various MC versions to look different, but more correctly positioned
  • (Backend) Fixed several issues related to Text Boxes in MC 1.1.0 and below
    • Fixed an issue where using ExtendedTextControl#setControlMessage was not setting the cursor position
    • Fixed the CTRL+A event not matching Vanilla MC (Cursor and Selection Position now properly set)
    • Fixed a visual bug where clicking the text box was not clearing the isTextSelected flag
    • Fixed the selection background not matching Vanilla MC, due to missing GL flags
    • Fixed the _ and | cursor rendering not matching Vanilla MC

More Information

Known Issues

Despite configuration compatibility being ensured between v1.8.x/v1.9.x and v2.0, caution is advised to ensure the best experience, while also baring in mind that features can be adjusted, removed, or added/iterated upon between releases.

The following known issues are present in this build:

  • The HypherionMC Config Layer (To Convert a Simple RPC config to CraftPresence) contains the following known issues:
    • Placeholders related to the realm event are currently unimplemented and parse as {''}.

Please refer to the Mod Description or README to view more info relating to known issues.

Snapshot Build Info

Some Versions of this Mod are for Minecraft Snapshots or Experimental Versions, and as such, caution should be noted.

Any Snapshot Build released will be marked as ALPHA to match its Snapshot Status depending on tests done before release and issues found.

Snapshot Builds, depending on circumstances, may also contain changes for a future version of the mod, and will be noted as so if this is the case with the -Staging label.

Files

CraftPresence-2.3.0+1.20.4.jar(2.22 MiB) Primary Download

External resources



Project members

CDAGaming

Owner


Technical information

License
MIT
Client side
required
Server side
unsupported
Project ID