This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
2020-03-03 02:43:25 +00:00
|
|
|
package com.thebrokenrail.sorcerycraft.spell;
|
|
|
|
|
2020-03-06 23:35:29 +00:00
|
|
|
import com.thebrokenrail.sorcerycraft.spell.registry.Spell;
|
2020-03-03 02:43:25 +00:00
|
|
|
import net.minecraft.item.ItemStack;
|
|
|
|
import net.minecraft.item.Items;
|
2020-03-03 23:08:22 +00:00
|
|
|
import net.minecraft.util.Identifier;
|
2020-03-03 02:43:25 +00:00
|
|
|
|
|
|
|
public class InwardSpell extends Spell {
|
2020-03-03 23:08:22 +00:00
|
|
|
public InwardSpell(Identifier id, int level) {
|
2020-03-03 02:43:25 +00:00
|
|
|
super(id, level);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getXPCost() {
|
|
|
|
return 16;
|
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public ItemStack getItemCost() {
|
2020-03-03 23:08:22 +00:00
|
|
|
return new ItemStack(Items.ENDER_EYE);
|
2020-03-03 02:43:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public int getMaxLevel() {
|
|
|
|
return 1;
|
|
|
|
}
|
|
|
|
}
|