✨SupremeBosses✨[1.13x - 1.21x][Region Spawning✅],[Customized Drops✅],[Custom Abilities✅][NPCs✅]. icon

✨SupremeBosses✨[1.13x - 1.21x][Region Spawning✅],[Customized Drops✅],[Custom Abilities✅][NPCs✅]. -----

An easy and simple Custom bosses plugin!



Developer API For Supreme Bosses:

Part 1: Getting a Specific Boss.

Getting a specific boss is not difficult at all. Supreme bosses uses mob metadata to distinguish bosses.

There are 2 metadata tags that are related to SupremeBosses. You can use them to your hearts desire and even make more abilities.

Part 1.1: CBossesID

You can access the ID of the boss by using the tag "CBossesID". example:

Code (Text):
boss.getMetadata("CBossesID").get(0).asString();


The id should look something like "Boss0" or "Boss1".

Part 1.2: CBossesOwner

Getting the id is half of the job done. Now you have to know which player has this mob. Thats where CBossesOwner comes to play. You can get it like this:

Code (Text):
boss.getMetadata("CBossesOwner").get(0).asString();


This value will return the UUID of the player.

Part 2: Using the Plugin Classes.

The plugin can also be used as an API. You can plug it into your intelliJ or eclipse project and start using it. Most of the stuff probably shouldnt be played with but there is 1 Very useful class called RandomUtils. This class can make your life way easier by getting a bunch of the stuff you need.

RandomUtils methods:

getEditingThread -> gets the Natural Spawning Thread that is being edited.

getEditingCoords -> gets the Coordinates that are being edited right now (Coordinate Spawning)

getEditingRegion -> gets the Region that is being edited.

getEditingBoss -> gets the Boss that is being edited.

changeDecimal -> changes a decimal number to a specific decimal point.

locationToString -> prints out a spigot Location as a String

sortNumber -> sorts 2 numbers and returns an array. First number is the smaller one and the second is the larger

getBossNumberID -> Gets a string like "Boss0" and return the number ID only. In this case being "0".

translateStringFromEnum -> gets an Enum value like "IRON_LEGGINGS" and makes it "Iron leggings"

color -> translates a string so it has color (using "&" color codes)

RecomendedSpawnRate -> A formula to calculate the recomended spawn rate. Not very useful for you.

getVersion -> a cursed way to get the version. anything bellow 1.10 prints 0. Would not recommend using it.
Resource Information
Author:
----------
Total Downloads: 214
First Release: Nov 13, 2022
Last Update: Feb 18, 2025
Category: ---------------
All-Time Rating:
21 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings