remove unused variable, and added lumen cable.

This commit is contained in:
AlgorithmX2
2014-05-25 17:43:17 -05:00
parent 7b33635c47
commit fa376237fd
11 changed files with 96 additions and 8 deletions
+6
View File
@@ -62,6 +62,12 @@ public class PartCable extends AEBasePart implements IPartCable
return BusSupport.CABLE;
}
@Override
public int getLightLevel()
{
return 11;
}
public IIcon getGlassTexture(AEColor c)
{
switch (c)
+5 -1
View File
@@ -40,8 +40,12 @@ public class PartCableCovered extends PartCable
getHost().markForUpdate();
}
public PartCableCovered(Class c, ItemStack is) {
super( c, is );
}
public PartCableCovered(ItemStack is) {
super( PartCableCovered.class, is );
this( PartCableCovered.class, is );
}
@Override
+5 -1
View File
@@ -5,8 +5,12 @@ import net.minecraft.item.ItemStack;
public class PartCableGlass extends PartCable
{
public PartCableGlass(Class c, ItemStack is) {
super( c, is );
}
public PartCableGlass(ItemStack is) {
super( PartCableGlass.class, is );
this( PartCableGlass.class, is );
}
}
+5 -1
View File
@@ -44,8 +44,12 @@ public class PartCableSmart extends PartCable
getHost().markForUpdate();
}
public PartCableSmart(Class c, ItemStack is) {
super( c, is );
}
public PartCableSmart(ItemStack is) {
super( PartCableSmart.class, is );
this( PartCableSmart.class, is );
}
@Override
+6 -2
View File
@@ -54,11 +54,15 @@ public class PartDenseCable extends PartCable
getHost().markForUpdate();
}
public PartDenseCable(ItemStack is) {
super( PartDenseCable.class, is );
public PartDenseCable(Class c, ItemStack is) {
super( c, is );
proxy.setFlags( GridFlags.TIER_2_CAPACITY );
}
public PartDenseCable(ItemStack is) {
this( PartDenseCable.class, is );
}
@Override
public AECableType getCableConnectionType()
{
@@ -0,0 +1,12 @@
package appeng.parts.networking;
import net.minecraft.item.ItemStack;
public class PartLumenCableCovered extends PartCableCovered
{
public PartLumenCableCovered(ItemStack is) {
super( is );
}
}
+12
View File
@@ -0,0 +1,12 @@
package appeng.parts.networking;
import net.minecraft.item.ItemStack;
public class PartLumenCableGlass extends PartCableGlass
{
public PartLumenCableGlass(ItemStack is) {
super( is );
}
}
+12
View File
@@ -0,0 +1,12 @@
package appeng.parts.networking;
import net.minecraft.item.ItemStack;
public class PartLumenCableSmart extends PartCableSmart
{
public PartLumenCableSmart(ItemStack is) {
super( is );
}
}
+12
View File
@@ -0,0 +1,12 @@
package appeng.parts.networking;
import net.minecraft.item.ItemStack;
public class PartLumenDenseCable extends PartDenseCable
{
public PartLumenDenseCable(ItemStack is) {
super( is );
}
}