Typo IPartCollsionHelper

This commit is contained in:
thatsIch 2014-09-20 22:20:53 +02:00
parent e8d1ddb357
commit d5223e56ea
23 changed files with 50 additions and 50 deletions

View file

@ -9,7 +9,7 @@ import net.minecraft.util.IIcon;
import net.minecraftforge.common.util.ForgeDirection; import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.AEApi; import appeng.api.AEApi;
import appeng.api.parts.IBoxProvider; import appeng.api.parts.IBoxProvider;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.parts.ISimplifiedBundle; import appeng.api.parts.ISimplifiedBundle;
import appeng.block.AEBaseBlock; import appeng.block.AEBaseBlock;
@ -41,7 +41,7 @@ public class BusRenderHelper implements IPartRenderHelper
int color = 0xffffff; int color = 0xffffff;
class BoundBoxCalculator implements IPartCollsionHelper class BoundBoxCalculator implements IPartCollisionHelper
{ {
public boolean started = false; public boolean started = false;

View file

@ -13,7 +13,7 @@ import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.networking.IGridHost; import appeng.api.networking.IGridHost;
import appeng.api.parts.IBoxProvider; import appeng.api.parts.IBoxProvider;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.util.IOrientable; import appeng.api.util.IOrientable;
import appeng.block.AEBaseBlock; import appeng.block.AEBaseBlock;
@ -251,7 +251,7 @@ public class RenderBlockAssembler extends BaseBlockRender implements IBoxProvide
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 0, 0, 0, 16, 16, 16 ); bch.addBox( 0, 0, 0, 16, 16, 16 );
} }

View file

@ -22,7 +22,7 @@ import appeng.api.AEApi;
import appeng.api.parts.IBoxProvider; import appeng.api.parts.IBoxProvider;
import appeng.api.parts.IFacadeContainer; import appeng.api.parts.IFacadeContainer;
import appeng.api.parts.IFacadePart; import appeng.api.parts.IFacadePart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.parts.ISimplifiedBundle; import appeng.api.parts.ISimplifiedBundle;
@ -61,7 +61,7 @@ public class FacadePart implements IFacadePart, IBoxProvider
} }
@Override @Override
public void getBoxes(IPartCollsionHelper ch, Entity e) public void getBoxes(IPartCollisionHelper ch, Entity e)
{ {
if ( e instanceof EntityLivingBase ) if ( e instanceof EntityLivingBase )
{ {
@ -76,7 +76,7 @@ public class FacadePart implements IFacadePart, IBoxProvider
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
getBoxes( bch, null ); getBoxes( bch, null );

View file

@ -24,7 +24,7 @@ import appeng.api.networking.IGridNode;
import appeng.api.parts.IFacadeContainer; import appeng.api.parts.IFacadeContainer;
import appeng.api.parts.IFacadePart; import appeng.api.parts.IFacadePart;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartItem; import appeng.api.parts.IPartItem;
import appeng.api.parts.LayerFlags; import appeng.api.parts.LayerFlags;
@ -315,7 +315,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
if ( !(side == null || side == ForgeDirection.UNKNOWN || tile() == null) ) if ( !(side == null || side == ForgeDirection.UNKNOWN || tile() == null) )
{ {
List<AxisAlignedBB> boxes = new ArrayList(); List<AxisAlignedBB> boxes = new ArrayList();
IPartCollsionHelper bch = new BusCollisionHelper( boxes, side, null, true ); IPartCollisionHelper bch = new BusCollisionHelper( boxes, side, null, true );
fp.getBoxes( bch, null ); fp.getBoxes( bch, null );
for (AxisAlignedBB bb : boxes) for (AxisAlignedBB bb : boxes)
{ {
@ -342,7 +342,7 @@ public class CableBusPart extends JCuboidPart implements JNormalOcclusion, IReds
if ( !(side == null || side == ForgeDirection.UNKNOWN || tile() == null) ) if ( !(side == null || side == ForgeDirection.UNKNOWN || tile() == null) )
{ {
List<AxisAlignedBB> boxes = new ArrayList(); List<AxisAlignedBB> boxes = new ArrayList();
IPartCollsionHelper bch = new BusCollisionHelper( boxes, side, null, true ); IPartCollisionHelper bch = new BusCollisionHelper( boxes, side, null, true );
bp.getBoxes( bch ); bp.getBoxes( bch );
for (AxisAlignedBB bb : boxes) for (AxisAlignedBB bb : boxes)
{ {

View file

@ -31,7 +31,7 @@ import appeng.api.networking.IGridNode;
import appeng.api.networking.security.IActionHost; import appeng.api.networking.security.IActionHost;
import appeng.api.parts.BusSupport; import appeng.api.parts.BusSupport;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.parts.ISimplifiedBundle; import appeng.api.parts.ISimplifiedBundle;
@ -225,7 +225,7 @@ public class AEBasePart implements IPart, IGridProxyable, IActionHost, IUpgradea
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
} }

View file

@ -5,9 +5,9 @@ import java.util.List;
import net.minecraft.entity.Entity; import net.minecraft.entity.Entity;
import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.AxisAlignedBB;
import net.minecraftforge.common.util.ForgeDirection; import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
public class BusCollisionHelper implements IPartCollsionHelper public class BusCollisionHelper implements IPartCollisionHelper
{ {
final List<AxisAlignedBB> boxes; final List<AxisAlignedBB> boxes;

View file

@ -29,7 +29,7 @@ import appeng.api.networking.IGridNode;
import appeng.api.parts.IFacadeContainer; import appeng.api.parts.IFacadeContainer;
import appeng.api.parts.IFacadePart; import appeng.api.parts.IFacadePart;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartItem; import appeng.api.parts.IPartItem;
import appeng.api.parts.LayerFlags; import appeng.api.parts.LayerFlags;
@ -438,7 +438,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
IFacadeContainer fc = getFacadeContainer(); IFacadeContainer fc = getFacadeContainer();
for (ForgeDirection s : ForgeDirection.values()) for (ForgeDirection s : ForgeDirection.values())
{ {
IPartCollsionHelper bch = new BusCollisionHelper( boxes, s, e, visual ); IPartCollisionHelper bch = new BusCollisionHelper( boxes, s, e, visual );
IPart part = getPart( s ); IPart part = getPart( s );
if ( part != null ) if ( part != null )
@ -863,7 +863,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
{ {
List<AxisAlignedBB> boxes = new LinkedList<AxisAlignedBB>(); List<AxisAlignedBB> boxes = new LinkedList<AxisAlignedBB>();
IPartCollsionHelper bch = new BusCollisionHelper( boxes, side, null, true ); IPartCollisionHelper bch = new BusCollisionHelper( boxes, side, null, true );
p.getBoxes( bch ); p.getBoxes( bch );
for (AxisAlignedBB bb : boxes) for (AxisAlignedBB bb : boxes)
{ {
@ -886,7 +886,7 @@ public class CableBusContainer extends CableBusStorage implements AEMultiTile, I
{ {
List<AxisAlignedBB> boxes = new LinkedList<AxisAlignedBB>(); List<AxisAlignedBB> boxes = new LinkedList<AxisAlignedBB>();
IPartCollsionHelper bch = new BusCollisionHelper( boxes, side, null, true ); IPartCollisionHelper bch = new BusCollisionHelper( boxes, side, null, true );
p.getBoxes( bch, null ); p.getBoxes( bch, null );
for (AxisAlignedBB bb : boxes) for (AxisAlignedBB bb : boxes)
{ {

View file

@ -31,7 +31,7 @@ import appeng.api.networking.ticking.IGridTickable;
import appeng.api.networking.ticking.TickRateModulation; import appeng.api.networking.ticking.TickRateModulation;
import appeng.api.networking.ticking.TickingRequest; import appeng.api.networking.ticking.TickingRequest;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.data.IAEItemStack; import appeng.api.storage.data.IAEItemStack;
@ -127,7 +127,7 @@ public class PartAnnihilationPlane extends PartBasicState implements IGridTickab
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
int minX = 1; int minX = 1;
int minY = 1; int minY = 1;

View file

@ -22,7 +22,7 @@ import appeng.api.networking.security.MachineSource;
import appeng.api.networking.ticking.IGridTickable; import appeng.api.networking.ticking.IGridTickable;
import appeng.api.networking.ticking.TickRateModulation; import appeng.api.networking.ticking.TickRateModulation;
import appeng.api.networking.ticking.TickingRequest; import appeng.api.networking.ticking.TickingRequest;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEInventory;
import appeng.api.storage.IMEMonitor; import appeng.api.storage.IMEMonitor;
@ -138,7 +138,7 @@ public class PartExportBus extends PartSharedItemBus implements IGridTickable, I
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 4, 4, 12, 12, 12, 14 ); bch.addBox( 4, 4, 12, 12, 12, 14 );
bch.addBox( 5, 5, 14, 11, 11, 15 ); bch.addBox( 5, 5, 14, 11, 11, 15 );

View file

@ -35,7 +35,7 @@ import appeng.api.networking.events.MENetworkEventSubscribe;
import appeng.api.networking.events.MENetworkPowerStatusChange; import appeng.api.networking.events.MENetworkPowerStatusChange;
import appeng.api.networking.security.BaseActionSource; import appeng.api.networking.security.BaseActionSource;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartItem; import appeng.api.parts.IPartItem;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
@ -200,7 +200,7 @@ public class PartFormationPlane extends PartUpgradeable implements ICellContaine
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
int minX = 1; int minX = 1;
int minY = 1; int minY = 1;

View file

@ -19,7 +19,7 @@ import appeng.api.networking.security.MachineSource;
import appeng.api.networking.ticking.IGridTickable; import appeng.api.networking.ticking.IGridTickable;
import appeng.api.networking.ticking.TickRateModulation; import appeng.api.networking.ticking.TickRateModulation;
import appeng.api.networking.ticking.TickingRequest; import appeng.api.networking.ticking.TickingRequest;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.IMEInventory; import appeng.api.storage.IMEInventory;
import appeng.api.storage.IMEMonitor; import appeng.api.storage.IMEMonitor;
@ -125,7 +125,7 @@ public class PartImportBus extends PartSharedItemBus implements IGridTickable, I
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 6, 6, 11, 10, 10, 13 ); bch.addBox( 6, 6, 11, 10, 10, 13 );
bch.addBox( 5, 5, 13, 11, 11, 14 ); bch.addBox( 5, 5, 13, 11, 11, 14 );

View file

@ -38,7 +38,7 @@ import appeng.api.networking.security.BaseActionSource;
import appeng.api.networking.storage.IBaseMonitor; import appeng.api.networking.storage.IBaseMonitor;
import appeng.api.networking.storage.IStackWatcher; import appeng.api.networking.storage.IStackWatcher;
import appeng.api.networking.storage.IStackWatcherHost; import appeng.api.networking.storage.IStackWatcherHost;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.IMEMonitor; import appeng.api.storage.IMEMonitor;
import appeng.api.storage.IMEMonitorHandlerReceiver; import appeng.api.storage.IMEMonitorHandlerReceiver;
@ -602,7 +602,7 @@ public class PartLevelEmitter extends PartUpgradeable implements IEnergyWatcherH
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 7, 7, 11, 9, 9, 16 ); bch.addBox( 7, 7, 11, 9, 9, 16 );
} }

View file

@ -20,7 +20,7 @@ import net.minecraftforge.common.util.ForgeDirection;
import appeng.api.networking.IGridNode; import appeng.api.networking.IGridNode;
import appeng.api.parts.BusSupport; import appeng.api.parts.BusSupport;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.parts.ISimplifiedBundle; import appeng.api.parts.ISimplifiedBundle;
@ -73,7 +73,7 @@ public class PartCableAnchor implements IPart
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
if ( host != null && host.getFacadeContainer().getFacade( mySide ) != null ) if ( host != null && host.getFacadeContainer().getFacade( mySide ) != null )
bch.addBox( 7, 7, 10, 9, 9, 14 ); bch.addBox( 7, 7, 10, 9, 9, 14 );

View file

@ -29,7 +29,7 @@ import appeng.api.networking.security.BaseActionSource;
import appeng.api.networking.ticking.IGridTickable; import appeng.api.networking.ticking.IGridTickable;
import appeng.api.networking.ticking.TickRateModulation; import appeng.api.networking.ticking.TickRateModulation;
import appeng.api.networking.ticking.TickingRequest; import appeng.api.networking.ticking.TickingRequest;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.IMEMonitor; import appeng.api.storage.IMEMonitor;
import appeng.api.storage.IStorageMonitorable; import appeng.api.storage.IStorageMonitorable;
@ -158,7 +158,7 @@ public class PartInterface extends PartBasicState implements IGridTickable, ISeg
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 2, 2, 14, 14, 14, 16 ); bch.addBox( 2, 2, 14, 14, 14, 16 );
bch.addBox( 5, 5, 12, 11, 11, 14 ); bch.addBox( 5, 5, 12, 11, 11, 14 );

View file

@ -30,7 +30,7 @@ import appeng.api.networking.ticking.IGridTickable;
import appeng.api.networking.ticking.ITickManager; import appeng.api.networking.ticking.ITickManager;
import appeng.api.networking.ticking.TickRateModulation; import appeng.api.networking.ticking.TickRateModulation;
import appeng.api.networking.ticking.TickingRequest; import appeng.api.networking.ticking.TickingRequest;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.storage.ICellContainer; import appeng.api.storage.ICellContainer;
@ -407,7 +407,7 @@ public class PartStorageBus extends PartUpgradeable implements IGridTickable, IC
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 3, 3, 15, 13, 13, 16 ); bch.addBox( 3, 3, 15, 13, 13, 16 );
bch.addBox( 2, 2, 14, 14, 14, 15 ); bch.addBox( 2, 2, 14, 14, 14, 15 );

View file

@ -18,7 +18,7 @@ import appeng.api.AEApi;
import appeng.api.exceptions.FailedConnection; import appeng.api.exceptions.FailedConnection;
import appeng.api.networking.IGridConnection; import appeng.api.networking.IGridConnection;
import appeng.api.networking.IGridNode; import appeng.api.networking.IGridNode;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -195,7 +195,7 @@ public class PartToggleBus extends PartBasicState
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 6, 6, 11, 10, 10, 16 ); bch.addBox( 6, 6, 11, 10, 10, 16 );
} }

View file

@ -25,7 +25,7 @@ import appeng.api.networking.IGridHost;
import appeng.api.networking.IGridNode; import appeng.api.networking.IGridNode;
import appeng.api.parts.BusSupport; import appeng.api.parts.BusSupport;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -346,7 +346,7 @@ public class PartCable extends AEBasePart implements IPartCable
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 6.0, 6.0, 6.0, 10.0, 10.0, 10.0 ); bch.addBox( 6.0, 6.0, 6.0, 10.0, 10.0, 10.0 );

View file

@ -15,7 +15,7 @@ import appeng.api.networking.events.MENetworkChannelsChanged;
import appeng.api.networking.events.MENetworkEventSubscribe; import appeng.api.networking.events.MENetworkEventSubscribe;
import appeng.api.networking.events.MENetworkPowerStatusChange; import appeng.api.networking.events.MENetworkPowerStatusChange;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -61,7 +61,7 @@ public class PartCableCovered extends PartCable
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 5.0, 5.0, 5.0, 11.0, 11.0, 11.0 ); bch.addBox( 5.0, 5.0, 5.0, 11.0, 11.0, 11.0 );

View file

@ -16,7 +16,7 @@ import appeng.api.networking.events.MENetworkChannelsChanged;
import appeng.api.networking.events.MENetworkEventSubscribe; import appeng.api.networking.events.MENetworkEventSubscribe;
import appeng.api.networking.events.MENetworkPowerStatusChange; import appeng.api.networking.events.MENetworkPowerStatusChange;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -115,7 +115,7 @@ public class PartCableSmart extends PartCable
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 5.0, 5.0, 5.0, 11.0, 11.0, 11.0 ); bch.addBox( 5.0, 5.0, 5.0, 11.0, 11.0, 11.0 );

View file

@ -19,7 +19,7 @@ import appeng.api.networking.events.MENetworkChannelsChanged;
import appeng.api.networking.events.MENetworkEventSubscribe; import appeng.api.networking.events.MENetworkEventSubscribe;
import appeng.api.networking.events.MENetworkPowerStatusChange; import appeng.api.networking.events.MENetworkPowerStatusChange;
import appeng.api.parts.BusSupport; import appeng.api.parts.BusSupport;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -127,7 +127,7 @@ public class PartDenseCable extends PartCable
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
boolean noLadder = !bch.isBBCollision(); boolean noLadder = !bch.isBBCollision();
double min = noLadder ? 3.0 : 4.9; double min = noLadder ? 3.0 : 4.9;

View file

@ -18,7 +18,7 @@ import appeng.api.networking.GridFlags;
import appeng.api.networking.IGridNode; import appeng.api.networking.IGridNode;
import appeng.api.networking.energy.IEnergyGrid; import appeng.api.networking.energy.IEnergyGrid;
import appeng.api.networking.energy.IEnergyGridProvider; import appeng.api.networking.energy.IEnergyGridProvider;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartHost; import appeng.api.parts.IPartHost;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.util.AECableType; import appeng.api.util.AECableType;
@ -107,7 +107,7 @@ public class PartQuartzFiber extends AEBasePart implements IEnergyGridProvider
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 6, 6, 10, 10, 10, 16 ); bch.addBox( 6, 6, 10, 10, 10, 16 );
} }

View file

@ -18,7 +18,7 @@ import appeng.api.config.TunnelType;
import appeng.api.implementations.items.IMemoryCard; import appeng.api.implementations.items.IMemoryCard;
import appeng.api.implementations.items.MemoryCardMessages; import appeng.api.implementations.items.MemoryCardMessages;
import appeng.api.parts.IPart; import appeng.api.parts.IPart;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartItem; import appeng.api.parts.IPartItem;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.api.parts.PartItemStack; import appeng.api.parts.PartItemStack;
@ -373,7 +373,7 @@ public class PartP2PTunnel<T extends PartP2PTunnel> extends PartBasicState
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 5, 5, 12, 11, 11, 13 ); bch.addBox( 5, 5, 12, 11, 11, 13 );
bch.addBox( 3, 3, 13, 13, 13, 14 ); bch.addBox( 3, 3, 13, 13, 13, 14 );

View file

@ -19,7 +19,7 @@ import appeng.api.networking.GridFlags;
import appeng.api.networking.events.MENetworkBootingStatusChange; import appeng.api.networking.events.MENetworkBootingStatusChange;
import appeng.api.networking.events.MENetworkEventSubscribe; import appeng.api.networking.events.MENetworkEventSubscribe;
import appeng.api.networking.events.MENetworkPowerStatusChange; import appeng.api.networking.events.MENetworkPowerStatusChange;
import appeng.api.parts.IPartCollsionHelper; import appeng.api.parts.IPartCollisionHelper;
import appeng.api.parts.IPartRenderHelper; import appeng.api.parts.IPartRenderHelper;
import appeng.client.texture.CableBusTextures; import appeng.client.texture.CableBusTextures;
import appeng.me.GridAccessException; import appeng.me.GridAccessException;
@ -316,7 +316,7 @@ public class PartMonitor extends AEBasePart implements IPartMonitor, IPowerChann
} }
@Override @Override
public void getBoxes(IPartCollsionHelper bch) public void getBoxes(IPartCollisionHelper bch)
{ {
bch.addBox( 2, 2, 14, 14, 14, 16 ); bch.addBox( 2, 2, 14, 14, 14, 16 );
bch.addBox( 4, 4, 13, 12, 12, 14 ); bch.addBox( 4, 4, 13, 12, 12, 14 );