[Feature] Method to locate nearest biome #456
Labels
Note: Good First Issue
Good for anyone looking to learn the internals of Terra
Platform: All
Issue/PR is applicable to all platforms.
Status: Accepted
Issue/PR is accepted.
Subsystem: External API
Issue/PR has something to do with the external API. (Mainly addons)
Type: Enhancement
A request for a new feature or enhancement to be added.
ones, and found none.
should be implemented by a pack or addon.
Feature Description
An API method to locate the nearest Terra biome.
What Problem Does This Solve?
Currently, it is possible to locate Terra biomes in-game via a command with the syntax of
/locate biome terra:packname/packname/biomename
but there is no API equivalent of this. The closest is Bukkit's World#locateNearestBiome which, of course, does not accept acom.dfsek.terra.api.world.biome.Biome
(and doesn't seem to work withorg.bukkit.block.Biome
on Terra worlds either, even if acquired through a BiomeProvider).A Solution You'd Like
A method of similar functionality to
locateNearestBiome
but which acceptscom.dfsek.terra.api.world.biome.Biome
instead.Alternative Solutions (that don't work)
Additonal Context
We're looking to perform actions programmatically based on the result; the
/locate
command is insufficient.The text was updated successfully, but these errors were encountered: