Skip to content

Add Minecraft 1.20.4 compatibility#46

Open
keilogic wants to merge 1 commit into
faridfaharaj:mainfrom
keilogic:codex/support-1.20.4
Open

Add Minecraft 1.20.4 compatibility#46
keilogic wants to merge 1 commit into
faridfaharaj:mainfrom
keilogic:codex/support-1.20.4

Conversation

@keilogic

Copy link
Copy Markdown

Summary

  • build against Paper 1.20.4 and Java 17 with plugin api-version 1.20
  • replace Java 21-only collection helpers and Math.clamp calls with Java 17-compatible code
  • add compatibility helpers for the newer item glint API and renamed particle constants
  • update FoliaLib to its published com.tcoded coordinate so Maven can resolve it

Closes #41.

Validation

  • mvn -q -DskipTests package using Java 17
  • git diff --check
  • verified the built jar is Java 17 bytecode and contains api-version: '1.20'

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.

Support for 1.20.4 ? <3

1 participant