Extra Dynamic-Sword-Skills support

This commit is contained in:
Bernhard Bonigl committed 2015-02-12 10:27:08 +01:00
1 parent 48ac94e2cf
commit 4ec647243f
2 files changed
+30 -3

No files matched your search

@@ -0,0 +1,27 @@
/**
Copyright (C) <2015> <coolAlias>
This file is part of coolAlias' Dynamic Sword Skills Minecraft Mod; as such,
you can redistribute it and/or modify it under the terms of the GNU
General Public License as published by the Free Software Foundation,
either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package dynamicswordskills.api;
/**
*
* For the purpose of using certain skills, this item will be considered a sword.
*
* Skills which require a sword are:
* {@link LeapingBlow}, {@link MortalDraw}, and {@link RisingCut}
*
*/
public interface ISword {
}
@@ -13,13 +13,13 @@ import net.minecraft.item.*;
import net.minecraft.world.World;
import net.minecraftforge.event.entity.player.PlayerInteractEvent;
import tconstruct.tools.TinkerTools;
import zeldaswordskills.api.item.ISword;
@Optional.InterfaceList({
@Optional.Interface(modid = "battlegear2", iface = "mods.battlegear2.api.weapons.IBattlegearWeapon"),
@Optional.Interface(modid = "ZeldaItemAPI", iface = "zeldaswordskills.api.item.ISword")
@Optional.Interface(modid = "ZeldaItemAPI", iface = "zeldaswordskills.api.item.ISword"),
@Optional.Interface(modid = "DynamicSkillsAPI", iface = "dynamicswordskills.api.ISword")
})
public abstract class Weapon extends ToolCore implements IBattlegearWeapon, ISword
public abstract class Weapon extends ToolCore implements IBattlegearWeapon, zeldaswordskills.api.item.ISword, dynamicswordskills.api.ISword
{
public Weapon(int baseDamage)