Formatted code
This commit is contained in:
@@ -39,7 +39,7 @@ public class BlockCubeGenerator extends AEBaseTileBlock
|
||||
this.setTileEntity( TileCubeGenerator.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onActivated(
|
||||
final World w,
|
||||
@@ -58,5 +58,5 @@ public class BlockCubeGenerator extends AEBaseTileBlock
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -35,5 +35,5 @@ public class BlockItemGen extends AEBaseTileBlock
|
||||
this.setTileEntity( TileItemGen.class );
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
@@ -131,16 +131,16 @@ public class TileItemGen extends AEBaseTile implements IInventory
|
||||
public void openInventory(
|
||||
final EntityPlayer player )
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public void closeInventory(
|
||||
final EntityPlayer player )
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean isItemValidForSlot( final int i, final ItemStack itemstack )
|
||||
{
|
||||
@@ -165,7 +165,7 @@ public class TileItemGen extends AEBaseTile implements IInventory
|
||||
final int id,
|
||||
final int value )
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -177,6 +177,6 @@ public class TileItemGen extends AEBaseTile implements IInventory
|
||||
@Override
|
||||
public void clear()
|
||||
{
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@@ -44,7 +44,7 @@ public class ToolEraser extends AEBaseItem
|
||||
{
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onItemUseFirst(
|
||||
final ItemStack stack,
|
||||
|
||||
@@ -58,7 +58,7 @@ public class ToolMeteoritePlacer extends AEBaseItem
|
||||
}
|
||||
|
||||
final MeteoritePlacer mp = new MeteoritePlacer();
|
||||
final boolean worked = mp.spawnMeteorite( new StandardWorld( world ), pos.getX(),pos.getY(),pos.getZ() );
|
||||
final boolean worked = mp.spawnMeteorite( new StandardWorld( world ), pos.getX(), pos.getY(), pos.getZ() );
|
||||
|
||||
if( !worked )
|
||||
{
|
||||
|
||||
@@ -50,7 +50,7 @@ public class ToolReplicatorCard extends AEBaseItem
|
||||
{
|
||||
this.setFeature( EnumSet.of( AEFeature.UnsupportedDeveloperTools, AEFeature.Creative ) );
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public boolean onItemUseFirst(
|
||||
final ItemStack stack,
|
||||
@@ -70,7 +70,7 @@ public class ToolReplicatorCard extends AEBaseItem
|
||||
int x = pos.getX();
|
||||
int y = pos.getY();
|
||||
int z = pos.getZ();
|
||||
|
||||
|
||||
if( player.isSneaking() )
|
||||
{
|
||||
if( world.getTileEntity( pos ) instanceof IGridHost )
|
||||
@@ -140,11 +140,11 @@ public class ToolReplicatorCard extends AEBaseItem
|
||||
{
|
||||
for( int k = 1; k < scale_z; k++ )
|
||||
{
|
||||
final BlockPos p = new BlockPos( min_x + i, min_y + j, min_z + k );
|
||||
final BlockPos p = new BlockPos( min_x + i, min_y + j, min_z + k );
|
||||
final BlockPos d = new BlockPos( i + rel_x, j + rel_y, k + rel_z );
|
||||
final IBlockState state = src_w.getBlockState( p );
|
||||
final Block blk = state.getBlock();
|
||||
|
||||
|
||||
world.setBlockState( d, state );
|
||||
if( blk != null && blk.hasTileEntity( state ) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user