mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-28 07:56:01 +00:00
35 lines
495 B
Java
35 lines
495 B
Java
package mods.tinker.tconstruct.skill;
|
|
|
|
import net.minecraft.entity.player.EntityPlayer;
|
|
import net.minecraft.world.World;
|
|
|
|
/* Base skill
|
|
*
|
|
*/
|
|
|
|
public abstract class SkillBase
|
|
{
|
|
public abstract String getTextureFile();
|
|
public abstract String getSkillName();
|
|
|
|
public int chargeTime() //Ticks
|
|
{
|
|
return 0;
|
|
}
|
|
|
|
public boolean canPlayerUseSkill()
|
|
{
|
|
return true;
|
|
}
|
|
|
|
public void activateSkill(EntityPlayer player, World world)
|
|
{
|
|
|
|
}
|
|
|
|
public int getSkillCost()
|
|
{
|
|
return 0;
|
|
}
|
|
}
|