mirror of
https://github.com/GTNewHorizons/Binnie.git
synced 2026-11-27 23:46:05 +00:00
Added one Bee
Added the Chad bee Added RestrictedByGroup breeding requirement
This commit is contained in:
1 parent
37bb054dd3
commit
66bb31bfa8
8 files changed
+102
-4
No files matched your search
+34
@@ -0,0 +1,34 @@
|
||||
package binnie.extrabees.genetics.requirements;
|
||||
|
||||
import forestry.api.core.IClimateProvider;
|
||||
import forestry.api.genetics.IAllele;
|
||||
import forestry.api.genetics.IGenome;
|
||||
import forestry.api.genetics.IMutationCondition;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public class DummyMutationConditionGroupPersons implements IMutationCondition {
|
||||
private final RequirementGroupOfPersons requirement;
|
||||
|
||||
public DummyMutationConditionGroupPersons(RequirementGroupOfPersons requirement) {
|
||||
this.requirement = requirement;
|
||||
}
|
||||
|
||||
@Override
|
||||
public float getChance(
|
||||
World world,
|
||||
int x,
|
||||
int y,
|
||||
int z,
|
||||
IAllele allele0,
|
||||
IAllele allele1,
|
||||
IGenome genome0,
|
||||
IGenome genome1,
|
||||
IClimateProvider climate) {
|
||||
return 1.0F;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getDescription() {
|
||||
return requirement.getDescription();
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user