✨Supreme bDrops✨ - Custom Block Drops [1.13x - 1.21x]| [Drop Chances ✅], [Drop Messages✅] and More! icon

✨Supreme bDrops✨ - Custom Block Drops [1.13x - 1.21x]| [Drop Chances ✅], [Drop Messages✅] and More! -----

The Easiest custom block drops plugin



Developer API Documentation:

(This guide won't go into detail as the API is really simple)

Part 1: Manipulating the custom Blocks

Every custom block has custom metadata. you can access this metadata by using
Code (Text):
block.getMetaData("bDropsID").get(0).asInt();
The name of the custom data is "bDropsID" and the 0th index is the block ID we are getting.

The id of the block can be easily checked in the config. in the string "Block1" inside the config "1" is the Block ID.


Part 2: Plugin Utilities

In the jar file there is a class called RandomUtils. There are a good chunk of utilities that are useful for manipulating the plugin. Stuff such as getting the block ID, the Drop ID and etc.

quick Doc of RandomUtils:

getEditingBlock -> gets the block that is currently being edited (it returns a string like "Block1" or "Block2" so it can be used for the path of the config)

getEditingDrop -> gets the Drop that is currently being edited (it returns a string like "Drop1" or "Drop2" so it can be used for the path of the config)

color -> adds color to messages by translating them from & to ChatColor chars

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

getBlockID -> Returns the ID of the editing block without the "Block" part. So if the editing bloc
k is "Block1" it will return 1
Resource Information
Author:
----------
Total Downloads: 12
First Release: Dec 17, 2022
Last Update: Apr 13, 2025
Category: ---------------
All-Time Rating:
0 ratings
Version -----
Released: --------------------
Downloads: ------
Version Rating:
----------------------
-- ratings