Formatted code

This commit is contained in:
yueh
2015-12-24 02:03:16 +01:00
parent e94a0cfccf
commit c9e8a6e939
216 changed files with 1196 additions and 1187 deletions
@@ -109,4 +109,4 @@ package appeng.util.inv;
// {
// return new NullIterator<ItemSlot>();
// }
//}
// }
@@ -253,7 +253,7 @@ public class AdaptorIInventory extends InventoryAdaptor
* than the limit.
*
* @param itemsToAdd itemStack to add to the inventory
* @param modulate true to modulate, false for simulate
* @param modulate true to modulate, false for simulate
*
* @return the left itemstack, which could not be added
*/
@@ -74,13 +74,13 @@ public class AdaptorPlayerInventory implements IInventory
{
this.src.setInventorySlotContents( var1 + this.min, var2 );
}
@Override
public IChatComponent getDisplayName()
{
return this.src.getDisplayName();
}
@Override
public boolean hasCustomName()
{
@@ -104,19 +104,20 @@ public class AdaptorPlayerInventory implements IInventory
{
return this.src.isUseableByPlayer( var1 );
}
@Override
public void openInventory(
final EntityPlayer player )
{
this.src.openInventory(player);
this.src.openInventory( player );
}
@Override
public void closeInventory(
final EntityPlayer player )
{
this.src.closeInventory(player);
this.src.closeInventory( player );
}
@Override
@@ -206,13 +206,13 @@ public class WrapperChainedInventory implements IInventory
{
return false;
}
@Override
public void openInventory(
final EntityPlayer player )
{
}
@Override
public void closeInventory(
final EntityPlayer player )
@@ -256,7 +256,7 @@ public class WrapperChainedInventory implements IInventory
final int id,
final int value )
{
}
@Override
@@ -268,6 +268,6 @@ public class WrapperChainedInventory implements IInventory
@Override
public void clear()
{
}
}
@@ -121,14 +121,14 @@ public class WrapperInvSlot
public void openInventory(
final EntityPlayer player )
{
this.inv.openInventory(player);
this.inv.openInventory( player );
}
@Override
public void closeInventory(
final EntityPlayer player )
{
this.inv.closeInventory(player);
this.inv.closeInventory( player );
}
@Override
@@ -136,20 +136,20 @@ public class WrapperInvSlot
{
this.inv.clear();
}
@Override
public int getField(
final int id )
{
return this.inv.getField( id );
}
@Override
public int getFieldCount()
{
return this.inv.getFieldCount();
}
@Override
public boolean isItemValidForSlot( final int i, final ItemStack itemstack )
{
@@ -138,14 +138,14 @@ public class WrapperInventoryRange implements IInventory
public void openInventory(
final EntityPlayer player )
{
this.src.openInventory(player);
this.src.openInventory( player );
}
@Override
public void closeInventory(
final EntityPlayer player )
{
this.src.closeInventory(player);
this.src.closeInventory( player );
}
@Override
@@ -153,14 +153,14 @@ public class WrapperInventoryRange implements IInventory
{
this.src.clear();
}
@Override
public int getField(
final int id )
{
return this.src.getField( id );
}
@Override
public int getFieldCount()
{
@@ -180,6 +180,7 @@ public class WrapperInventoryRange implements IInventory
{
this.src.setField( id, value );
}
@Override
public boolean isItemValidForSlot( final int i, final ItemStack itemstack )
{
@@ -108,4 +108,4 @@ package appeng.util.inv;
// {
// return false;
// }
//}
// }