mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-26 23:13:09 +00:00
38 lines
1.1 KiB
Java
38 lines
1.1 KiB
Java
/**
|
|
* This class was created by <Vazkii>. It's distributed as
|
|
* part of the Botania Mod. Get the Source Code in github:
|
|
* https://github.com/Vazkii/Botania
|
|
*
|
|
* Botania is Open Source and distributed under a
|
|
* Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License
|
|
* (http://creativecommons.org/licenses/by-nc-sa/3.0/deed.en_GB)
|
|
*
|
|
* File Created @ [Jan 31, 2014, 3:49:30 PM (GMT)]
|
|
*/
|
|
package vazkii.botania.api.mana;
|
|
|
|
/**
|
|
* The properties of a mana burst, when shot. This is passed to the lens
|
|
* currently on the mana spreader to apply changes.
|
|
*/
|
|
public final class BurstProperties {
|
|
|
|
public int maxMana;
|
|
public int ticksBeforeManaLoss;
|
|
public float manaLossPerTick;
|
|
public float gravity;
|
|
public float motionModifier;
|
|
|
|
public int color;
|
|
|
|
public BurstProperties(int maxMana, int ticksBeforeManaLoss, float manaLossPerTick, float gravity, float motionModifier, int color) {
|
|
this.maxMana = maxMana;
|
|
this.ticksBeforeManaLoss = ticksBeforeManaLoss;
|
|
this.manaLossPerTick = manaLossPerTick;
|
|
this.gravity = gravity;
|
|
this.motionModifier = motionModifier;
|
|
this.color = color;
|
|
}
|
|
|
|
}
|