TransWikia.com

How to increase Drop rates in a minecraft spigot server

Arqade Asked on October 2, 2021

I have made a spigot 1.16.5 server, but I was wondering that is there any plugin/setting/anything that I can do in order to change the drop rates of mobs.

I have seen many custom drop plugins but none of them have had an option to change the drop rate (Or at-least I didn’t find such a option).

What I really wanted was as drowned spawning with tridents is already really rare, so I wanted to keep and 80% chance of trident dropping instead of the scarce chance that Mojang set up. I wanted to do the same with enderman drop rates.

Any help would be appreciated, and I am not just sticking to plugins, I am ready to achieve this in any method except for deleting my current world as I have good progress on it.

Thanks.

One Answer

Random rand = new Random();
int newnumber = rand.nextInt(205); // The 205 is your number
if(newnumber < 20)
{
  p.getInventory().addItem(Material.DIAMOND_SWORD);
}

I don't know Java, but this likely works for you to calculate a chance for a Diamond Sword.

Or if you want a plugin to do it, try this one.

Answered by jitter on October 2, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP