Skip to content

Deprecate existing matchPattern method#1002

Open
beholderface wants to merge 4 commits intoFallingColors:mainfrom
beholderface:main
Open

Deprecate existing matchPattern method#1002
beholderface wants to merge 4 commits intoFallingColors:mainfrom
beholderface:main

Conversation

@beholderface
Copy link
Contributor

No description provided.


protected boolean canOvercast() {
//bad deployer, no more infinite bloodcasting for you
if (this.caster.getClass() != ServerPlayer.class){
Copy link
Member

Choose a reason for hiding this comment

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

This change seems unrelated (and the commit is from a year ago), did something weird happen with the commit history?

* order
* for a per-world pattern.
*/
@Deprecated
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a description to the deprecated annotation, and update the javadoc to mention the new overload?

return new PatternShapeMatch.Nothing();
}

public static PatternShapeMatch matchPattern(HexPattern pattern, CastingEnvironment environment){
Copy link
Member

Choose a reason for hiding this comment

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

Can you add a javadoc comment to this method?

@github-project-automation github-project-automation bot moved this from 📋 Backlog to 🏗 In progress in Hex Casting Feb 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🏗 In progress

Development

Successfully merging this pull request may close these issues.

2 participants

Comments