The Great Renamening of 2020
This commit is contained in:
+3
-3
@@ -30,7 +30,7 @@ import net.minecraft.util.Direction;
|
||||
import appeng.api.AEApi;
|
||||
import appeng.api.config.SecurityPermissions;
|
||||
import appeng.api.definitions.IParts;
|
||||
import appeng.api.implementations.parts.IPartCable;
|
||||
import appeng.api.implementations.parts.ICablePart;
|
||||
import appeng.api.networking.GridFlags;
|
||||
import appeng.api.networking.IGridConnection;
|
||||
import appeng.api.networking.IGridHost;
|
||||
@@ -48,14 +48,14 @@ import appeng.me.GridAccessException;
|
||||
import appeng.parts.AEBasePart;
|
||||
import appeng.util.Platform;
|
||||
|
||||
public class PartCable extends AEBasePart implements IPartCable {
|
||||
public class CablePart extends AEBasePart implements ICablePart {
|
||||
|
||||
private final int[] channelsOnSide = { 0, 0, 0, 0, 0, 0 };
|
||||
|
||||
private EnumSet<AEPartLocation> connections = EnumSet.noneOf(AEPartLocation.class);
|
||||
private boolean powered = false;
|
||||
|
||||
public PartCable(final ItemStack is) {
|
||||
public CablePart(final ItemStack is) {
|
||||
super(is);
|
||||
this.getProxy().setFlags(GridFlags.PREFERRED);
|
||||
this.getProxy().setIdlePowerUsage(0.0);
|
||||
+2
-2
@@ -30,9 +30,9 @@ import appeng.api.util.AEPartLocation;
|
||||
import appeng.helpers.Reflected;
|
||||
import appeng.util.Platform;
|
||||
|
||||
public class PartCableCovered extends PartCable {
|
||||
public class CoveredCablePart extends CablePart {
|
||||
@Reflected
|
||||
public PartCableCovered(final ItemStack is) {
|
||||
public CoveredCablePart(final ItemStack is) {
|
||||
super(is);
|
||||
}
|
||||
|
||||
+2
-2
@@ -22,9 +22,9 @@ import net.minecraft.item.ItemStack;
|
||||
|
||||
import appeng.api.util.AECableType;
|
||||
|
||||
public class PartDenseCableCovered extends PartDenseCable {
|
||||
public class CoveredDenseCablePart extends DenseCablePart {
|
||||
|
||||
public PartDenseCableCovered(ItemStack is) {
|
||||
public CoveredDenseCablePart(ItemStack is) {
|
||||
super(is);
|
||||
}
|
||||
|
||||
+2
-2
@@ -34,9 +34,9 @@ import appeng.api.util.AEPartLocation;
|
||||
import appeng.helpers.Reflected;
|
||||
import appeng.util.Platform;
|
||||
|
||||
public abstract class PartDenseCable extends PartCable {
|
||||
public abstract class DenseCablePart extends CablePart {
|
||||
@Reflected
|
||||
public PartDenseCable(final ItemStack is) {
|
||||
public DenseCablePart(final ItemStack is) {
|
||||
super(is);
|
||||
|
||||
this.getProxy().setFlags(GridFlags.DENSE_CAPACITY, GridFlags.PREFERRED);
|
||||
+2
-2
@@ -22,9 +22,9 @@ import net.minecraft.item.ItemStack;
|
||||
|
||||
import appeng.helpers.Reflected;
|
||||
|
||||
public class PartCableGlass extends PartCable {
|
||||
public class GlassCablePart extends CablePart {
|
||||
@Reflected
|
||||
public PartCableGlass(final ItemStack is) {
|
||||
public GlassCablePart(final ItemStack is) {
|
||||
super(is);
|
||||
}
|
||||
}
|
||||
+2
-2
@@ -46,7 +46,7 @@ import appeng.me.helpers.AENetworkProxy;
|
||||
import appeng.parts.AEBasePart;
|
||||
import appeng.parts.PartModel;
|
||||
|
||||
public class PartQuartzFiber extends AEBasePart implements IEnergyGridProvider {
|
||||
public class QuartzFiberPart extends AEBasePart implements IEnergyGridProvider {
|
||||
|
||||
@PartModels
|
||||
private static final IPartModel MODELS = new PartModel(new ResourceLocation(AppEng.MOD_ID, "part/quartz_fiber"));
|
||||
@@ -54,7 +54,7 @@ public class PartQuartzFiber extends AEBasePart implements IEnergyGridProvider {
|
||||
private final AENetworkProxy outerProxy = new AENetworkProxy(this, "outer",
|
||||
this.getProxy().getMachineRepresentation(), true);
|
||||
|
||||
public PartQuartzFiber(final ItemStack is) {
|
||||
public QuartzFiberPart(final ItemStack is) {
|
||||
super(is);
|
||||
this.getProxy().setIdlePowerUsage(0);
|
||||
this.getProxy().setFlags(GridFlags.CANNOT_CARRY);
|
||||
+2
-2
@@ -30,9 +30,9 @@ import appeng.api.util.AEPartLocation;
|
||||
import appeng.helpers.Reflected;
|
||||
import appeng.util.Platform;
|
||||
|
||||
public class PartCableSmart extends PartCable {
|
||||
public class SmartCablePart extends CablePart {
|
||||
@Reflected
|
||||
public PartCableSmart(final ItemStack is) {
|
||||
public SmartCablePart(final ItemStack is) {
|
||||
super(is);
|
||||
}
|
||||
|
||||
+2
-2
@@ -22,9 +22,9 @@ import net.minecraft.item.ItemStack;
|
||||
|
||||
import appeng.api.util.AECableType;
|
||||
|
||||
public class PartDenseCableSmart extends PartDenseCable {
|
||||
public class SmartDenseCablePart extends DenseCablePart {
|
||||
|
||||
public PartDenseCableSmart(ItemStack is) {
|
||||
public SmartDenseCablePart(ItemStack is) {
|
||||
super(is);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user