Basic reformat, hit once, hope never again

This commit is contained in:
thatsIch
2015-04-03 08:54:31 +02:00
parent 4ff1631f89
commit d34c988c88
886 changed files with 31400 additions and 30990 deletions
@@ -18,15 +18,16 @@
package appeng.integration.abstraction;
import net.minecraftforge.common.util.ForgeDirection;
import appeng.util.InventoryAdaptor;
public interface IBetterStorage
{
boolean isStorageCrate(Object te);
InventoryAdaptor getAdaptor(Object te, ForgeDirection d);
boolean isStorageCrate( Object te );
InventoryAdaptor getAdaptor( Object te, ForgeDirection d );
}
@@ -18,11 +18,12 @@
package appeng.integration.abstraction;
import appeng.api.util.AEColor;
public interface ICLApi
{
int colorLight(AEColor color, int light);
int colorLight( AEColor color, int light );
}
@@ -18,15 +18,16 @@
package appeng.integration.abstraction;
import net.minecraft.tileentity.TileEntity;
import appeng.api.storage.IMEInventory;
public interface IDSU
{
IMEInventory getDSU(TileEntity te);
boolean isDSU(TileEntity te);
IMEInventory getDSU( TileEntity te );
boolean isDSU( TileEntity te );
}
@@ -18,6 +18,7 @@
package appeng.integration.abstraction;
import net.minecraft.entity.player.EntityPlayerMP;
import net.minecraft.tileentity.TileEntity;
@@ -26,15 +27,15 @@ import cpw.mods.fml.common.eventhandler.Event;
import appeng.api.parts.IPartHost;
import appeng.parts.CableBusContainer;
public interface IFMP
{
IPartHost getOrCreateHost(TileEntity tile);
IPartHost getOrCreateHost( TileEntity tile );
CableBusContainer getCableContainer(TileEntity te);
CableBusContainer getCableContainer( TileEntity te );
void registerPassThrough(Class<?> layerInterface);
Event newFMPPacketEvent(EntityPlayerMP sender);
void registerPassThrough( Class<?> layerInterface );
Event newFMPPacketEvent( EntityPlayerMP sender );
}
@@ -18,28 +18,29 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import appeng.api.storage.IMEInventory;
public interface IFZ
{
ItemStack barrelGetItem(TileEntity te);
ItemStack barrelGetItem( TileEntity te );
int barrelGetMaxItemCount(TileEntity te);
int barrelGetMaxItemCount( TileEntity te );
int barrelGetItemCount(TileEntity te);
int barrelGetItemCount( TileEntity te );
void setItemType(TileEntity te, ItemStack input);
void setItemType( TileEntity te, ItemStack input );
void barrelSetCount(TileEntity te, int max);
void barrelSetCount( TileEntity te, int max );
IMEInventory getFactorizationBarrel(TileEntity te);
IMEInventory getFactorizationBarrel( TileEntity te );
boolean isBarrel(TileEntity te);
void grinderRecipe(ItemStack is, ItemStack itemStack);
boolean isBarrel( TileEntity te );
void grinderRecipe( ItemStack is, ItemStack itemStack );
}
@@ -18,11 +18,12 @@
package appeng.integration.abstraction;
import appeng.api.features.IItemComparisonProvider;
public interface IForestry
{
IItemComparisonProvider getGeneticsComparisonProvider();
}
@@ -18,15 +18,16 @@
package appeng.integration.abstraction;
import net.minecraft.tileentity.TileEntity;
import appeng.api.storage.IMEInventory;
public interface IGT
{
boolean isQuantumChest(TileEntity te);
IMEInventory getQuantumChest(TileEntity te);
boolean isQuantumChest( TileEntity te );
IMEInventory getQuantumChest( TileEntity te );
}
@@ -18,18 +18,19 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
public interface IIC2
{
void addToEnergyNet(TileEntity appEngTile);
void addToEnergyNet( TileEntity appEngTile );
void removeFromEnergyNet(TileEntity appEngTile);
void removeFromEnergyNet( TileEntity appEngTile );
ItemStack getItem(String string);
void maceratorRecipe(ItemStack in, ItemStack out);
ItemStack getItem( String string );
void maceratorRecipe( ItemStack in, ItemStack out );
}
@@ -18,20 +18,22 @@
package appeng.integration.abstraction;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.tileentity.TileEntity;
import appeng.api.parts.IPartHost;
public interface IImmibisMicroblocks
{
IPartHost getOrCreateHost(EntityPlayer player, int side, TileEntity te);
IPartHost getOrCreateHost( EntityPlayer player, int side, TileEntity te );
/**
* @param te to be left tile entity
*
* @return true if this worked..
*/
boolean leaveParts(TileEntity te);
boolean leaveParts( TileEntity te );
}
@@ -18,11 +18,12 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
public interface IInvTweaks
{
int compareItems(ItemStack i, ItemStack j);
int compareItems( ItemStack i, ItemStack j );
}
@@ -18,6 +18,7 @@
package appeng.integration.abstraction;
import java.util.List;
import net.minecraft.item.ItemStack;
@@ -25,25 +26,25 @@ import net.minecraft.tileentity.TileEntity;
import appeng.api.storage.IMEInventory;
public interface ILP
{
List<ItemStack> getCraftedItems(TileEntity te);
List<ItemStack> getCraftedItems( TileEntity te );
List<ItemStack> getProvidedItems(TileEntity te);
List<ItemStack> getProvidedItems( TileEntity te );
boolean isRequestPipe(TileEntity te);
boolean isRequestPipe( TileEntity te );
List<ItemStack> performRequest(TileEntity te, ItemStack wanted);
List<ItemStack> performRequest( TileEntity te, ItemStack wanted );
IMEInventory getInv(TileEntity te);
IMEInventory getInv( TileEntity te );
Object getGetPowerPipe(TileEntity te);
Object getGetPowerPipe( TileEntity te );
boolean isPowerSource(TileEntity tt);
boolean isPowerSource( TileEntity tt );
boolean canUseEnergy(Object pp, int ceil, List<Object> providersToIgnore);
boolean useEnergy(Object pp, int ceil, List<Object> providersToIgnore);
boolean canUseEnergy( Object pp, int ceil, List<Object> providersToIgnore );
boolean useEnergy( Object pp, int ceil, List<Object> providersToIgnore );
}
@@ -18,13 +18,14 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
public interface IMekanism
{
void addCrusherRecipe(ItemStack in, ItemStack out);
void addEnrichmentChamberRecipe(ItemStack in, ItemStack out);
void addCrusherRecipe( ItemStack in, ItemStack out );
void addEnrichmentChamberRecipe( ItemStack in, ItemStack out );
}
@@ -18,14 +18,15 @@
package appeng.integration.abstraction;
import net.minecraft.client.renderer.entity.RenderItem;
import net.minecraft.inventory.Slot;
public interface INEI
{
void drawSlot(Slot s);
RenderItem setItemRender(RenderItem renderItem);
void drawSlot( Slot s );
RenderItem setItemRender( RenderItem renderItem );
}
@@ -18,13 +18,14 @@
package appeng.integration.abstraction;
import net.minecraft.tileentity.TileEntity;
import appeng.api.util.IOrientable;
public interface IRB
{
IOrientable getOrientable(TileEntity te);
IOrientable getOrientable( TileEntity te );
}
@@ -18,11 +18,12 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
public interface IRC
{
void rockCrusher(ItemStack input, ItemStack output);
void rockCrusher( ItemStack input, ItemStack output );
}
@@ -18,19 +18,20 @@
package appeng.integration.abstraction;
import net.minecraft.item.ItemStack;
import net.minecraft.tileentity.TileEntity;
import net.minecraftforge.common.util.ForgeDirection;
public interface ITE
{
void addPulverizerRecipe(int i, ItemStack blkQuartz, ItemStack blockDust);
void addPulverizerRecipe( int i, ItemStack blkQuartz, ItemStack blockDust );
void addPulverizerRecipe(int i, ItemStack blkQuartzOre, ItemStack matQuartz, ItemStack matQuartzDust);
void addPulverizerRecipe( int i, ItemStack blkQuartzOre, ItemStack matQuartz, ItemStack matQuartzDust );
boolean isPipe(TileEntity te, ForgeDirection opposite);
ItemStack addItemsToPipe(TileEntity ad, ItemStack itemstack, ForgeDirection dir);
boolean isPipe( TileEntity te, ForgeDirection opposite );
ItemStack addItemsToPipe( TileEntity ad, ItemStack itemstack, ForgeDirection dir );
}