diff --git a/build.gradle b/build.gradle index ed9404f..760877b 100644 --- a/build.gradle +++ b/build.gradle @@ -20,9 +20,10 @@ plugins { id "net.minecraftforge.gradle.forge" version "2.0.2" } */ -version = "1.0" -group= "com.yourname.modid" // http://maven.apache.org/guides/mini/guide-naming-conventions.html -archivesBaseName = "modid" +version = "1.8.8-1.0.1" +group= "com.lothrazar.samsbeetroot" +archivesBaseName = "SimpleBeetroot" + minecraft { version = "1.8.8-11.15.0.1594-1.8.8" diff --git a/src/main/java/com/lothrazar/samsbeetroot/BlockCropBeetroot.java b/src/main/java/com/lothrazar/samsbeetroot/BlockCropBeetroot.java index 6c1bf89..54c0f21 100644 --- a/src/main/java/com/lothrazar/samsbeetroot/BlockCropBeetroot.java +++ b/src/main/java/com/lothrazar/samsbeetroot/BlockCropBeetroot.java @@ -152,15 +152,15 @@ public List getDrops(IBlockAccess world, BlockPos pos, IBlockState st Random rand = (world instanceof World) ? ((World)world).rand : new Random(); if (age >= GROWTHMAX) { - int k = MAXDROPPED + fortune; for (int i = 0; i < MAXDROPPED + fortune; i++) { if (rand.nextInt(15) <= age) { ret.add(new ItemStack(ItemBlockRegistry.beetrootItem)); - int seeds = rand.nextInt(3);//0,1,2 only - if(seeds > 0) - ret.add(new ItemStack(ItemBlockRegistry.beetroot_seed,seeds)); + //raised drop chances of getting a seed + //the range of seed drops is [1,2,3] + if(rand.nextInt(5) > 0) + ret.add(new ItemStack(ItemBlockRegistry.beetroot_seed,rand.nextInt(3)+1)); } } } diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 06d38f7..8152b23 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -4,9 +4,9 @@ "modid": "samsbeetroot", "name": "Simple Beetroot", "description": "Beetroot inspired by MCPE.", - "version": "1.8-1.0.0", - "mcversion": "1.8", - "url": "https://github.com/PrinceOfAmber/SamsPowerups/releases", + "version": "1.0.1", + "mcversion": "1.8.8", + "url": "http://minecraft.curseforge.com/projects/simple-beetroot", "updateUrl": "", "authorList": [ "Lothrazar" ], "credits": "Thanks to LexManos for the gradle video, and everyone on the forums",