mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-25 06:24:54 +00:00
Compare commits
6
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
4c71e42dd6 | ||
|
|
de793aa5fc | ||
|
|
58439c0936 | ||
|
|
ef76ab40e3 | ||
|
|
d2a3b91fe0 | ||
|
|
a370c61948 |
No files matched your search
+2
-2
@@ -18,7 +18,7 @@ buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
name = "forestry"
|
||||
url = "http://maven.ic2.player.to/"
|
||||
url = "http://downloads.gtnewhorizons.com/Mods_for_Jenkins/"
|
||||
}
|
||||
ivy {
|
||||
name "Thaumcraft"
|
||||
@@ -92,4 +92,4 @@ artifacts {
|
||||
}
|
||||
|
||||
task fullBuild(dependsOn: ['build', 'deobfJar']) {
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
version_major=2
|
||||
version_minor=5
|
||||
version_rev=5-GTNH
|
||||
version_rev=7-GTNH
|
||||
|
||||
version_forestry=4.2.+
|
||||
version_forestry=4.4.0.0
|
||||
version_botania=r1.8-248
|
||||
version_baubles=1.0.1.10
|
||||
version_thaumcraft=4.2.3.5
|
||||
|
||||
@@ -2,6 +2,7 @@ package magicbees.bees;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import forestry.api.core.IClimateProvider;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
import forestry.api.genetics.IMutationCondition;
|
||||
@@ -28,7 +29,7 @@ public class MoonPhaseMutationBonus implements IMutationCondition {
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1) {
|
||||
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) {
|
||||
if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) {
|
||||
return this.mutationBonus;
|
||||
}
|
||||
|
||||
@@ -2,6 +2,7 @@ package magicbees.bees;
|
||||
|
||||
import net.minecraft.world.World;
|
||||
|
||||
import forestry.api.core.IClimateProvider;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
import forestry.api.genetics.IMutationCondition;
|
||||
@@ -24,7 +25,7 @@ public class MoonPhaseMutationRestriction implements IMutationCondition {
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1) {
|
||||
public float getChance(World world, int x, int y, int z, IAllele allele0, IAllele allele1, IGenome genome0, IGenome genome1, IClimateProvider climate) {
|
||||
if (MoonPhase.getMoonPhase(world).isBetween(this.moonPhaseStart, this.moonPhaseEnd)) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user