mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-21 12:42:57 +00:00
Fiery bowstring
A little more of Natura integration, Fiery bowstring fires arrows slightly faster having a slightly slower pull speed, the fiery bowstring is made from fiery string dropped by Heatscar Spiders.
This commit is contained in:
1 parent
6b16b41ffd
commit
d755d526cf
10 files changed
+48
-203
No files matched your search
@@ -2,11 +2,14 @@ package tconstruct.items;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import cpw.mods.fml.common.Loader;
|
||||
|
||||
import tconstruct.common.TContent;
|
||||
import tconstruct.library.util.IToolPart;
|
||||
|
||||
import net.minecraft.creativetab.CreativeTabs;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraftforge.common.MinecraftForge;
|
||||
|
||||
public class Bowstring extends CraftingItem implements IToolPart
|
||||
{
|
||||
@@ -30,9 +33,9 @@ public class Bowstring extends CraftingItem implements IToolPart
|
||||
return names;
|
||||
}
|
||||
|
||||
public static final String[] toolMaterialNames = new String[] { "string", "enchantedfabric" };
|
||||
public static final String[] toolMaterialNames = new String[] { "string", "enchantedfabric", "flamestring" };
|
||||
|
||||
public static final String[] toolTextureNames = new String[] { "string", "magicfabric" };
|
||||
public static final String[] toolTextureNames = new String[] { "string", "magicfabric", "flamestring" };
|
||||
|
||||
@Override
|
||||
public int getMaterialID (ItemStack stack)
|
||||
@@ -45,5 +48,7 @@ public class Bowstring extends CraftingItem implements IToolPart
|
||||
list.add(new ItemStack(id, 1, 0));
|
||||
if (TContent.thaumcraftAvailable)
|
||||
list.add(new ItemStack(id, 1, 1));
|
||||
if (Loader.isModLoaded("Natura"))
|
||||
list.add(new ItemStack(id, 1, 2));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user