weheheheheaayy long time no see
So, in the time I was gone, very recently (1.21.3), Spigot has changed something internally and getting the biome name via Spigot/Bukkit API no longer returns
CUSTOM whenever there is a custom biome involved. Therefore,
What's New?
- The plugin no longer depends on JeffLib for placeholder registration and biome fetching on 1.21.3 and above (using Bukkit API)
- Unless there are breaking changes to PlaceholderAPI, this release can be used for many more Minecraft updates to come.
This plugin was created in the intention of preserving support for all versions of Minecraft, and make it easier for me to rebuild it for newer versions without needing to dig into the code for every version. Atleast when I was searching for ways to get the player's biome (even if the biome was defined in a datapack), Spigot/Bukkit API did not give a way to get the custom biome name, instead it only returned
CUSTOM. I was told by a developer (
@mfnalex ) that it was possible only through NMS, and that he had a library (JeffLib) that allowed me to skip the NMS BS and just get the namespaced biome directly.
The reason it is a plugin and not an expansion is because I use(d) the library (under his advice) to register the placeholders too. _Now_ the reason has changed because it is no longer just an expansion, it also has a command and its own configuration.
I thank you all for downloading my plugin over a 1000 times. Thank you from the bottom of my heart for making learning Java feel worth.
Hope we meet again soon! (well maybe not
very soon, I am sure the plugin won't need updates any time soon!)
With from PseudoPanda