mirror of
https://github.com/GTNewHorizons/MagicBees.git
synced 2026-11-17 11:05:02 +00:00
Fix apiary not retaining AuraCharge state
This commit is contained in:
1 parent
051cc96514
commit
0fd8b319de
9 files changed
+341
-173
No files matched your search
@@ -0,0 +1,4 @@
|
||||
package magicbees.api.bees;
|
||||
|
||||
public interface IAuraChargeType {
|
||||
}
|
||||
@@ -15,23 +15,32 @@ public interface IMagicApiaryAuraProvider {
|
||||
*
|
||||
* @return True if a charge is given; false otherwise.
|
||||
*/
|
||||
public boolean getMutationCharge();
|
||||
|
||||
boolean getMutationCharge();
|
||||
|
||||
/**
|
||||
* Requests a mutation charge from the aura provider. If true is returned, the
|
||||
* aura provider should decrement its internal charge by one. If there are no
|
||||
* charges remaining, it should return false.
|
||||
*
|
||||
*
|
||||
* @return True if a charge is given; false otherwise.
|
||||
*/
|
||||
public boolean getDeathRateCharge();
|
||||
|
||||
boolean getDeathRateCharge();
|
||||
|
||||
/**
|
||||
* Requests a mutation charge from the aura provider. If true is returned, the
|
||||
* aura provider should decrement its internal charge by one. If there are no
|
||||
* charges remaining, it should return false.
|
||||
*
|
||||
*
|
||||
* @return True if a charge is given; false otherwise.
|
||||
*/
|
||||
public boolean getProductionCharge();
|
||||
boolean getProductionCharge();
|
||||
|
||||
/**
|
||||
* Requests a mutation charge from the aura provider. If true is returned, the
|
||||
* aura provider should decrement its internal charge by one. If there are no
|
||||
* charges remaining, it should return false.
|
||||
*
|
||||
* @return True if a charge is given; false otherwise.
|
||||
*/
|
||||
boolean getCharge(IAuraChargeType auraChargeType);
|
||||
}
|
||||
Reference in new issue
Block a user