Skip to content

Fix SHORT_GRASS linkage on Minecraft 1.20.2 - #226

Open
Minecraft0122 wants to merge 1 commit into
BreweryTeam:masterfrom
Minecraft0122:codex/fix-1.20.2-constants
Open

Fix SHORT_GRASS linkage on Minecraft 1.20.2#226
Minecraft0122 wants to merge 1 commit into
BreweryTeam:masterfrom
Minecraft0122:codex/fix-1.20.2-constants

Conversation

@Minecraft0122

Copy link
Copy Markdown

Summary

  • use BreweryX's version-aware grass material in default cauldron ingredients and recipes
  • use the same compatibility constant while migrating legacy LONG_GRASS data
  • avoid linking Material.SHORT_GRASS, which is absent from the supported 1.20.2 API

Verification

  • ./gradlew compileJava
  • inspected generated bytecode for the affected classes; none reference Material.SHORT_GRASS
  • verified against the official Spigot 1.20.2 API artifact that SHORT_GRASS is absent

Closes #201.

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.

breweryx not working for 1.20.2

1 participant