Skip to content

Conversation

@khIbrahim
Copy link

glint wasn’t showing, record was causing some gray error in console (param order mismatch i think)

changed glint getName to "minecraft:glint"
switched record constructor param order (duration first)

thanks 👍

@jeantkg
Copy link
Contributor

jeantkg commented Jul 20, 2025

Did you test these out?

@khIbrahim
Copy link
Author

yes glint seems working with "minecraft:glint" and "glint" mb. And the most important thing here is the eorder RecordComponent constructor cause i've had some Deprecated errors on the console

@jeantkg
Copy link
Contributor

jeantkg commented Jul 20, 2025

yes glint seems working with "minecraft:glint" and "glint" mb. And the most important thing here is the eorder RecordComponent constructor cause i've had some Deprecated errors on the console

It looks like they changed the glint component in the new update to finally use minecraft:glint, but I don't know about the RecordComponent

@khIbrahim
Copy link
Author

I noticed the warning:
Deprecated: Optional parameter $comparatorSignal declared before required parameter $duration...

That deprecation warning was kinda annoying, just reordered the params and it's all good now
I think it only shows up with some PHP libs or versions because I had my php error reporting on showing depreacted errors, and i think im not the only one, but better to fix it anyway

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.

2 participants