mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-27 23:33:15 +00:00
Moving some spell classes, moved BloodUtils API stuff for books into main code
This commit is contained in:
1 parent
beea2e875a
commit
8c1396421a
169 files changed
+227
-250
No files matched your search
@@ -0,0 +1,21 @@
|
||||
package WayofTime.alchemicalWizardry.api.spell;
|
||||
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.world.World;
|
||||
|
||||
public abstract class MeleeSpellWorldEffect implements IMeleeSpellWorldEffect
|
||||
{
|
||||
protected int powerUpgrades;
|
||||
protected int potencyUpgrades;
|
||||
protected int costUpgrades;
|
||||
|
||||
public MeleeSpellWorldEffect(int power, int potency, int cost)
|
||||
{
|
||||
this.powerUpgrades = power;
|
||||
this.potencyUpgrades = potency;
|
||||
this.costUpgrades = cost;
|
||||
}
|
||||
|
||||
@Override
|
||||
public abstract void onWorldEffect(World world, EntityPlayer entityPlayer);
|
||||
}
|
||||
Reference in new issue
Block a user