mirror of
https://github.com/GTNewHorizons/BloodMagic.git
synced 2026-11-25 14:24:37 +00:00
All the items !sigils
This commit is contained in:
1 parent
d88cc2d79e
commit
a2c4f4b965
129 files changed
+587
-1134
No files matched your search
@@ -1,6 +1,5 @@
|
||||
package WayofTime.alchemicalWizardry.common.items;
|
||||
|
||||
import WayofTime.alchemicalWizardry.AlchemicalWizardry;
|
||||
import net.minecraft.entity.player.EntityPlayer;
|
||||
import net.minecraft.item.ItemStack;
|
||||
import net.minecraft.util.StatCollector;
|
||||
@@ -8,7 +7,7 @@ import net.minecraft.world.World;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
public class ScribeTool extends EnergyItems
|
||||
public class ScribeTool extends BindableItems
|
||||
{
|
||||
private int meta;
|
||||
|
||||
@@ -16,7 +15,6 @@ public class ScribeTool extends EnergyItems
|
||||
{
|
||||
super();
|
||||
setMaxStackSize(1);
|
||||
setCreativeTab(AlchemicalWizardry.tabBloodMagic);
|
||||
setMaxDamage(10);
|
||||
setEnergyUsed(10);
|
||||
this.meta = inkType;
|
||||
@@ -36,7 +34,7 @@ public class ScribeTool extends EnergyItems
|
||||
@Override
|
||||
public ItemStack onItemRightClick(ItemStack par1ItemStack, World par2World, EntityPlayer par3EntityPlayer)
|
||||
{
|
||||
if (EnergyItems.checkAndSetItemOwner(par1ItemStack, par3EntityPlayer))
|
||||
if (BindableItems.checkAndSetItemOwner(par1ItemStack, par3EntityPlayer))
|
||||
{
|
||||
if (par1ItemStack.getItemDamage() > 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user