remove unused variable, and added lumen cable.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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,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 );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.parts.networking;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class PartLumenCableGlass extends PartCableGlass
|
||||
{
|
||||
|
||||
public PartLumenCableGlass(ItemStack is) {
|
||||
super( is );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.parts.networking;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class PartLumenCableSmart extends PartCableSmart
|
||||
{
|
||||
|
||||
public PartLumenCableSmart(ItemStack is) {
|
||||
super( is );
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
package appeng.parts.networking;
|
||||
|
||||
import net.minecraft.item.ItemStack;
|
||||
|
||||
public class PartLumenDenseCable extends PartDenseCable
|
||||
{
|
||||
|
||||
public PartLumenDenseCable(ItemStack is) {
|
||||
super( is );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user