Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create markers from banners #11

Open
n-aspen opened this issue Jun 12, 2021 · 0 comments
Open

Create markers from banners #11

n-aspen opened this issue Jun 12, 2021 · 0 comments

Comments

@n-aspen
Copy link
Member

n-aspen commented Jun 12, 2021

I should be able to create markers from banners in a similar way to how they're added to regular maps. The methods needed seem simple enough but I'll have to create the images for the icons myself by getting a list of the patterns in use and then coloring and adding them in order.

For a basic implementation, I think I'll just start with the base color of the banner and work from there. The methods I'll need from a spigot are below.

https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/Banner.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/PatternType.html
https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/block/banner/Pattern.html

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

No branches or pull requests

1 participant