mirror of
https://github.com/Sollace/Unicopia.git
synced 2025-02-08 06:26:43 +01:00
Added wheat worms as a possible drop when mining dirt
This commit is contained in:
parent
68cbb4b57b
commit
ff707b679e
1 changed files with 4 additions and 0 deletions
|
@ -79,6 +79,10 @@ public class BlockInteractions {
|
||||||
if (world.rand.nextInt(5000) == 0) {
|
if (world.rand.nextInt(5000) == 0) {
|
||||||
drops.add(SpellRegistry.instance().enchantStack(new ItemStack(UItems.spell), "awkward"));
|
drops.add(SpellRegistry.instance().enchantStack(new ItemStack(UItems.spell), "awkward"));
|
||||||
}
|
}
|
||||||
|
} else if (block == Blocks.DIRT || block == Blocks.CLAY || block == Blocks.GRASS_PATH || block == Blocks.GRASS || block == UBlocks.hive) {
|
||||||
|
if (world.rand.nextInt(25 / fortuneFactor) == 0) {
|
||||||
|
drops.add(new ItemStack(UItems.wheat_worms, 1 + fortune));
|
||||||
|
}
|
||||||
} else if (block instanceof BlockTallGrass) {
|
} else if (block instanceof BlockTallGrass) {
|
||||||
if (world.rand.nextInt(25 / fortuneFactor) == 0) {
|
if (world.rand.nextInt(25 / fortuneFactor) == 0) {
|
||||||
for (int i = 0; i < 1 + fortune; i++) {
|
for (int i = 0; i < 1 + fortune; i++) {
|
||||||
|
|
Loading…
Reference in a new issue