Removed Block Definitions for MAC Parts.
Removed Options For MAC and Crafting. Added Options for Crafting with Quartz Growth and Fluix Reaction. EU Tunnels Re-Added ( Limit 1 per block. ) Adjusted naming/categorization of various features. Added "sparkle" effect to seeds that are "growing"
This commit is contained in:
@@ -9,6 +9,7 @@ import net.minecraft.tileentity.TileEntity;
|
||||
import net.minecraft.util.IIcon;
|
||||
import net.minecraftforge.common.util.ForgeDirection;
|
||||
import appeng.api.config.TunnelType;
|
||||
import appeng.core.AELog;
|
||||
import appeng.me.GridAccessException;
|
||||
import appeng.me.cache.helpers.TunnelCollection;
|
||||
import appeng.util.Platform;
|
||||
@@ -107,7 +108,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
||||
@Override
|
||||
public double injectEnergyUnits(ForgeDirection directionFrom, double amount)
|
||||
{
|
||||
|
||||
AELog.info( "INJECT: " + amount );
|
||||
TunnelCollection<PartP2PIC2Power> outs;
|
||||
try
|
||||
{
|
||||
@@ -147,6 +148,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
||||
@Override
|
||||
public double getOfferedEnergy()
|
||||
{
|
||||
AELog.info( "getOfferedEnergy: " + OutputPacket );
|
||||
if ( output )
|
||||
return OutputPacket;
|
||||
return 0;
|
||||
@@ -155,6 +157,7 @@ public class PartP2PIC2Power extends PartP2PTunnel<PartP2PIC2Power> implements i
|
||||
@Override
|
||||
public void drawEnergy(double amount)
|
||||
{
|
||||
AELog.info( "drawEnergy: " + amount );
|
||||
OutputPacket -= amount;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void writeToNBT(NBTTagCompound data)
|
||||
{
|
||||
@@ -225,7 +225,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
|
||||
|
||||
public ItemStack getItemStack(PartItemStack type)
|
||||
{
|
||||
if ( type == PartItemStack.World || type == PartItemStack.Network || type == PartItemStack.Wrench )
|
||||
if ( type == PartItemStack.World || type == PartItemStack.Network || type == PartItemStack.Wrench || type == PartItemStack.Pick )
|
||||
return super.getItemStack( type );
|
||||
|
||||
return AEApi.instance().parts().partP2PTunnelME.stack( 1 );
|
||||
|
||||
Reference in New Issue
Block a user