MineableGems is a plugin that allows you to create
highly customizable drops on
every minecraft block with lots of conditions like chances, biome filters, etc with many features such as Auto Inventory, Working Fortune Enchantment, Custom Name, Lore, Enchantments and different ItemFlags on block's drop, console commands and more!
Create or Customize Minecraft vanilla drops
Set Custom Name and Lore on the custom drops
Add Experience to the drop, supports random number in range (v1.2)
Set any enchantments with any level (v1.1)
Decide where the custom drops should be given, Everywhere or just Underground
Set a chance to get the custom drop
Biome-Filter feature that allows you to whitelist or blacklist any minecraft biome for your custom drop
Enable/Disable Fortune Enchantment effecting your custom drop
Ability to prevent players from getting custom drop by placing that block
Ability to fully control vanilla drops when setting a custom drop
Ability to hide enchantments, great for making glowing effect (v1.1)
Auto-Inventory feature allows you to add custom drops directly to the player's inventory instead of dropping it
There are lots of different options you can use to create a custom drop. Here's a list of options you can use:
Material:<material_id>»Material of the custom drop, (Example: IRON_INGOT). • Oraxen Compatibility:You can use Oraxen items as a material. |
Format:Oraxen:itemID(v1.4) • MMOItems Compatibility:You can use MMOItems as a material. |
Format:MMOItem:typeID;itemID(v1.5) • HeadDatabase Compatibility:You can use HeadDatabase' heads as a material. |
Format:HeadDatabase:headID <or> hdb:headID(v1.7)
✦ Drop Customizations
Name:<name> »
Name of the custom drop, supports chat colors/formats Lore:<list..> »
Lore of the custom drop, supports chat colors/formats Enchantments:<list..> » Adds enchantments to the custom drop. You should write in this format: enchantment:level, For Example: DURABILITY:3 will be Unbreaking III. You can see the enchantment ids here: (v1.1) Newer versions of Minecraft: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html Older versions of Minecraft:https://helpch.at/docs/1.8.8/index.html?org/bukkit/enchantments/Enchantment.html Unbreakable:<true/false> » If you set this to true, item will be unbreakable. (You can only use this for those items that has durability). (v1.3) Hide-Enchantments:<true/false> » If you set this to true, enchantments will be hide. Great for making Glowing Items. (v1.1) Hide-Unbreakable:<true/false> » If you set this to true, unbreakable state will be hide. (v1.3) Hide-Attributes:<true/false> » If you set this to true, attributes will be hide. (Attributes are only for weapons, armors and tools) (v1.3) Custom-Model-Data:<num> » The CustomModelData of the custom drop. Remember that this feature added in Minecraft 1.14. (v1.8)
✦ Conditions
Chance: <0-100> » Chance to get the custom drop. Find-In: <everywhere/underground/height/heightLow-heightMax> » Decide where the custom drop should be found, available options: Everywhere and Underground or an integer (Height). In underground drops can be found in y < 50. Supports regex for height: heightLow-heightMax, For example: 20-100 Biome-Filter:<list..> » List of the biomes that you want custom drops can be found in them Filter-as-Blacklist:<true/false> » Reverse Biome-Filter to blacklist mode. Required-Items:<list..> » List of Items (Materials) that you want the custom drop work when player break the block with those items. (Like DIAMOND_PICKAXE)(v1.6) Enabled-Worlds:<list..> » List of worlds that you want the custom drops work in them.(v1.6) Disabled-Worlds:<list..> » List of worlds that you want the custom drops *don't* work in them.(v1.6) Enabled-Regions:<list..> » List of WorldGuard Regions that you want the custom drops work in them.(v1.6) Disabled-Regions:<list..> » List of WorldGuard Regions that you want the custom drops *don't* work in them.(v1.6) Required-Pickaxe-Power:<num> » The required pickaxe power to get a custom drop (This option is for MMOItems compatibility).(v1.7) Required-Permission:<string> » Required permission to drop the custom drop for a player.(v1.8)
✦ Other Customizations
Console-Commands:<list..> » List of commands you want to be executed when a player gets the custom drop. (v1.1) Player-Commands:<list..> » List of commands you want to be executed as a player when that player gets the custom drop. (v1.5) Experience:<num/min-max> »
Amount of experience you want to drop with the custom drop. If you want to drop experience randomly, you can write in this format: min-max, For Example: 2-30 will drop at least 2 and at most 30 experiences. (v1.2) Fortune-Enchantment:<true/false> » If you turn this off minecraft's fortune formula won't work on your custom drop. Prevent-Drops-If-Placed:<true/false> » Prevent players getting custom drop when the mined block is placed by a player. However blocks will become naturally again after reload/restart, this is just a placing & breaking abuse protection. Auto-Inventory:<true/false> » If you set this to true custom drop will add directly to the player's inventory instead of dropping. Vanilla-Drops:<true/half/false> » Control the block's vanilla drop, these are three options you can use: 1.<All>or <true>will keep vanilla drop. Also Removing this section will keep vanilla drops. 2.<Half>will only drop vanilla drops if any of other conditions (Chance, Biome-Filter, Find-In, etc) fails. For example: If the chance is 40%, there is 60% to give the vanilla drop. 3.<Disable>or <false> will completely disable block's vanilla drop.
How to create multiple drops on one block:
•In order to create multiple drops, you should write your drops in numerical sections and start with 1. Here's an example:
REDSTONE_ORE: #The Custom Drop Material that you want to give when a player breaks that block. Material: RED_DYE
#Name of the Custom Drop Name: "&cRuby" #Lore of the Custom Drop Lore: -
"" -
"&cRed Gemstone" -
"" #Chance that you can get the Custom Drop, Remove this line or set it to 100.0 if you don't want this option. Chance: 20.0
#Decide where the player can get the Custom Drop. #There are two options: Everywhere and Underground. In Underground mode drops can only be found under 50(Y). Find-In: Underground
#List of biomes that the custom drops can be found in them. #If you don't want this option simply remove the biomes and set Filter-as-Blacklist to true. #Note: If you remove all biomes and set Filter-as-Blacklist to false, nothing will drop because you are whitelisting nothing! Biome-Filter: - PLAINS
- JUNGLE
#If you want to make Biome-Filter to blacklisted biomes, set this to true, otherwise it will be whitelist mode. Filter-as-Blacklist: false
#Setting this to false makes Fortune enchantment disabled and it won't work on the custom drops. Fortune-Enchantment: true
#You can set any enchantment you want in a list like this, however we just want to make a glowing effect on this drop. Enchantments: - DURABILITY:1
#We set an enchantment that does nothing on this material, so now we hide this enchantment to make our glowing effect. Hide-Enchantments: true
#This option will prevent custom drops if the block is placed by a player. #Note: Blocks will become naturally again if you reload or restart the server. Prevent-Drops-If-Placed: true
#This option is for block's vanilla drops. #There are three options: #1. <All> or <true> will keep vanilla drop. Also Removing this section will keep vanilla drops. #2. <Half> will only drop vanilla drops if any of other conditions (Chance, Biome-Filter, Find-In, etc) fails. For example: If the chance is 40%, there is 60% to give the vanilla drop. #3. <Disable> or <false> will completely disable block's vanilla drop. Vanilla-Drops: half
#This option adds the custom item in the player's inventory instead of dropping it. #The item will be dropped if the player's inventory is full. Auto-Inventory: false
Here's another example without a custom name or lore.
Code (YAML):
PACKED_ICE:
Material: ICE
Chance: 10.0
Find-In: Everywhere
#We want to drop ice with 10% chance in frozen and cold ocean biomes, so we write all ocean biomes here: Biome-Filter: - frozen_ocean
- deep_frozen_ocean
- cold_ocean
- deep_cold_ocean
Filter-as-Blacklist: false
Fortune-Enchantment: false
Prevent-Drops-If-Placed: true
#We set vanilla drops to true because if the player has a silk touch pickaxe, this custom drop acts as a bonus drop. Vanilla-Drops: true
Auto-Inventory: false
You can set
different enchantments, make
glowing effects or set
console-commands, here's an example:
(Requires 1.1 or above)
Code (YAML):
STONE:
Material: IRON_PICKAXE
Chance: 0.5
Find-In: Underground
Biome-Filter: [] Filter-as-Blacklist: true
#A list of enchantments you want to put on the Iron Pickaxe, you can see a list of enchantments here: #Newest versions of Minecraft: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/enchantments/Enchantment.html #Older versions of Minecraft: https://helpch.at/docs/1.8.8/index.html?org/bukkit/enchantments/Enchantment.html #You should write in this format » Enchantment:Level Enchantments: - DIG_SPEED:2
- DURABILITY:1
#If you set this to true, enchantments will be hide. Perfect for glowing items. Hide-Enchantments: false
#Do you want to execute console commands when the player get this drop? Write them in this list! Use %player% for the player name. Console-Commands: -
"msg %player% You found an Iron Pickaxe in this Stone!" Fortune-Enchantment: false
Prevent-Drops-If-Placed: true
Vanilla-Drops: half
Auto-Inventory: false
You can add experience drop to the custom drop, you can also add experiences to the blocks without making a custom name, lore or setting any chance for it. (Requires 1.2 or above) In this example we are going to add experience drop to Iron Ores:
Code (YAML):
IRON_ORE:
Material: IRON_ORE
#We want to randomize the experience that drops, we can do that by writing in this format: min-max Experience: 1-5
Find-In: Everywhere
Biome-Filter: [] Filter-as-Blacklist: true
Fortune-Enchantment: false
Prevent-Drops-If-Placed: false
Vanilla-Drops: half
Auto-Inventory: false
Example of an
Oraxen drop:
(Requires 1.4 or above)
Remember that configuration sections are case sensitive!
[✓] Glowing Feature (Hide enchantment for designs) [✓] Experience Customize [✓] WorldGuard region whitelist/blacklist
Contact me if you have any feature requests or ideas. I'm glad to add your nice ideas to the plugin!
If you need help/support or found any bugs please PM me in spigot or contact me via discord for a fast support. I am pretty happy to help you! My Discord: Mohamad82#1474
Consider supporting me? Leave a five-star review if you liked this plugin