blob: 32cb7dcd48d1135cddaec52f595a04b09d93b5df (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
|
package binnie.extrabees.apiary;
import binnie.core.machines.Machine;
import binnie.core.machines.MachineComponent;
import forestry.api.apiculture.IBee;
import forestry.api.apiculture.IBeeGenome;
import forestry.api.apiculture.IBeeListener;
import forestry.api.apiculture.IBeeModifier;
import forestry.api.genetics.IIndividual;
import net.minecraft.item.ItemStack;
public class ComponentBeeModifier
extends MachineComponent
implements IBeeModifier, IBeeListener
{
public ComponentBeeModifier(Machine machine)
{
super(machine);
}
public float getTerritoryModifier(IBeeGenome genome, float currentModifier)
{
return 1.0F;
}
public float getMutationModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
{
return 1.0F;
}
public float getLifespanModifier(IBeeGenome genome, IBeeGenome mate, float currentModifier)
{
return 1.0F;
}
public float getProductionModifier(IBeeGenome genome, float currentModifier)
{
return 1.0F;
}
public float getFloweringModifier(IBeeGenome genome, float currentModifier)
{
return 1.0F;
}
public boolean isSealed()
{
return false;
}
public boolean isSelfLighted()
{
return false;
}
public boolean isSunlightSimulated()
{
return false;
}
public boolean isHellish()
{
return false;
}
public void onQueenChange(ItemStack queen) {}
public void wearOutEquipment(int amount) {}
public void onQueenDeath(IBee queen) {}
public void onPostQueenDeath(IBee queen) {}
public boolean onPollenRetrieved(IBee queen, IIndividual pollen, boolean isHandled)
{
return false;
}
public boolean onEggLaid(IBee queen)
{
return false;
}
public float getGeneticDecay(IBeeGenome genome, float currentModifier)
{
return 1.0F;
}
}
|