Growthcraft Community Edition

Growthcraft Community Edition

1M Downloads

Red grape seeds not dropping

ArtOfCombat opened this issue ยท 6 comments

commented

I have broken dozens if not hundreds of vines and have yet to find a single red grape seed. Am I missing a piece of information?

commented

Which version of growthcraft are you using?

commented

4.1.0, the latest available. The pack is Mythic Novus [Kinetic]. I am on SP.

commented

I'd use 4.1.1.200, as that was the latest 1.12.2 version released on Github, and should be on CurseForge, and if not hopefully it gets there.

https://github.com/GrowthcraftCE/Growthcraft-1.12/releases/download/4.1.1.200/growthcraft-1.12.2-4.1.1.200.DEV.0afba45b.jar

commented

I got 40 of purple and green... No red. :\

commented

Did some testing .... There is a 1 in 10 chance to drop a variation of grape seed. Important thing to note is that you cannot be using shears.

commented

That's good information .... found the bug.

int randomGrapeSeed = random.nextInt(GrapeTypes.values().length - 1); GrapeTypes grapeTypes = GrapeTypes.values()[randomGrapeSeed];

There are three grape types, so the nextInt actually results in a random number from 0 inclusive to 2 exclusive. So GrapeTypes.values()[2] actually will never happen and that is the Red Grapes.