mirror of
https://github.com/GTNewHorizons/TinkersConstruct.git
synced 2026-11-19 03:49:29 +00:00
RF Api the second, also don't strip the methods, derp.
This commit is contained in:
1 parent
0e66235711
commit
506da182eb
1 file changed
+4
-4
@@ -841,7 +841,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
|
||||
|
||||
/* IEnergyContainerItem */
|
||||
@Override
|
||||
@Optional.Method(modid = "CoFHLib")
|
||||
@Optional.Method(modid = "CoFHAPI|energy")
|
||||
public int receiveEnergy (ItemStack container, int maxReceive, boolean simulate)
|
||||
{
|
||||
NBTTagCompound tags = container.getTagCompound();
|
||||
@@ -863,7 +863,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "CoFHLib")
|
||||
@Optional.Method(modid = "CoFHAPI|energy")
|
||||
public int extractEnergy (ItemStack container, int maxExtract, boolean simulate)
|
||||
{
|
||||
NBTTagCompound tags = container.getTagCompound();
|
||||
@@ -886,7 +886,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "CoFHLib")
|
||||
@Optional.Method(modid = "CoFHAPI|energy")
|
||||
public int getEnergyStored (ItemStack container)
|
||||
{
|
||||
NBTTagCompound tags = container.getTagCompound();
|
||||
@@ -898,7 +898,7 @@ public abstract class ToolCore extends Item implements IEnergyContainerItem, IEq
|
||||
}
|
||||
|
||||
@Override
|
||||
@Optional.Method(modid = "CoFHLib")
|
||||
@Optional.Method(modid = "CoFHAPI|energy")
|
||||
public int getMaxEnergyStored (ItemStack container)
|
||||
{
|
||||
NBTTagCompound tags = container.getTagCompound();
|
||||
|
||||
Reference in new issue
Block a user