Closed forresthopkinsa closed 3 years ago
It sounds like you're developing against 1.1.3-SNAPSHOT but running on 1.1.2.
I posted my build script above – it looks to me like I'm working with the 1.1.2 API
I printed out my Gradle dependency tree, here it is
It suggests that Velocity is trying to pull in adventure-api:4.1.1
but is instead getting 4.3.0
Here's a snip of what looks to me like the culprit:
compileClasspath - Compile classpath for compilation 'main' (target (jvm)).
...
\--- com.velocitypowered:velocity-api:1.1.2
...
+--- net.kyori:adventure-text-serializer-legacy-text3:4.0.0-SNAPSHOT
| \--- net.kyori:adventure-api:4.3.0 (*)
...
Ah yes that makes sense -- that serializer is part of the platform project, so it keeps getting updated. I expect velocity will have to exclude its transitive dependency on newer adventure.
As a temporary workaround, @zml2008's suggestion to use BossBar.percent(float)
suffices. Thanks for the tip!
@astei Thanks! 🎉 What's the ETA for the next release looking like?
It will come out when it comes out. I do not give ETAs, I work on this in my free time and when contracted to work on it.
I'm just not familiar with the Velocity release cadence
Initially reported in Discord.
While trying to use Adventure's bossbar component, I get a NoSuchMethodError on line 58 of this file.
Here is a dump of my Velocity configuration.
In summary:
Additionally, here's my build script. Maybe I misconfigured something in there?
Tux suggests that Kotlin is causing the problem, and insists that this is not a Velocity issue – so, I'm just gonna open this issue to track my progress on solving it for Kotlin users.