ModsJava
BannerAPI - Easy way to create, store and manage banners!
Java mod listed for Minecraft 1.8–1.10. Downloads from the MC Java Mods app on Android.
⬇ Download on SpigotBannerAPI allows developers to easily create, manage, modify, and store banners with pattern data with ease.
BannerAPI doesn't come with any special features when installed, it only allows other plugins to access its libraries.
BannerAPI Javadocs can be found at toadally.github.io/BannerAPI
Short Tutorial:
First, you want to create your banner.
Next, we need to append patterns to the banner. Let's create a pattern now.
You can change this pattern however you like. There are set methods for both the pattern and color. We're not going to bother with that for right now.
Next, to apply the pattern, you want to use the addPattern method on your banner.
This will add the pattern to the top layer. There is another addPattern method which also takes an index.
Finally, let's give the banner to a player. Luckily, there's a method for this too! To get the banner as an ItemStack, do:
And there you have it! The player has the banner and everyone can live happily ever after!
BannerAPI doesn't come with any special features when installed, it only allows other plugins to access its libraries.
BannerAPI Javadocs can be found at toadally.github.io/BannerAPI
Short Tutorial:
First, you want to create your banner.
Code (Text):
BannerAPI banner = new BannerAPI(DyeColor.[COLOR]);
Code (Text):
BannerPattern pattern = new BannerPattern(PatternType.[TYPE], DyeColor.[COLOR]);
Next, to apply the pattern, you want to use the addPattern method on your banner.
Code (Text):
banner.addPattern(pattern);
Finally, let's give the banner to a player. Luckily, there's a method for this too! To get the banner as an ItemStack, do:
Code (Text):
p.getInventory().addItem(banner.getBanner());
Quick facts
- Edition: Minecraft Java
- File type: .jar
- Minecraft versions listed: 1.8, 1.9, 1.10
- How to install: Install the matching mod loader (Forge, Fabric or NeoForge) for your Minecraft version. → Download the .jar. → Put it in the .minecraft/mods folder and launch that loader profile.
- Where to get it: Opens on Spigot — not every file is mirrored on our own servers.
Install steps are the general flow for this file type — How to install Minecraft Java mods & modpacks walks through it step by step.
BannerAPI - Easy way to create, store and manage banners! is a free Minecraft Java mod. Compatible with Minecraft 1.8, 1.9, 1.10. Downloaded 224 times (via Spigot). Download it and open it directly in the game.