package main; public class ItemDrop { private Item item; private double dropChance; public ItemDrop(Item item, double dropChance) { this.item = item; this.dropChance = dropChance; } public ItemDrop(Item item, int percentDrop) { this.item = item; this.dropChance = percentDrop / 100.0D; } public Item getItem() { return this.item; } public double getDropChance() { return this.dropChance; } }